2014-02-15 06:35:20 -05:00
|
|
|
.admin-dashboard
|
|
|
|
.row
|
|
|
|
.col-md-4
|
2015-01-15 18:19:04 -05:00
|
|
|
%h4 Statistics
|
2014-02-15 06:35:20 -05:00
|
|
|
%hr
|
2012-08-25 13:31:19 -04:00
|
|
|
%p
|
2014-02-15 06:35:20 -05:00
|
|
|
Forks
|
2013-01-30 09:40:43 -05:00
|
|
|
%span.light.pull-right
|
2014-02-15 06:35:20 -05:00
|
|
|
= ForkedProjectLink.count
|
2012-08-25 13:31:19 -04:00
|
|
|
%p
|
2014-02-15 06:35:20 -05:00
|
|
|
Issues
|
2013-01-30 09:40:43 -05:00
|
|
|
%span.light.pull-right
|
2014-02-15 06:35:20 -05:00
|
|
|
= Issue.count
|
2013-11-20 06:41:41 -05:00
|
|
|
%p
|
2014-02-15 06:35:20 -05:00
|
|
|
Merge Requests
|
2013-11-20 06:41:41 -05:00
|
|
|
%span.light.pull-right
|
2014-02-15 06:35:20 -05:00
|
|
|
= MergeRequest.count
|
|
|
|
%p
|
|
|
|
Notes
|
|
|
|
%span.light.pull-right
|
|
|
|
= Note.count
|
|
|
|
%p
|
|
|
|
Snippets
|
|
|
|
%span.light.pull-right
|
|
|
|
= Snippet.count
|
|
|
|
%p
|
|
|
|
SSH Keys
|
|
|
|
%span.light.pull-right
|
|
|
|
= Key.count
|
|
|
|
%p
|
|
|
|
Milestones
|
|
|
|
%span.light.pull-right
|
|
|
|
= Milestone.count
|
2014-04-15 04:23:37 -04:00
|
|
|
%p
|
2015-03-08 23:45:03 -04:00
|
|
|
Active Users
|
2014-04-15 04:23:37 -04:00
|
|
|
%span.light.pull-right
|
2015-03-08 23:45:03 -04:00
|
|
|
= User.active.count
|
2014-02-15 06:35:20 -05:00
|
|
|
.col-md-4
|
|
|
|
%h4
|
|
|
|
Features
|
|
|
|
%hr
|
|
|
|
%p
|
|
|
|
Sign up
|
|
|
|
%span.light.pull-right
|
2015-01-08 17:26:43 -05:00
|
|
|
= boolean_to_icon signup_enabled?
|
2014-02-15 06:35:20 -05:00
|
|
|
%p
|
|
|
|
LDAP
|
|
|
|
%span.light.pull-right
|
|
|
|
= boolean_to_icon Gitlab.config.ldap.enabled
|
|
|
|
%p
|
|
|
|
Gravatar
|
|
|
|
%span.light.pull-right
|
2015-01-08 17:26:43 -05:00
|
|
|
= boolean_to_icon gravatar_enabled?
|
2014-02-15 06:35:20 -05:00
|
|
|
%p
|
|
|
|
OmniAuth
|
|
|
|
%span.light.pull-right
|
|
|
|
= boolean_to_icon Gitlab.config.omniauth.enabled
|
2015-08-19 16:57:27 -04:00
|
|
|
%p
|
|
|
|
Reply by email
|
|
|
|
%span.light.pull-right
|
2015-09-21 03:46:47 -04:00
|
|
|
= boolean_to_icon Gitlab::IncomingEmail.enabled?
|
2014-02-15 06:35:20 -05:00
|
|
|
.col-md-4
|
2015-02-12 23:31:55 -05:00
|
|
|
%h4
|
|
|
|
Components
|
2015-03-10 15:51:46 -04:00
|
|
|
- if current_application_settings.version_check_enabled
|
|
|
|
.pull-right
|
|
|
|
= version_status_badge
|
2015-02-12 23:31:55 -05:00
|
|
|
|
2014-02-15 06:35:20 -05:00
|
|
|
%hr
|
|
|
|
%p
|
|
|
|
GitLab
|
|
|
|
%span.pull-right
|
|
|
|
= Gitlab::VERSION
|
|
|
|
%p
|
|
|
|
GitLab Shell
|
|
|
|
%span.pull-right
|
|
|
|
= Gitlab::Shell.new.version
|
|
|
|
%p
|
|
|
|
GitLab API
|
|
|
|
%span.pull-right
|
|
|
|
= API::API::version
|
|
|
|
%p
|
|
|
|
Ruby
|
|
|
|
%span.pull-right
|
|
|
|
#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}
|
2013-12-06 15:20:11 -05:00
|
|
|
|
2014-02-15 06:35:20 -05:00
|
|
|
%p
|
|
|
|
Rails
|
|
|
|
%span.pull-right
|
|
|
|
#{Rails::VERSION::STRING}
|
2015-01-15 18:19:04 -05:00
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.col-sm-4
|
|
|
|
.light-well
|
|
|
|
%h4 Projects
|
|
|
|
.data
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to admin_namespaces_projects_path do
|
2015-01-15 18:19:04 -05:00
|
|
|
%h1= Project.count
|
|
|
|
%hr
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to('New Project', new_project_path, class: "btn btn-new")
|
2015-01-15 18:19:04 -05:00
|
|
|
.col-sm-4
|
|
|
|
.light-well
|
2015-03-08 23:45:03 -04:00
|
|
|
%h4 Users
|
2015-01-15 18:19:04 -05:00
|
|
|
.data
|
|
|
|
= link_to admin_users_path do
|
2015-03-08 23:45:03 -04:00
|
|
|
%h1= User.count
|
2015-01-15 18:19:04 -05:00
|
|
|
%hr
|
|
|
|
= link_to 'New User', new_admin_user_path, class: "btn btn-new"
|
|
|
|
.col-sm-4
|
|
|
|
.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-new"
|
|
|
|
|
|
|
|
.row.prepend-top-10
|
|
|
|
.col-md-4
|
|
|
|
%h4 Latest projects
|
|
|
|
%hr
|
|
|
|
- @projects.each do |project|
|
|
|
|
%p
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to project.name_with_namespace, [:admin, project.namespace.becomes(Namespace), project], class: 'str-truncated'
|
2015-01-15 18:19:04 -05:00
|
|
|
%span.light.pull-right
|
|
|
|
#{time_ago_with_tooltip(project.created_at)}
|
|
|
|
|
|
|
|
.col-md-4
|
|
|
|
%h4 Latest users
|
|
|
|
%hr
|
|
|
|
- @users.each do |user|
|
|
|
|
%p
|
|
|
|
= link_to [:admin, user], class: 'str-truncated' do
|
|
|
|
= user.name
|
|
|
|
%span.light.pull-right
|
|
|
|
#{time_ago_with_tooltip(user.created_at)}
|
|
|
|
|
|
|
|
.col-md-4
|
|
|
|
%h4 Latest groups
|
|
|
|
%hr
|
|
|
|
- @groups.each do |group|
|
|
|
|
%p
|
|
|
|
= link_to [:admin, group], class: 'str-truncated' do
|
|
|
|
= group.name
|
|
|
|
%span.light.pull-right
|
|
|
|
#{time_ago_with_tooltip(group.created_at)}
|