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
2250d09d
Commit
2250d09d
authored
Oct 26, 2020
by
Payton Burdette
Committed by
Simon Knox
Oct 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move pipeline schedule css
Move css into a page specific bundle for performance.
parent
6fa24fe5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
8 deletions
+12
-8
app/assets/stylesheets/_page_specific_files.scss
app/assets/stylesheets/_page_specific_files.scss
+0
-1
app/assets/stylesheets/page_bundles/pipeline_schedules.scss
app/assets/stylesheets/page_bundles/pipeline_schedules.scss
+6
-4
app/views/projects/pipeline_schedules/edit.html.haml
app/views/projects/pipeline_schedules/edit.html.haml
+1
-0
app/views/projects/pipeline_schedules/index.html.haml
app/views/projects/pipeline_schedules/index.html.haml
+1
-1
app/views/projects/pipeline_schedules/new.html.haml
app/views/projects/pipeline_schedules/new.html.haml
+1
-0
config/application.rb
config/application.rb
+3
-2
No files found.
app/assets/stylesheets/_page_specific_files.scss
View file @
2250d09d
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
@import
'./pages/notes'
;
@import
'./pages/notes'
;
@import
'./pages/notifications'
;
@import
'./pages/notifications'
;
@import
'./pages/pages'
;
@import
'./pages/pages'
;
@import
'./pages/pipeline_schedules'
;
@import
'./pages/pipelines'
;
@import
'./pages/pipelines'
;
@import
'./pages/profile'
;
@import
'./pages/profile'
;
@import
'./pages/profiles/preferences'
;
@import
'./pages/profiles/preferences'
;
...
...
app/assets/stylesheets/pages/pipeline_schedules.scss
→
app/assets/stylesheets/page
_bundle
s/pipeline_schedules.scss
View file @
2250d09d
@import
'mixins_and_variables_and_functions'
;
.pipeline-schedule-form
{
.pipeline-schedule-form
{
.gl-field-error
{
.gl-field-error
{
margin
:
10px
0
0
;
margin
:
10px
0
0
;
...
@@ -32,11 +34,11 @@
...
@@ -32,11 +34,11 @@
}
}
.next-run-cell
{
.next-run-cell
{
color
:
$gl-text-color-secondary
;
color
:
var
(
--
gray-500
,
$gray-500
)
;
}
}
a
{
a
{
color
:
$text-color
;
color
:
var
(
--
gl-text-color
,
$gl-text-color
)
;
}
}
svg
{
svg
{
...
@@ -46,13 +48,13 @@
...
@@ -46,13 +48,13 @@
.pipeline-schedules-user-callout
{
.pipeline-schedules-user-callout
{
.bordered-box.content-block
{
.bordered-box.content-block
{
border
:
1px
solid
$border-color
;
border
:
1px
solid
var
(
--
border-color
,
$border-color
)
;
background-color
:
transparent
;
background-color
:
transparent
;
padding
:
16px
;
padding
:
16px
;
}
}
#dismiss-callout-btn
{
#dismiss-callout-btn
{
color
:
$gl-text-color
;
color
:
var
(
--
gl-text-color
,
$gl-text-color
)
;
}
}
}
}
...
...
app/views/projects/pipeline_schedules/edit.html.haml
View file @
2250d09d
-
add_to_breadcrumbs
_
(
"Schedules"
),
pipeline_schedules_path
(
@project
)
-
add_to_breadcrumbs
_
(
"Schedules"
),
pipeline_schedules_path
(
@project
)
-
breadcrumb_title
"#
#{
@schedule
.
id
}
"
-
breadcrumb_title
"#
#{
@schedule
.
id
}
"
-
page_title
_
(
"Edit"
),
@schedule
.
description
,
_
(
"Pipeline Schedule"
)
-
page_title
_
(
"Edit"
),
@schedule
.
description
,
_
(
"Pipeline Schedule"
)
-
add_page_specific_style
'page_bundles/pipeline_schedules'
%h3
.page-title
%h3
.page-title
=
_
(
"Edit Pipeline Schedule %{id}"
)
%
{
id:
@schedule
.
id
}
=
_
(
"Edit Pipeline Schedule %{id}"
)
%
{
id:
@schedule
.
id
}
...
...
app/views/projects/pipeline_schedules/index.html.haml
View file @
2250d09d
-
breadcrumb_title
_
(
"Schedules"
)
-
breadcrumb_title
_
(
"Schedules"
)
-
page_title
_
(
"Pipeline Schedules"
)
-
page_title
_
(
"Pipeline Schedules"
)
-
add_page_specific_style
'page_bundles/pipeline_schedules'
#pipeline-schedules-callout
{
data:
{
docs_url:
help_page_path
(
'ci/pipelines/schedules'
),
image_url:
image_path
(
'illustrations/pipeline_schedule_callout.svg'
)
}
}
#pipeline-schedules-callout
{
data:
{
docs_url:
help_page_path
(
'ci/pipelines/schedules'
),
image_url:
image_path
(
'illustrations/pipeline_schedule_callout.svg'
)
}
}
.top-area
.top-area
...
...
app/views/projects/pipeline_schedules/new.html.haml
View file @
2250d09d
-
breadcrumb_title
"Schedules"
-
breadcrumb_title
"Schedules"
-
@breadcrumb_link
=
namespace_project_pipeline_schedules_path
(
@project
.
namespace
,
@project
)
-
@breadcrumb_link
=
namespace_project_pipeline_schedules_path
(
@project
.
namespace
,
@project
)
-
page_title
_
(
"New Pipeline Schedule"
)
-
page_title
_
(
"New Pipeline Schedule"
)
-
add_page_specific_style
'page_bundles/pipeline_schedules'
-
add_to_breadcrumbs
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
add_to_breadcrumbs
(
"Pipelines"
,
project_pipelines_path
(
@project
))
...
...
config/application.rb
View file @
2250d09d
...
@@ -174,6 +174,7 @@ module Gitlab
...
@@ -174,6 +174,7 @@ module Gitlab
config
.
assets
.
precompile
<<
"notify.css"
config
.
assets
.
precompile
<<
"notify.css"
config
.
assets
.
precompile
<<
"mailers/*.css"
config
.
assets
.
precompile
<<
"mailers/*.css"
config
.
assets
.
precompile
<<
"page_bundles/_mixins_and_variables_and_functions.css"
config
.
assets
.
precompile
<<
"page_bundles/_mixins_and_variables_and_functions.css"
config
.
assets
.
precompile
<<
"page_bundles/alert_management_details.css"
config
.
assets
.
precompile
<<
"page_bundles/boards.css"
config
.
assets
.
precompile
<<
"page_bundles/boards.css"
config
.
assets
.
precompile
<<
"page_bundles/ci_status.css"
config
.
assets
.
precompile
<<
"page_bundles/ci_status.css"
config
.
assets
.
precompile
<<
"page_bundles/cycle_analytics.css"
config
.
assets
.
precompile
<<
"page_bundles/cycle_analytics.css"
...
@@ -191,13 +192,13 @@ module Gitlab
...
@@ -191,13 +192,13 @@ module Gitlab
config
.
assets
.
precompile
<<
"page_bundles/milestone.css"
config
.
assets
.
precompile
<<
"page_bundles/milestone.css"
config
.
assets
.
precompile
<<
"page_bundles/pipeline.css"
config
.
assets
.
precompile
<<
"page_bundles/pipeline.css"
config
.
assets
.
precompile
<<
"page_bundles/pipelines.css"
config
.
assets
.
precompile
<<
"page_bundles/pipelines.css"
config
.
assets
.
precompile
<<
"page_bundles/pipeline_schedules.css"
config
.
assets
.
precompile
<<
"page_bundles/productivity_analytics.css"
config
.
assets
.
precompile
<<
"page_bundles/productivity_analytics.css"
config
.
assets
.
precompile
<<
"page_bundles/terminal.css"
config
.
assets
.
precompile
<<
"page_bundles/terminal.css"
config
.
assets
.
precompile
<<
"page_bundles/todos.css"
config
.
assets
.
precompile
<<
"page_bundles/todos.css"
config
.
assets
.
precompile
<<
"page_bundles/reports.css"
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/wiki.css"
config
.
assets
.
precompile
<<
"page_bundles/
alert_management_details
.css"
config
.
assets
.
precompile
<<
"page_bundles/
xterm
.css"
config
.
assets
.
precompile
<<
"lazy_bundles/cropper.css"
config
.
assets
.
precompile
<<
"lazy_bundles/cropper.css"
config
.
assets
.
precompile
<<
"performance_bar.css"
config
.
assets
.
precompile
<<
"performance_bar.css"
config
.
assets
.
precompile
<<
"lib/ace.js"
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