summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-13 14:38:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-13 14:38:20 +0300
commit5c67c88731b4e53325a5c6efdcc36f08d405bbdb (patch)
tree87da6e76960f1a1f475f4ee6d055a4c71f2a0021
parentb65a0461d139c34271b81c3fee0026dd32a88016 (diff)
downloadgitlab-ce-5c67c88731b4e53325a5c6efdcc36f08d405bbdb.tar.gz
Improve admin dashboard UX
-rw-r--r--app/views/admin/dashboard/index.html.haml31
1 files changed, 18 insertions, 13 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 9ed788d0d9d..3064763b993 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -1,30 +1,35 @@
+%h3.page-title
+ Admin area
+%p.light
+ You can manage projects, users and other GitLab data from here.
+%hr
.admin_dash.row
.span4
- .ui-box
- .title Projects
- .data.padded
+ .light-well
+ %h4 Projects
+ .data
= link_to admin_projects_path do
%h1= Project.count
%hr
- = link_to 'New Project', new_project_path, class: "btn btn-small"
+ = link_to 'New Project', new_project_path, class: "btn btn-new"
.span4
- .ui-box
- .title Users
- .data.padded
+ .light-well
+ %h4 Users
+ .data
= link_to admin_users_path do
%h1= User.count
%hr
- = link_to 'New User', new_admin_user_path, class: "btn btn-small"
+ = link_to 'New User', new_admin_user_path, class: "btn btn-new"
.span4
- .ui-box
- .title Groups
- .data.padded
+ .light-well
+ %h4 Groups
+ .data
= link_to admin_groups_path do
%h1= Group.count
%hr
- = link_to 'New Group', new_admin_group_path, class: "btn btn-small"
+ = link_to 'New Group', new_admin_group_path, class: "btn btn-new"
-.row
+.row.prepend-top-10
.span4
%h4 Latest projects
%hr