summaryrefslogtreecommitdiff
path: root/app/views/admin/dashboard/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/dashboard/index.html.haml')
-rw-r--r--app/views/admin/dashboard/index.html.haml47
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