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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
283183d8
Commit
283183d8
authored
Feb 22, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove prometheus panel styling on cluster monitoring page
parent
999ea368
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
app/assets/javascripts/monitoring/components/dashboard.vue
app/assets/javascripts/monitoring/components/dashboard.vue
+6
-0
app/assets/javascripts/monitoring/components/graph_group.vue
app/assets/javascripts/monitoring/components/graph_group.vue
+15
-1
No files found.
app/assets/javascripts/monitoring/components/dashboard.vue
View file @
283183d8
...
@@ -26,6 +26,11 @@
...
@@ -26,6 +26,11 @@
required
:
false
,
required
:
false
,
default
:
true
,
default
:
true
,
},
},
showPanels
:
{
type
:
Boolean
,
required
:
false
,
default
:
true
,
},
forceSmallGraph
:
{
forceSmallGraph
:
{
type
:
Boolean
,
type
:
Boolean
,
required
:
false
,
required
:
false
,
...
@@ -159,6 +164,7 @@
...
@@ -159,6 +164,7 @@
v-for=
"(groupData, index) in store.groups"
v-for=
"(groupData, index) in store.groups"
:key=
"index"
:key=
"index"
:name=
"groupData.group"
:name=
"groupData.group"
:show-panels=
"showPanels"
>
>
<graph
<graph
v-for=
"(graphData, index) in groupData.metrics"
v-for=
"(graphData, index) in groupData.metrics"
...
...
app/assets/javascripts/monitoring/components/graph_group.vue
View file @
283183d8
...
@@ -5,12 +5,20 @@
...
@@ -5,12 +5,20 @@
type
:
String
,
type
:
String
,
required
:
true
,
required
:
true
,
},
},
showPanels
:
{
type
:
Boolean
,
required
:
false
,
default
:
true
,
},
},
},
};
};
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"panel panel-default prometheus-panel"
>
<div
v-if=
"showPanels"
class=
"panel panel-default prometheus-panel"
>
<div
class=
"panel-heading"
>
<div
class=
"panel-heading"
>
<h4>
{{
name
}}
</h4>
<h4>
{{
name
}}
</h4>
</div>
</div>
...
@@ -18,4 +26,10 @@
...
@@ -18,4 +26,10 @@
<slot></slot>
<slot></slot>
</div>
</div>
</div>
</div>
<div
v-else
class=
"prometheus-graph-group"
>
<slot></slot>
</div>
</
template
>
</
template
>
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