debian-mirror-gitlab/app/views/projects/settings/operations/_configuration_banner.html.haml

25 lines
1.1 KiB
Text
Raw Normal View History

2020-04-08 14:13:33 +05:30
%b
= s_('PrometheusService|Auto configuration')
- if service.manual_configuration?
.info-well.p-2.mt-2
= s_('PrometheusService|To enable the installation of Prometheus on your clusters, deactivate the manual configuration below')
- else
.container-fluid
.row
- if service.prometheus_available?
.col-sm-2
.svg-container
= image_tag 'illustrations/monitoring/getting_started.svg'
.col-sm-10
2020-07-28 23:09:34 +05:30
%p.text-success.gl-mt-3
2020-04-08 14:13:33 +05:30
= s_('PrometheusService|Prometheus is being automatically managed on your clusters')
= link_to s_('PrometheusService|Manage clusters'), project_clusters_path(project), class: 'btn'
- else
.col-sm-2
= image_tag 'illustrations/monitoring/loading.svg'
.col-sm-10
2020-07-28 23:09:34 +05:30
%p.gl-mt-3
2020-04-08 14:13:33 +05:30
= s_('PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your projects environments')
= link_to s_('PrometheusService|Install Prometheus on clusters'), project_clusters_path(project), class: 'btn btn-success'