Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c7b717e2
Commit
c7b717e2
authored
Sep 18, 2020
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gl-button to services/prometheus
parent
fd814258
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/projects/services/prometheus/_configuration_banner.html.haml
...jects/services/prometheus/_configuration_banner.html.haml
+2
-2
app/views/projects/services/prometheus/_custom_metrics.html.haml
...ws/projects/services/prometheus/_custom_metrics.html.haml
+1
-1
No files found.
app/views/projects/services/prometheus/_configuration_banner.html.haml
View file @
c7b717e2
...
...
@@ -14,13 +14,13 @@
.col-sm-10
%p
.text-success.gl-mt-3
=
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
.col-sm-2
=
image_tag
'illustrations/monitoring/loading.svg'
.col-sm-10
%p
.gl-mt-3
=
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
app/views/projects/services/prometheus/_custom_metrics.html.haml
View file @
c7b717e2
...
...
@@ -13,7 +13,7 @@
-# haml-lint:disable NoPlainNodes
%span
.badge.badge-pill.js-custom-monitored-count
0
-# 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
.flash-container.hidden
.flash-warning
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment