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 | 6 | .admin_dash.row |
| 2 | 7 | .span4 |
| 3 | - .ui-box | |
| 4 | - .title Projects | |
| 5 | - .data.padded | |
| 8 | + .light-well | |
| 9 | + %h4 Projects | |
| 10 | + .data | |
| 6 | 11 | = link_to admin_projects_path do |
| 7 | 12 | %h1= Project.count |
| 8 | 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 | 15 | .span4 |
| 11 | - .ui-box | |
| 12 | - .title Users | |
| 13 | - .data.padded | |
| 16 | + .light-well | |
| 17 | + %h4 Users | |
| 18 | + .data | |
| 14 | 19 | = link_to admin_users_path do |
| 15 | 20 | %h1= User.count |
| 16 | 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 | 23 | .span4 |
| 19 | - .ui-box | |
| 20 | - .title Groups | |
| 21 | - .data.padded | |
| 24 | + .light-well | |
| 25 | + %h4 Groups | |
| 26 | + .data | |
| 22 | 27 | = link_to admin_groups_path do |
| 23 | 28 | %h1= Group.count |
| 24 | 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 | 33 | .span4 |
| 29 | 34 | %h4 Latest projects |
| 30 | 35 | %hr | ... | ... |