2016-06-14 16:37:02 -04:00
|
|
|
- @no_container = true
|
|
|
|
= render "admin/dashboard/head"
|
2015-02-12 23:31:55 -05:00
|
|
|
|
2016-06-30 09:01:26 -04:00
|
|
|
%div{ class: container_class }
|
2016-06-14 16:37:02 -04:00
|
|
|
.admin-dashboard.prepend-top-default
|
|
|
|
.row
|
|
|
|
.col-md-4
|
|
|
|
%h4 Statistics
|
|
|
|
%hr
|
2015-01-15 18:19:04 -05:00
|
|
|
%p
|
2016-06-14 16:37:02 -04:00
|
|
|
Forks
|
2015-01-15 18:19:04 -05:00
|
|
|
%span.light.pull-right
|
2016-06-14 16:37:02 -04:00
|
|
|
= number_with_delimiter(ForkedProjectLink.count)
|
2015-01-15 18:19:04 -05:00
|
|
|
%p
|
2016-06-14 16:37:02 -04:00
|
|
|
Issues
|
2015-01-15 18:19:04 -05:00
|
|
|
%span.light.pull-right
|
2016-06-14 16:37:02 -04:00
|
|
|
= number_with_delimiter(Issue.count)
|
|
|
|
%p
|
|
|
|
Merge Requests
|
|
|
|
%span.light.pull-right
|
|
|
|
= number_with_delimiter(MergeRequest.count)
|
|
|
|
%p
|
|
|
|
Notes
|
|
|
|
%span.light.pull-right
|
|
|
|
= number_with_delimiter(Note.count)
|
|
|
|
%p
|
|
|
|
Snippets
|
|
|
|
%span.light.pull-right
|
|
|
|
= number_with_delimiter(Snippet.count)
|
|
|
|
%p
|
|
|
|
SSH Keys
|
|
|
|
%span.light.pull-right
|
|
|
|
= number_with_delimiter(Key.count)
|
|
|
|
%p
|
|
|
|
Milestones
|
|
|
|
%span.light.pull-right
|
|
|
|
= number_with_delimiter(Milestone.count)
|
|
|
|
%p
|
|
|
|
Active Users
|
|
|
|
%span.light.pull-right
|
|
|
|
= number_with_delimiter(User.active.count)
|
|
|
|
.col-md-4
|
|
|
|
%h4
|
|
|
|
Features
|
|
|
|
%hr
|
|
|
|
%p
|
|
|
|
Sign up
|
|
|
|
%span.light.pull-right
|
|
|
|
= boolean_to_icon signup_enabled?
|
2015-01-15 18:19:04 -05:00
|
|
|
%p
|
2016-06-14 16:37:02 -04:00
|
|
|
LDAP
|
2015-01-15 18:19:04 -05:00
|
|
|
%span.light.pull-right
|
2016-06-14 16:37:02 -04:00
|
|
|
= boolean_to_icon Gitlab.config.ldap.enabled
|
|
|
|
%p
|
|
|
|
Gravatar
|
|
|
|
%span.light.pull-right
|
|
|
|
= boolean_to_icon gravatar_enabled?
|
|
|
|
%p
|
|
|
|
OmniAuth
|
|
|
|
%span.light.pull-right
|
|
|
|
= boolean_to_icon Gitlab.config.omniauth.enabled
|
|
|
|
%p
|
|
|
|
Reply by email
|
|
|
|
%span.light.pull-right
|
|
|
|
= boolean_to_icon Gitlab::IncomingEmail.enabled?
|
2016-10-02 09:42:36 -04:00
|
|
|
%p
|
|
|
|
Container Registry
|
|
|
|
%span.light.pull-right
|
|
|
|
= boolean_to_icon Gitlab.config.registry.enabled
|
|
|
|
|
2016-06-14 16:37:02 -04:00
|
|
|
.col-md-4
|
|
|
|
%h4
|
|
|
|
Components
|
|
|
|
- if current_application_settings.version_check_enabled
|
|
|
|
.pull-right
|
|
|
|
= version_status_badge
|
|
|
|
|
|
|
|
%hr
|
|
|
|
%p
|
|
|
|
GitLab
|
|
|
|
%span.pull-right
|
|
|
|
= Gitlab::VERSION
|
|
|
|
%p
|
|
|
|
GitLab Shell
|
|
|
|
%span.pull-right
|
|
|
|
= Gitlab::Shell.new.version
|
2016-07-18 07:58:08 -04:00
|
|
|
%p
|
|
|
|
GitLab Workhorse
|
|
|
|
%span.pull-right
|
2016-08-30 16:44:30 -04:00
|
|
|
= gitlab_workhorse_version
|
2016-06-14 16:37:02 -04:00
|
|
|
%p
|
|
|
|
GitLab API
|
|
|
|
%span.pull-right
|
|
|
|
= API::API::version
|
|
|
|
%p
|
|
|
|
Git
|
|
|
|
%span.pull-right
|
|
|
|
= Gitlab::Git.version
|
|
|
|
%p
|
|
|
|
Ruby
|
|
|
|
%span.pull-right
|
|
|
|
#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}
|
|
|
|
|
|
|
|
%p
|
|
|
|
Rails
|
|
|
|
%span.pull-right
|
|
|
|
#{Rails::VERSION::STRING}
|
|
|
|
|
|
|
|
%p
|
|
|
|
= Gitlab::Database.adapter_name
|
|
|
|
%span.pull-right
|
|
|
|
= Gitlab::Database.version
|
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.col-sm-4
|
2016-12-05 10:26:22 -05:00
|
|
|
.light-well.well-centered
|
2016-06-14 16:37:02 -04:00
|
|
|
%h4 Projects
|
|
|
|
.data
|
2016-12-08 13:59:41 -05:00
|
|
|
= link_to admin_projects_path do
|
2016-08-10 06:16:03 -04:00
|
|
|
%h1= number_with_delimiter(Project.cached_count)
|
2016-06-14 16:37:02 -04:00
|
|
|
%hr
|
|
|
|
= link_to('New Project', new_project_path, class: "btn btn-new")
|
|
|
|
.col-sm-4
|
2016-12-05 10:26:22 -05:00
|
|
|
.light-well.well-centered
|
2016-06-14 16:37:02 -04:00
|
|
|
%h4 Users
|
|
|
|
.data
|
|
|
|
= link_to admin_users_path do
|
|
|
|
%h1= number_with_delimiter(User.count)
|
|
|
|
%hr
|
|
|
|
= link_to 'New User', new_admin_user_path, class: "btn btn-new"
|
|
|
|
.col-sm-4
|
2016-12-05 10:26:22 -05:00
|
|
|
.light-well.well-centered
|
2016-06-14 16:37:02 -04:00
|
|
|
%h4 Groups
|
|
|
|
.data
|
|
|
|
= link_to admin_groups_path do
|
|
|
|
%h1= number_with_delimiter(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
|
2016-12-05 10:26:22 -05:00
|
|
|
= link_to project.name_with_namespace, [:admin, project.namespace.becomes(Namespace), project], class: 'str-truncated-60'
|
2016-06-14 16:37:02 -04:00
|
|
|
%span.light.pull-right
|
|
|
|
#{time_ago_with_tooltip(project.created_at)}
|
|
|
|
|
|
|
|
.col-md-4
|
|
|
|
%h4 Latest users
|
|
|
|
%hr
|
|
|
|
- @users.each do |user|
|
|
|
|
%p
|
2016-12-05 10:26:22 -05:00
|
|
|
= link_to [:admin, user], class: 'str-truncated-60' do
|
2016-06-14 16:37:02 -04:00
|
|
|
= 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
|
2016-12-05 10:26:22 -05:00
|
|
|
= link_to [:admin, group], class: 'str-truncated-60' do
|
2016-06-14 16:37:02 -04:00
|
|
|
= group.name
|
|
|
|
%span.light.pull-right
|
|
|
|
#{time_ago_with_tooltip(group.created_at)}
|