Commit 8ab12abd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve visual appearance

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 187117f2
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
%div{ class: container_class } %div{ class: container_class }
- if @license - if @license
= render "admin/licenses/breakdown", license: @license = render "admin/licenses/breakdown", license: @license
= render "admin/dashboard/roles_stats"
.admin-dashboard.prepend-top-default .admin-dashboard.prepend-top-default
.row .row
...@@ -25,6 +24,7 @@ ...@@ -25,6 +24,7 @@
Users: Users:
= number_with_delimiter(User.count) = number_with_delimiter(User.count)
%hr %hr
= render "admin/dashboard/roles_stats"
= link_to 'New user', new_admin_user_path, class: "btn btn-new" = link_to 'New user', new_admin_user_path, class: "btn btn-new"
.col-sm-4 .col-sm-4
.info-well.dark-well .info-well.dark-well
......
%div %div
%p Admin users: #{@admin_count} %p
Admin users
%span.light.pull-right
= @admin_count
- @roles_count.each do |row| - @roles_count.reverse_each do |row|
%p %p
Users with max #{row['kind']} access level: Users with highest role
%strong %strong #{row['kind']}
%span.light.pull-right
= row['amount'] = row['amount']
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment