Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-03-28 22:00:00 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2017-04-03 18:38:16 +0300
commitb4795830026fc1fd361e2dace64a70abeb0cd7ae (patch)
tree74037853e54034fabf98f3033e60caeef5f6a6c3 /app/views/projects/environments
parentdff378d7fe1d8a66c60abb50ebe6d297e09b8820 (diff)
Added a formatRelevantDigits text utility
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/metrics.html.haml12
1 files changed, 2 insertions, 10 deletions
diff --git a/app/views/projects/environments/metrics.html.haml b/app/views/projects/environments/metrics.html.haml
index cfff0428fbd..5627192c36c 100644
--- a/app/views/projects/environments/metrics.html.haml
+++ b/app/views/projects/environments/metrics.html.haml
@@ -19,16 +19,8 @@
= render 'projects/deployments/actions', deployment: @environment.last_deployment
.row
.col-sm-12
- .row
- .col-sm-10
- %h4
- CPU utilization
- .col-sm-2.form-horizontal
- .form-group
- %label{ for: 'decimal_format', class:'control-label col-sm-6' }
- Format
- .col-sm-6
- %input.form-control{ name: 'decimal_format', type: 'number', value: '4', 'graph-type': 'cpu_values', min: '1' }
+ %h4
+ CPU utilization
%svg.prometheus-graph{ 'graph-type' => 'cpu_values' }
.row
.col-sm-12