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
1f62b918
Commit
1f62b918
authored
Dec 16, 2021
by
anna_vovchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated badges to the Pajamas-compliant component
parent
a6dec7d9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
app/views/projects/services/prometheus/_custom_metrics.html.haml
...ws/projects/services/prometheus/_custom_metrics.html.haml
+1
-3
app/views/projects/services/prometheus/_metrics.html.haml
app/views/projects/services/prometheus/_metrics.html.haml
+2
-2
No files found.
app/views/projects/services/prometheus/_custom_metrics.html.haml
View file @
1f62b918
...
...
@@ -10,9 +10,7 @@
.card-header
%strong
=
s_
(
'PrometheusService|Custom metrics'
)
-# haml-lint:disable NoPlainNodes
%span
.badge.badge-pill.js-custom-monitored-count
0
-# haml-lint:enable NoPlainNodes
=
gl_badge_tag
0
,
nil
,
class:
'js-custom-monitored-count'
=
link_to
s_
(
'PrometheusService|New metric'
),
new_project_prometheus_metric_path
(
project
),
class:
'btn gl-button btn-confirm gl-ml-auto js-new-metric-button hidden'
,
data:
{
qa_selector:
'new_metric_button'
}
.card-body
.flash-container.hidden
...
...
app/views/projects/services/prometheus/_metrics.html.haml
View file @
1f62b918
...
...
@@ -12,7 +12,7 @@
.card-header
%strong
=
s_
(
'PrometheusService|Common metrics'
)
%span
.badge.badge-pill.js-monitored-count
0
=
gl_badge_tag
0
,
nil
,
class:
'js-monitored-count'
.card-body
.loading-metrics.js-loading-metrics
%p
.m-3
...
...
@@ -28,7 +28,7 @@
=
sprite_icon
(
'chevron-lg-right'
,
css_class:
'panel-toggle js-panel-toggle-right'
)
=
sprite_icon
(
'chevron-lg-down'
,
css_class:
'panel-toggle js-panel-toggle-down hidden'
)
=
s_
(
'PrometheusService|Missing environment variable'
)
%span
.badge.badge-pill.js-env-var-count
0
=
gl_badge_tag
0
,
nil
,
class:
'js-env-var-count'
.card-body.hidden
.flash-container
.flash-notice
...
...
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