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 @@
%div{ class: container_class }
- if @license
= render "admin/licenses/breakdown", license: @license
= render "admin/dashboard/roles_stats"
.admin-dashboard.prepend-top-default
.row
......@@ -25,6 +24,7 @@
Users:
= number_with_delimiter(User.count)
%hr
= render "admin/dashboard/roles_stats"
= link_to 'New user', new_admin_user_path, class: "btn btn-new"
.col-sm-4
.info-well.dark-well
......
%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
Users with max #{row['kind']} access level:
%strong
Users with highest role
%strong #{row['kind']}
%span.light.pull-right
= 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