2020-07-28 23:09:34 +05:30
|
|
|
- breadcrumb_title _("Dashboard")
|
|
|
|
- page_title _("Dashboard")
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2020-04-08 14:13:33 +05:30
|
|
|
- if @notices
|
|
|
|
- @notices.each do |notice|
|
|
|
|
.js-vue-alert{ 'v-cloak': true, data: { variant: notice[:type],
|
|
|
|
dismissible: true.to_s } }
|
|
|
|
= notice[:message].html_safe
|
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
- if @license.present? && show_license_breakdown?
|
|
|
|
= render_if_exists 'admin/licenses/breakdown'
|
2020-10-24 23:57:45 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
.admin-dashboard.gl-mt-3
|
2019-12-04 20:38:33 +05:30
|
|
|
.row
|
|
|
|
.col-sm-4
|
2020-11-24 15:15:51 +05:30
|
|
|
.info-well.dark-well.flex-fill
|
2019-12-04 20:38:33 +05:30
|
|
|
.well-segment.well-centered
|
|
|
|
= link_to admin_projects_path do
|
|
|
|
%h3.text-center
|
2020-11-24 15:15:51 +05:30
|
|
|
= s_('AdminArea|Projects: %{number_of_projects}') % { number_of_projects: approximate_count_with_delimiters(@counts, Project) }
|
2019-12-04 20:38:33 +05:30
|
|
|
%hr
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to(s_('AdminArea|New project'), new_project_path, class: "btn gl-button btn-success gl-w-full")
|
2019-12-04 20:38:33 +05:30
|
|
|
.col-sm-4
|
|
|
|
.info-well.dark-well
|
|
|
|
.well-segment.well-centered
|
|
|
|
= link_to admin_users_path do
|
|
|
|
%h3.text-center
|
2020-11-24 15:15:51 +05:30
|
|
|
= s_('AdminArea|Users: %{number_of_users}') % { number_of_users: approximate_count_with_delimiters(@counts, User) }
|
2019-12-04 20:38:33 +05:30
|
|
|
%hr
|
|
|
|
.btn-group.d-flex{ role: 'group' }
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to s_('AdminArea|New user'), new_admin_user_path, class: "btn gl-button btn-success gl-w-full"
|
|
|
|
= link_to s_('AdminArea|Users statistics'), admin_dashboard_stats_path, class: 'btn gl-button btn-info gl-w-full'
|
2019-12-04 20:38:33 +05:30
|
|
|
.col-sm-4
|
|
|
|
.info-well.dark-well
|
|
|
|
.well-segment.well-centered
|
|
|
|
= link_to admin_groups_path do
|
|
|
|
%h3.text-center
|
2020-11-24 15:15:51 +05:30
|
|
|
= s_('AdminArea|Groups: %{number_of_groups}') % { number_of_groups: approximate_count_with_delimiters(@counts, Group) }
|
2019-12-04 20:38:33 +05:30
|
|
|
%hr
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to s_('AdminArea|New group'), new_admin_group_path, class: "btn gl-button btn-success gl-w-full"
|
2019-12-04 20:38:33 +05:30
|
|
|
.row
|
|
|
|
.col-md-4
|
|
|
|
#js-admin-statistics-container
|
|
|
|
.col-md-4
|
|
|
|
.info-well
|
|
|
|
.well-segment.admin-well.admin-well-features
|
2020-11-24 15:15:51 +05:30
|
|
|
%h4= s_('AdminArea|Features')
|
2019-12-26 22:10:19 +05:30
|
|
|
= feature_entry(_('Sign up'),
|
2020-03-13 15:44:24 +05:30
|
|
|
href: general_admin_application_settings_path(anchor: 'js-signup-settings'),
|
2019-12-26 22:10:19 +05:30
|
|
|
enabled: allow_signup?)
|
|
|
|
|
|
|
|
= feature_entry(_('LDAP'),
|
2020-01-01 13:55:28 +05:30
|
|
|
enabled: Gitlab.config.ldap.enabled,
|
2021-01-03 14:25:43 +05:30
|
|
|
doc_href: help_page_path('administration/auth/ldap/index.md'))
|
2019-12-26 22:10:19 +05:30
|
|
|
|
|
|
|
= feature_entry(_('Gravatar'),
|
2020-03-13 15:44:24 +05:30
|
|
|
href: general_admin_application_settings_path(anchor: 'js-account-settings'),
|
2019-12-26 22:10:19 +05:30
|
|
|
enabled: gravatar_enabled?)
|
|
|
|
|
|
|
|
= feature_entry(_('OmniAuth'),
|
2020-03-13 15:44:24 +05:30
|
|
|
href: general_admin_application_settings_path(anchor: 'js-signin-settings'),
|
2020-01-01 13:55:28 +05:30
|
|
|
enabled: Gitlab::Auth.omniauth_enabled?,
|
|
|
|
doc_href: help_page_path('integration/omniauth'))
|
2019-12-26 22:10:19 +05:30
|
|
|
|
|
|
|
= feature_entry(_('Reply by email'),
|
2020-01-01 13:55:28 +05:30
|
|
|
enabled: Gitlab::IncomingEmail.enabled?,
|
|
|
|
doc_href: help_page_path('administration/reply_by_email'))
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
= render_if_exists 'admin/dashboard/elastic_and_geo'
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2019-12-26 22:10:19 +05:30
|
|
|
= feature_entry(_('Container Registry'),
|
|
|
|
href: ci_cd_admin_application_settings_path(anchor: 'js-registry-settings'),
|
|
|
|
enabled: Gitlab.config.registry.enabled,
|
|
|
|
doc_href: help_page_path('user/packages/container_registry/index'))
|
|
|
|
|
|
|
|
= feature_entry(_('Gitlab Pages'),
|
|
|
|
enabled: Gitlab.config.pages.enabled,
|
|
|
|
doc_href: help_instance_configuration_url)
|
|
|
|
|
|
|
|
= feature_entry(_('Shared Runners'),
|
|
|
|
href: admin_runners_path,
|
|
|
|
enabled: Gitlab.config.gitlab_ci.shared_runners_enabled)
|
2019-12-04 20:38:33 +05:30
|
|
|
.col-md-4
|
|
|
|
.info-well
|
|
|
|
.well-segment.admin-well
|
|
|
|
%h4
|
2020-11-24 15:15:51 +05:30
|
|
|
= s_('AdminArea|Components')
|
2019-12-04 20:38:33 +05:30
|
|
|
- if Gitlab::CurrentSettings.version_check_enabled
|
|
|
|
.float-right
|
|
|
|
= version_status_badge
|
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= link_to _('GitLab'), general_admin_application_settings_path
|
2019-12-04 20:38:33 +05:30
|
|
|
%span.float-right
|
|
|
|
= Gitlab::VERSION
|
|
|
|
= "(#{Gitlab.revision})"
|
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= _('GitLab Shell')
|
2019-12-04 20:38:33 +05:30
|
|
|
%span.float-right
|
2020-04-08 14:13:33 +05:30
|
|
|
= Gitlab::Shell.version
|
2019-12-04 20:38:33 +05:30
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= _('GitLab Workhorse')
|
2019-12-04 20:38:33 +05:30
|
|
|
%span.float-right
|
|
|
|
= gitlab_workhorse_version
|
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= _('GitLab API')
|
2019-12-04 20:38:33 +05:30
|
|
|
%span.float-right
|
|
|
|
= API::API::version
|
|
|
|
- if Gitlab.config.pages.enabled
|
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= _('GitLab Pages')
|
2018-11-08 19:23:39 +05:30
|
|
|
%span.float-right
|
2019-12-04 20:38:33 +05:30
|
|
|
= Gitlab::Pages::VERSION
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
= render_if_exists 'admin/dashboard/geo'
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= _('Ruby')
|
2019-12-04 20:38:33 +05:30
|
|
|
%span.float-right
|
|
|
|
#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}
|
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= _('Rails')
|
2019-12-04 20:38:33 +05:30
|
|
|
%span.float-right
|
|
|
|
#{Rails::VERSION::STRING}
|
|
|
|
%p
|
|
|
|
= Gitlab::Database.human_adapter_name
|
|
|
|
%span.float-right
|
|
|
|
= Gitlab::Database.version
|
|
|
|
%p
|
2020-11-24 15:15:51 +05:30
|
|
|
= link_to _("Gitaly Servers"), admin_gitaly_servers_path
|
2019-12-04 20:38:33 +05:30
|
|
|
.row
|
|
|
|
.col-md-4
|
|
|
|
.info-well
|
|
|
|
.well-segment.admin-well
|
2020-11-24 15:15:51 +05:30
|
|
|
%h4= s_('AdminArea|Latest projects')
|
2019-12-04 20:38:33 +05:30
|
|
|
- @projects.each do |project|
|
|
|
|
%p
|
|
|
|
= link_to project.full_name, admin_project_path(project), class: 'str-truncated-60'
|
|
|
|
%span.light.float-right
|
|
|
|
#{time_ago_with_tooltip(project.created_at)}
|
|
|
|
.col-md-4
|
|
|
|
.info-well
|
|
|
|
.well-segment.admin-well
|
2020-11-24 15:15:51 +05:30
|
|
|
%h4= s_('AdminArea|Latest users')
|
2019-12-04 20:38:33 +05:30
|
|
|
- @users.each do |user|
|
|
|
|
%p
|
|
|
|
= link_to [:admin, user], class: 'str-truncated-60' do
|
|
|
|
= user.name
|
|
|
|
%span.light.float-right
|
|
|
|
#{time_ago_with_tooltip(user.created_at)}
|
|
|
|
.col-md-4
|
|
|
|
.info-well
|
|
|
|
.well-segment.admin-well
|
2020-11-24 15:15:51 +05:30
|
|
|
%h4= s_('AdminArea|Latest groups')
|
2019-12-04 20:38:33 +05:30
|
|
|
- @groups.each do |group|
|
|
|
|
%p
|
|
|
|
= link_to [:admin, group], class: 'str-truncated-60' do
|
|
|
|
= group.full_name
|
|
|
|
%span.light.float-right
|
|
|
|
#{time_ago_with_tooltip(group.created_at)}
|