summaryrefslogtreecommitdiff
path: root/app/views/projects/services/prometheus/_configuration_banner.html.haml
blob: 3786b84569225b6a102a50f425e3e2ce1b13c4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%h4
  = s_('PrometheusService|Auto configuration')

- if service.manual_configuration?
  .info-well
    = s_('PrometheusService|To enable the installation of Prometheus on your clusters, deactivate the manual configuration.')
- else
  .container-fluid
    .row
      - if service.prometheus_available?
        .col-sm-2
          .svg-container
            = image_tag 'illustrations/monitoring/getting_started.svg'
        .col-sm-10
          %p.text-success.gl-mt-3
            = s_('PrometheusService|GitLab is managing Prometheus on your clusters.')
          = link_to s_('PrometheusService|Manage clusters'), project_clusters_path(project), class: 'btn gl-button'
      - else
        .col-sm-2
          = image_tag 'illustrations/monitoring/loading.svg'
        .col-sm-10
          %p.gl-mt-3
            = s_('PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments.')
          = link_to s_('PrometheusService|Install Prometheus on clusters'), project_clusters_path(project), class: 'btn gl-button btn-confirm'

%hr