Commit 015d5d98 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'jivanvl-gl-button-services-prometheus' into 'master'

Add gl-button to services/prometheus

See merge request gitlab-org/gitlab!42756
parents 095096a1 c7b717e2
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
.col-sm-10 .col-sm-10
%p.text-success.gl-mt-3 %p.text-success.gl-mt-3
= s_('PrometheusService|Prometheus is being automatically managed on your clusters') = s_('PrometheusService|Prometheus is being automatically managed on your clusters')
= link_to s_('PrometheusService|Manage clusters'), project_clusters_path(project), class: 'btn' = link_to s_('PrometheusService|Manage clusters'), project_clusters_path(project), class: 'btn gl-button'
- else - else
.col-sm-2 .col-sm-2
= image_tag 'illustrations/monitoring/loading.svg' = image_tag 'illustrations/monitoring/loading.svg'
.col-sm-10 .col-sm-10
%p.gl-mt-3 %p.gl-mt-3
= s_('PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments') = 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 btn-success' = link_to s_('PrometheusService|Install Prometheus on clusters'), project_clusters_path(project), class: 'btn gl-button btn-success'
%hr %hr
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
-# haml-lint:disable NoPlainNodes -# haml-lint:disable NoPlainNodes
%span.badge.badge-pill.js-custom-monitored-count 0 %span.badge.badge-pill.js-custom-monitored-count 0
-# haml-lint:enable NoPlainNodes -# haml-lint:enable NoPlainNodes
= link_to s_('PrometheusService|New metric'), new_project_prometheus_metric_path(project), class: 'btn btn-success js-new-metric-button hidden', data: { qa_selector: 'new_metric_button' } = link_to s_('PrometheusService|New metric'), new_project_prometheus_metric_path(project), class: 'btn gl-button btn-success js-new-metric-button hidden', data: { qa_selector: 'new_metric_button' }
.card-body .card-body
.flash-container.hidden .flash-container.hidden
.flash-warning .flash-warning
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment