diff options
author | Cyril <jv.cyril@gmail.com> | 2012-11-28 17:08:25 +0100 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-11-28 18:04:28 +0100 |
commit | e0a9ffcdaa0bef73caee5a502cabe1b4d8767f1b (patch) | |
tree | ca190de9617b58041115079a91db674174bd8b78 /app/views/admin/dashboard | |
parent | 3d242a3154644bb1fea1b70d2661cee4f3db342c (diff) | |
download | gitlab-ce-e0a9ffcdaa0bef73caee5a502cabe1b4d8767f1b.tar.gz |
Improve admin views for project and groups
* layout: add 'Groups' item to main_menu
* admin/dashboard: add a ui-box for groups
* projects and groups: remove nav tabs
Diffstat (limited to 'app/views/admin/dashboard')
-rw-r--r-- | app/views/admin/dashboard/index.html.haml | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml index b68d7f0d003..4320bda4999 100644 --- a/app/views/admin/dashboard/index.html.haml +++ b/app/views/admin/dashboard/index.html.haml @@ -1,5 +1,29 @@ .admin_dash.row - .span4 + .span3 + .ui-box + %h5 Projects + .data.padded + = link_to admin_projects_path do + %h1= Project.count + %hr + = link_to 'New Project', new_project_path, class: "btn small" + .span3 + .ui-box + %h5 Groups + .data.padded + = link_to admin_groups_path do + %h1= Group.count + %hr + = link_to 'New Group', new_admin_group_path, class: "btn small" + .span3 + .ui-box + %h5 Users + .data.padded + = link_to admin_users_path do + %h1= User.count + %hr + = link_to 'New User', new_admin_user_path, class: "btn small" + .span3 .ui-box %h5 Resque Workers @@ -19,27 +43,6 @@ %p %strong Resque status unknown - - .span4 - .ui-box - %h5 Projects - .data.padded - = link_to admin_projects_path do - %h1= Project.count - %hr - = link_to 'New Project', new_project_path, class: "btn small" - - = link_to 'New Group', new_admin_group_path, class: "btn small" - .span4 - .ui-box - %h5 Users - .data.padded - = link_to admin_users_path do - %h1= User.count - %hr - = link_to 'New User', new_admin_user_path, class: "btn small" - - .row .span6 %h3 Latest projects |