Commit 5c67c88731b4e53325a5c6efdcc36f08d405bbdb
1 parent
b65a0461
Exists in
master
and in
4 other branches
Improve admin dashboard UX
Showing
1 changed file
with
18 additions
and
13 deletions
Show diff stats
app/views/admin/dashboard/index.html.haml
| 1 | +%h3.page-title | ||
| 2 | + Admin area | ||
| 3 | +%p.light | ||
| 4 | + You can manage projects, users and other GitLab data from here. | ||
| 5 | +%hr | ||
| 1 | .admin_dash.row | 6 | .admin_dash.row |
| 2 | .span4 | 7 | .span4 |
| 3 | - .ui-box | ||
| 4 | - .title Projects | ||
| 5 | - .data.padded | 8 | + .light-well |
| 9 | + %h4 Projects | ||
| 10 | + .data | ||
| 6 | = link_to admin_projects_path do | 11 | = link_to admin_projects_path do |
| 7 | %h1= Project.count | 12 | %h1= Project.count |
| 8 | %hr | 13 | %hr |
| 9 | - = link_to 'New Project', new_project_path, class: "btn btn-small" | 14 | + = link_to 'New Project', new_project_path, class: "btn btn-new" |
| 10 | .span4 | 15 | .span4 |
| 11 | - .ui-box | ||
| 12 | - .title Users | ||
| 13 | - .data.padded | 16 | + .light-well |
| 17 | + %h4 Users | ||
| 18 | + .data | ||
| 14 | = link_to admin_users_path do | 19 | = link_to admin_users_path do |
| 15 | %h1= User.count | 20 | %h1= User.count |
| 16 | %hr | 21 | %hr |
| 17 | - = link_to 'New User', new_admin_user_path, class: "btn btn-small" | 22 | + = link_to 'New User', new_admin_user_path, class: "btn btn-new" |
| 18 | .span4 | 23 | .span4 |
| 19 | - .ui-box | ||
| 20 | - .title Groups | ||
| 21 | - .data.padded | 24 | + .light-well |
| 25 | + %h4 Groups | ||
| 26 | + .data | ||
| 22 | = link_to admin_groups_path do | 27 | = link_to admin_groups_path do |
| 23 | %h1= Group.count | 28 | %h1= Group.count |
| 24 | %hr | 29 | %hr |
| 25 | - = link_to 'New Group', new_admin_group_path, class: "btn btn-small" | 30 | + = link_to 'New Group', new_admin_group_path, class: "btn btn-new" |
| 26 | 31 | ||
| 27 | -.row | 32 | +.row.prepend-top-10 |
| 28 | .span4 | 33 | .span4 |
| 29 | %h4 Latest projects | 34 | %h4 Latest projects |
| 30 | %hr | 35 | %hr |