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
fce45a23
Commit
fce45a23
authored
Oct 23, 2020
by
Olena Horal-Koretska
Committed by
Jose Ivan Vargas
Oct 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert alert-management/details.scss into page specific bundle
parent
cf605972
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
14 deletions
+18
-14
app/assets/stylesheets/_page_specific_files.scss
app/assets/stylesheets/_page_specific_files.scss
+0
-2
app/assets/stylesheets/components/severity/icons.scss
app/assets/stylesheets/components/severity/icons.scss
+6
-6
app/assets/stylesheets/page_bundles/alert_management_details.scss
...ts/stylesheets/page_bundles/alert_management_details.scss
+10
-6
app/views/projects/alert_management/details.html.haml
app/views/projects/alert_management/details.html.haml
+1
-0
config/application.rb
config/application.rb
+1
-0
No files found.
app/assets/stylesheets/_page_specific_files.scss
View file @
fce45a23
@import
'./pages/admin'
;
@import
'./pages/alert_management/details'
;
@import
'./pages/alert_management/severity-icons'
;
@import
'./pages/branches'
;
@import
'./pages/builds'
;
@import
'./pages/ci_projects'
;
...
...
app/assets/stylesheets/
pages/alert_management/severity-
icons.scss
→
app/assets/stylesheets/
components/severity/
icons.scss
View file @
fce45a23
...
...
@@ -2,26 +2,26 @@
.incident-management-list
,
.alert-management-details
{
.icon-critical
{
color
:
$
red-800
;
@include
gl-text-
red-800
;
}
.icon-high
{
color
:
$
red-600
;
@include
gl-text-
red-600
;
}
.icon-medium
{
color
:
$
orange-400
;
@include
gl-text-
orange-400
;
}
.icon-low
{
color
:
$
orange-300
;
@include
gl-text-
orange-300
;
}
.icon-info
{
color
:
$
blue-400
;
@include
gl-text-
blue-400
;
}
.icon-unknown
{
color
:
$
gray-200
;
@include
gl-text-
gray-200
;
}
}
app/assets/stylesheets/page
s/alert_management/
details.scss
→
app/assets/stylesheets/page
_bundles/alert_management_
details.scss
View file @
fce45a23
@import
'mixins_and_variables_and_functions'
;
.alert-management-details
{
@include
media-breakpoint-down
(
xs
)
{
.alert-details-incident-button
{
width
:
100%
;
@include
gl-w-full
;
}
}
.toggle-sidebar-mobile-button
{
right
:
0
;
@include
gl-right-
0
;
}
.dropdown-menu-toggle
{
&
:hover
{
background-color
:
$
white
;
@include
gl-bg-
white
;
}
}
.assignee-dropdown-item
{
.dropdown-item
{
display
:
flex
;
align-items
:
center
;
@include
gl-display-
flex
;
@include
gl-align-items-
center
;
&
:
:
before
{
top
:
50%
!
important
;
...
...
@@ -26,7 +28,9 @@
&
.is-active
{
&
:last-child
{
border-bottom
:
1px
solid
$gray-100
;
@include
gl-border-b-gray-100
;
@include
gl-border-b-1
;
@include
gl-border-b-solid
;
}
}
}
...
...
app/views/projects/alert_management/details.html.haml
View file @
fce45a23
-
add_to_breadcrumbs
s_
(
'AlertManagement|Alerts'
),
project_alert_management_index_path
(
@project
)
-
page_title
s_
(
'AlertManagement|Alert detail'
)
-
add_page_specific_style
'page_bundles/alert_management_details'
#js-alert_details
{
data:
alert_management_detail_data
(
@project
,
@alert_id
)
}
config/application.rb
View file @
fce45a23
...
...
@@ -197,6 +197,7 @@ module Gitlab
config
.
assets
.
precompile
<<
"page_bundles/reports.css"
config
.
assets
.
precompile
<<
"page_bundles/xterm.css"
config
.
assets
.
precompile
<<
"page_bundles/wiki.css"
config
.
assets
.
precompile
<<
"page_bundles/alert_management_details.css"
config
.
assets
.
precompile
<<
"lazy_bundles/cropper.css"
config
.
assets
.
precompile
<<
"performance_bar.css"
config
.
assets
.
precompile
<<
"lib/ace.js"
...
...
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