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
73e6db84
Commit
73e6db84
authored
Apr 12, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces CSS with BS4 utility class
parent
7457c1e1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
app/assets/stylesheets/pages/pipeline_schedules.scss
app/assets/stylesheets/pages/pipeline_schedules.scss
+1
-6
app/views/projects/pipeline_schedules/_form.html.haml
app/views/projects/pipeline_schedules/_form.html.haml
+3
-3
changelogs/unreleased/59921-pipeline-schedule.yml
changelogs/unreleased/59921-pipeline-schedule.yml
+5
-0
No files found.
app/assets/stylesheets/pages/pipeline_schedules.scss
View file @
73e6db84
.js-pipeline-schedule-form
{
.dropdown-select
,
.dropdown-menu-toggle
{
width
:
100%
!
important
;
}
.pipeline-schedule-form
{
.gl-field-error
{
margin
:
10px
0
0
;
}
...
...
app/views/projects/pipeline_schedules/_form.html.haml
View file @
73e6db84
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@schedule
],
as: :schedule
,
html:
{
id:
"new-pipeline-schedule-form"
,
class:
"js-pipeline-schedule-form"
}
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@schedule
],
as: :schedule
,
html:
{
id:
"new-pipeline-schedule-form"
,
class:
"js-pipeline-schedule-form
pipeline-schedule-form
"
}
do
|
f
|
=
form_errors
(
@schedule
)
.form-group.row
.col-md-9
...
...
@@ -11,12 +11,12 @@
.form-group.row
.col-md-9
=
f
.
label
:cron_timezone
,
_
(
'Cron Timezone'
),
class:
'label-bold'
=
dropdown_tag
(
_
(
"Select a timezone"
),
options:
{
toggle_class:
'btn js-timezone-dropdown'
,
title:
_
(
"Select a timezone"
),
filter:
true
,
placeholder:
s_
(
"OfSearchInADropdown|Filter"
),
data:
{
data:
timezone_data
}
}
)
=
dropdown_tag
(
_
(
"Select a timezone"
),
options:
{
toggle_class:
'btn js-timezone-dropdown
w-100'
,
dropdown_class:
'w-100
'
,
title:
_
(
"Select a timezone"
),
filter:
true
,
placeholder:
s_
(
"OfSearchInADropdown|Filter"
),
data:
{
data:
timezone_data
}
}
)
=
f
.
text_field
:cron_timezone
,
value:
@schedule
.
cron_timezone
,
id:
'schedule_cron_timezone'
,
class:
'hidden'
,
name:
'schedule[cron_timezone]'
,
required:
true
.form-group.row
.col-md-9
=
f
.
label
:ref
,
_
(
'Target Branch'
),
class:
'label-bold'
=
dropdown_tag
(
_
(
"Select target branch"
),
options:
{
toggle_class:
'btn js-target-branch-dropdown
'
,
dropdown_class:
'git-revision-dropdown
'
,
title:
_
(
"Select target branch"
),
filter:
true
,
placeholder:
s_
(
"OfSearchInADropdown|Filter"
),
data:
{
data:
@project
.
repository
.
branch_names
,
default_branch:
@project
.
default_branch
}
}
)
=
dropdown_tag
(
_
(
"Select target branch"
),
options:
{
toggle_class:
'btn js-target-branch-dropdown
w-100'
,
dropdown_class:
'git-revision-dropdown w-100
'
,
title:
_
(
"Select target branch"
),
filter:
true
,
placeholder:
s_
(
"OfSearchInADropdown|Filter"
),
data:
{
data:
@project
.
repository
.
branch_names
,
default_branch:
@project
.
default_branch
}
}
)
=
f
.
text_field
:ref
,
value:
@schedule
.
ref
,
id:
'schedule_ref'
,
class:
'hidden'
,
name:
'schedule[ref]'
,
required:
true
.form-group.row.js-ci-variable-list-section
.col-md-9
...
...
changelogs/unreleased/59921-pipeline-schedule.yml
0 → 100644
View file @
73e6db84
---
title
:
Replaces CSS with BS4 utility class for pipeline schedules
merge_request
:
author
:
type
:
other
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