Commit 5c67c887 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve admin dashboard UX

parent b65a0461
%h3.page-title
Admin area
%p.light
You can manage projects, users and other GitLab data from here.
%hr
.admin_dash.row .admin_dash.row
.span4 .span4
.ui-box .light-well
.title Projects %h4 Projects
.data.padded .data
= link_to admin_projects_path do = link_to admin_projects_path do
%h1= Project.count %h1= Project.count
%hr %hr
= link_to 'New Project', new_project_path, class: "btn btn-small" = link_to 'New Project', new_project_path, class: "btn btn-new"
.span4 .span4
.ui-box .light-well
.title Users %h4 Users
.data.padded .data
= link_to admin_users_path do = link_to admin_users_path do
%h1= User.count %h1= User.count
%hr %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 .span4
.ui-box .light-well
.title Groups %h4 Groups
.data.padded .data
= link_to admin_groups_path do = link_to admin_groups_path do
%h1= Group.count %h1= Group.count
%hr %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 .span4
%h4 Latest projects %h4 Latest projects
%hr %hr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment