summaryrefslogtreecommitdiff
path: root/app/views/projects/services/prometheus/_help.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/services/prometheus/_help.html.haml')
-rw-r--r--app/views/projects/services/prometheus/_help.html.haml30
1 files changed, 21 insertions, 9 deletions
diff --git a/app/views/projects/services/prometheus/_help.html.haml b/app/views/projects/services/prometheus/_help.html.haml
index 83d3faf658f..c38b7283c95 100644
--- a/app/views/projects/services/prometheus/_help.html.haml
+++ b/app/views/projects/services/prometheus/_help.html.haml
@@ -1,15 +1,27 @@
%h4
Auto configuration
-.prepend-top-default.append-bottom-default
- - unless @service.manual_configuration?
- - if @service.prometheus_installed?
- = link_to 'Manage clusters', project_clusters_path(@project), class: 'btn'
- - else
- = link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success'
- - else
- .well
- To enable the installation of Prometheus on your clusters, deactivate the manual configuration below
+- unless @service.manual_configuration?
+ .container-fluid
+ .row
+ - if @service.prometheus_installed?
+ .col-sm-2
+ .svg-container
+ = image_tag 'illustrations/monitoring/getting_started.svg'
+ .col-sm-10
+ %p.text-success.prepend-top-default
+ Prometheus is being automatically managed on your clusters
+ = link_to 'Manage clusters', project_clusters_path(@project), class: 'btn'
+ - else
+ .col-sm-2
+ = image_tag 'illustrations/monitoring/loading.svg'
+ .col-sm-10
+ %p.prepend-top-default
+ Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments
+ = link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success'
+- else
+ .well
+ To enable the installation of Prometheus on your clusters, deactivate the manual configuration below
%hr