2013-10-13 11:38:20 +00:00
|
|
|
%h3.page-title
|
|
|
|
Admin area
|
|
|
|
%p.light
|
|
|
|
You can manage projects, users and other GitLab data from here.
|
|
|
|
%hr
|
2012-04-20 16:41:49 +00:00
|
|
|
.admin_dash.row
|
2013-01-09 05:14:05 +00:00
|
|
|
.span4
|
2013-10-13 11:38:20 +00:00
|
|
|
.light-well
|
|
|
|
%h4 Projects
|
|
|
|
.data
|
2012-11-28 16:08:25 +00:00
|
|
|
= link_to admin_projects_path do
|
|
|
|
%h1= Project.count
|
|
|
|
%hr
|
2013-10-13 11:38:20 +00:00
|
|
|
= link_to 'New Project', new_project_path, class: "btn btn-new"
|
2013-01-09 05:14:05 +00:00
|
|
|
.span4
|
2013-10-13 11:38:20 +00:00
|
|
|
.light-well
|
|
|
|
%h4 Users
|
|
|
|
.data
|
2012-11-28 16:08:25 +00:00
|
|
|
= link_to admin_users_path do
|
|
|
|
%h1= User.count
|
|
|
|
%hr
|
2013-10-13 11:38:20 +00:00
|
|
|
= link_to 'New User', new_admin_user_path, class: "btn btn-new"
|
2013-05-30 06:46:28 +00:00
|
|
|
.span4
|
2013-10-13 11:38:20 +00:00
|
|
|
.light-well
|
|
|
|
%h4 Groups
|
|
|
|
.data
|
2013-05-30 06:46:28 +00:00
|
|
|
= link_to admin_groups_path do
|
|
|
|
%h1= Group.count
|
|
|
|
%hr
|
2013-10-13 11:38:20 +00:00
|
|
|
= link_to 'New Group', new_admin_group_path, class: "btn btn-new"
|
2012-11-21 10:45:15 +00:00
|
|
|
|
2013-10-13 11:38:20 +00:00
|
|
|
.row.prepend-top-10
|
2013-01-10 06:43:25 +00:00
|
|
|
.span4
|
|
|
|
%h4 Latest projects
|
2012-04-20 16:41:49 +00:00
|
|
|
%hr
|
|
|
|
- @projects.each do |project|
|
2012-08-25 17:31:19 +00:00
|
|
|
%p
|
2012-11-27 06:31:15 +00:00
|
|
|
= link_to project.name_with_namespace, [:admin, project]
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= time_ago_in_words project.created_at
|
|
|
|
ago
|
|
|
|
|
|
|
|
.span4
|
|
|
|
%h4 Latest users
|
2012-04-20 16:41:49 +00:00
|
|
|
%hr
|
|
|
|
- @users.each do |user|
|
2012-08-25 17:31:19 +00:00
|
|
|
%p
|
2012-11-21 10:45:15 +00:00
|
|
|
= link_to [:admin, user] do
|
2012-08-25 17:31:19 +00:00
|
|
|
= user.name
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= time_ago_in_words user.created_at
|
|
|
|
ago
|
|
|
|
|
|
|
|
.span4
|
|
|
|
%h4 Stats
|
|
|
|
%hr
|
2013-06-10 13:26:11 +00:00
|
|
|
%p
|
|
|
|
Forks
|
|
|
|
%span.light.pull-right
|
|
|
|
= ForkedProjectLink.count
|
2013-01-10 06:43:25 +00:00
|
|
|
%p
|
|
|
|
Issues
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= Issue.count
|
|
|
|
%p
|
|
|
|
Merge Requests
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= MergeRequest.count
|
|
|
|
%p
|
|
|
|
Notes
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= Note.count
|
|
|
|
%p
|
|
|
|
Snippets
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= Snippet.count
|
|
|
|
%p
|
|
|
|
SSH Keys
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= Key.count
|
|
|
|
%p
|
|
|
|
Milestones
|
2013-01-30 14:40:43 +00:00
|
|
|
%span.light.pull-right
|
2013-01-10 06:43:25 +00:00
|
|
|
= Milestone.count
|