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
6c9312cd
Commit
6c9312cd
authored
Apr 30, 2020
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates component with dropdown
parent
a3ab57df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
14 deletions
+11
-14
app/assets/javascripts/alert_management/components/alert_details.vue
...javascripts/alert_management/components/alert_details.vue
+11
-14
No files found.
app/assets/javascripts/alert_management/components/alert_details.vue
View file @
6c9312cd
...
...
@@ -2,9 +2,6 @@
import
{
GlNewDropdown
,
GlNewDropdownItem
,
GlTabs
,
GlTab
}
from
'
@gitlab/ui
'
;
import
{
s__
}
from
'
~/locale
'
;
/* eslint-disable import/no-commonjs */
const
mock
=
require
(
'
./alerts.json
'
);
export
default
{
statuses
:
{
triggered
:
s__
(
'
AlertManagement|Triggered
'
),
...
...
@@ -25,7 +22,17 @@ export default {
</
script
>
<
template
>
<div>
<div
class=
"d-flex justify-content-between"
>
<div
class=
"d-flex justify-content-between border-bottom pb-2 pt-1"
>
<gl-new-dropdown
class=
"align-self-center"
right
>
<gl-new-dropdown-item
v-for=
"(label, field) in $options.statuses"
:key=
"field"
class=
"align-middle"
>
{{
label
}}
</gl-new-dropdown-item>
</gl-new-dropdown>
</div>
<div
class=
"d-flex"
>
<gl-tabs>
<gl-tab
data-testid=
"overviewTab"
:title=
"$options.i18n.overviewTitle"
>
<ul
class=
"pl-3"
>
...
...
@@ -43,15 +50,5 @@ export default {
<gl-tab
data-testid=
"fullDetailsTab"
:title=
"$options.i18n.fullAlertDetailsTitle"
/>
</gl-tabs>
</div>
<div
class=
"d-flex justify-content-between"
>
<gl-new-dropdown
:text=
"alertDetails[0].status"
>
<gl-new-dropdown-item
v-for=
"(label, field) in $options.statuses"
:key=
"field"
class=
"align-middle"
>
{{
label
}}
</gl-new-dropdown-item>
</gl-new-dropdown>
</div>
</div>
</
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