summaryrefslogtreecommitdiff
path: root/app/views/projects/services
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-06-01 21:24:56 +0530
committerkushalpandya <kushal@gitlab.com>2017-06-01 21:25:45 +0530
commit3f0eff82592f4a30abb6ffd15ac248a5f773c994 (patch)
tree5de7d573720215becb0bc82e038f97e0fa1a772a /app/views/projects/services
parent4c58fd82df71e1a8a4389cbbb8a5ea3b0186291c (diff)
downloadgitlab-ce-3f0eff82592f4a30abb6ffd15ac248a5f773c994.tar.gz
Update as per review feedback
Diffstat (limited to 'app/views/projects/services')
-rw-r--r--app/views/projects/services/prometheus/_show.html.haml14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/projects/services/prometheus/_show.html.haml b/app/views/projects/services/prometheus/_show.html.haml
index 82d4dd2488f..f0bd8c8bee9 100644
--- a/app/views/projects/services/prometheus/_show.html.haml
+++ b/app/views/projects/services/prometheus/_show.html.haml
@@ -11,28 +11,28 @@
= link_to 'More information', '#'
.col-lg-9
- .panel.panel-default.js-panel-monitored-metrics{ data: { "active-metrics" => "#{namespace_project_prometheus_active_metrics_path(@project.namespace, @project)}.json" } }
+ .panel.panel-default.js-panel-monitored-metrics{ data: { "active-metrics" => "#{namespace_project_prometheus_active_metrics_path(@project.namespace, @project, :json)}" } }
.panel-heading
%h3.panel-title
Monitored
- %span.badge-count.js-monitored-count 0
+ %span.badge.js-monitored-count 0
.panel-body
.loading-metrics.js-loading-metrics
- = icon('spinner spin 3x')
+ = icon('spinner spin 3x', class: 'metrics-load-spinner')
%p Finding and configuring metrics...
.empty-metrics.hidden.js-empty-metrics
= custom_icon('icon_empty_metrics')
%p No metrics are being monitored. To start monitoring, deploy to an environment.
= link_to project_environments_path(@project), title: 'View environments', class: 'btn btn-success' do
View environments
- %ul.metrics-list.hidden.js-metrics-list
+ %ul.list-unstyled.metrics-list.hidden.js-metrics-list
.panel.panel-default.hidden.js-panel-missing-env-vars
.panel-heading
%h3.panel-title
- = icon('caret-right lg', class: 'panel-toggle js-panel-toggle', 'aria-label' => 'Toggle panel')
+ = icon('caret-right lg fw', class: 'panel-toggle js-panel-toggle', 'aria-label' => 'Toggle panel')
Missing environment variable
- %span.badge-count.js-env-var-count 0
+ %span.badge.js-env-var-count 0
.panel-body.hidden
.flash-container
.flash-notice
@@ -42,4 +42,4 @@
$CI_ENVIRONMENT_SLUG
to exporter&rsquo;s queries.
= link_to 'More information', '#'
- %ul.metrics-list.js-missing-var-metrics-list
+ %ul.list-unstyled.metrics-list.js-missing-var-metrics-list