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
76cc7bb9
Commit
76cc7bb9
authored
Aug 05, 2020
by
Dhiraj Bodicherla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix monitoring add panel page for small viewports
parent
ab38e6c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
app/assets/javascripts/monitoring/components/dashboard_panel_builder.vue
...scripts/monitoring/components/dashboard_panel_builder.vue
+10
-3
No files found.
app/assets/javascripts/monitoring/components/dashboard_panel_builder.vue
View file @
76cc7bb9
...
...
@@ -55,7 +55,7 @@ export default {
</
script
>
<
template
>
<div>
<div
class=
"gl-display-flex gl-mx-n3"
>
<div
class=
"gl-
xs-flex-direction-column gl-
display-flex gl-mx-n3"
>
<gl-card
class=
"gl-flex-grow-1 gl-flex-basis-0 gl-mx-3"
>
<template
#header
>
<h2
class=
"gl-font-size-h2 gl-my-3"
>
{{
s__
(
'
Metrics|1. Define and preview panel
'
)
}}
</h2>
...
...
@@ -76,6 +76,7 @@ export default {
variant=
"success"
category=
"secondary"
:data-clipboard-text=
"yml"
class=
"gl-xs-w-full gl-xs-mb-3"
@
click=
"$toast.show(s__('Metrics|Panel YAML copied'))"
>
{{
s__
(
'
Metrics|Copy YAML
'
)
}}
...
...
@@ -84,7 +85,7 @@ export default {
type=
"submit"
variant=
"success"
:disabled=
"panelPreviewIsLoading"
class=
"js-no-auto-disable"
class=
"js-no-auto-disable
gl-xs-w-full
"
>
{{
s__
(
'
Metrics|Preview panel
'
)
}}
</gl-button>
...
...
@@ -127,13 +128,19 @@ export default {
<gl-button
ref=
"viewDocumentationBtn"
category=
"secondary"
class=
"gl-xs-w-full gl-xs-mb-3"
variant=
"info"
target=
"_blank"
:href=
"addDashboardDocumentationPath"
>
{{ s__('Metrics|View documentation') }}
</gl-button>
<gl-button
ref=
"openRepositoryBtn"
variant=
"success"
:href=
"projectPath"
>
<gl-button
ref=
"openRepositoryBtn"
variant=
"success"
:href=
"projectPath"
class=
"gl-xs-w-full"
>
{{ s__('Metrics|Open repository') }}
</gl-button>
</div>
...
...
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