Commit 1e4da3e0 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'gl-form-new-schedule' into 'master'

Apply gl-form-input for fields in new schedule page

See merge request gitlab-org/gitlab!58015
parents c5941593 279a455b
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
v-model="cronInterval" v-model="cronInterval"
:placeholder="__('Define a custom pattern with cron syntax')" :placeholder="__('Define a custom pattern with cron syntax')"
:name="inputNameAttribute" :name="inputNameAttribute"
class="form-control inline cron-interval-input" class="form-control inline cron-interval-input gl-form-input"
type="text" type="text"
required="true" required="true"
@input="onCustomInput" @input="onCustomInput"
......
...@@ -25,14 +25,14 @@ ...@@ -25,14 +25,14 @@
%input.js-ci-variable-input-destroy{ type: "hidden", name: destroy_input_name } %input.js-ci-variable-input-destroy{ type: "hidden", name: destroy_input_name }
%select.js-ci-variable-input-variable-type.ci-variable-body-item.form-control.select-control.custom-select.table-section.section-15{ name: variable_type_input_name } %select.js-ci-variable-input-variable-type.ci-variable-body-item.form-control.select-control.custom-select.table-section.section-15{ name: variable_type_input_name }
= options_for_select(ci_variable_type_options, variable_type) = options_for_select(ci_variable_type_options, variable_type)
%input.js-ci-variable-input-key.ci-variable-body-item.qa-ci-variable-input-key.form-control.table-section.section-15{ type: "text", %input.js-ci-variable-input-key.ci-variable-body-item.qa-ci-variable-input-key.form-control.gl-form-input.table-section.section-15{ type: "text",
name: key_input_name, name: key_input_name,
value: key, value: key,
placeholder: s_('CiVariables|Input variable key') } placeholder: s_('CiVariables|Input variable key') }
.ci-variable-body-item.gl-show-field-errors.table-section.section-15.border-top-0.p-0 .ci-variable-body-item.gl-show-field-errors.table-section.section-15.border-top-0.p-0
.form-control.js-secret-value-placeholder.qa-ci-variable-input-value.overflow-hidden{ class: ('hide' unless id) } .form-control.js-secret-value-placeholder.qa-ci-variable-input-value.overflow-hidden{ class: ('hide' unless id) }
= '*' * 17 = '*' * 17
%textarea.js-ci-variable-input-value.js-secret-value.qa-ci-variable-input-value.form-control{ class: ('hide' if id), %textarea.js-ci-variable-input-value.js-secret-value.qa-ci-variable-input-value.form-control.gl-form-input{ class: ('hide' if id),
rows: 1, rows: 1,
name: value_input_name, name: value_input_name,
placeholder: s_('CiVariables|Input variable value') } placeholder: s_('CiVariables|Input variable value') }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
.form-group.row .form-group.row
.col-md-9 .col-md-9
= f.label :description, _('Description'), class: 'label-bold' = f.label :description, _('Description'), class: 'label-bold'
= f.text_field :description, class: 'form-control', required: true, autofocus: true, placeholder: s_('PipelineSchedules|Provide a short description for this pipeline') = f.text_field :description, class: 'form-control gl-form-input', required: true, autofocus: true, placeholder: s_('PipelineSchedules|Provide a short description for this pipeline')
.form-group.row .form-group.row
.col-md-9 .col-md-9
= f.label :cron, _('Interval Pattern'), class: 'label-bold' = f.label :cron, _('Interval Pattern'), class: 'label-bold'
......
---
title: Apply gl-form-input for fields in new schedule page
merge_request: 58015
author: Yogi (@yo)
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment