mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
Changing textarea input color
For textarea elements that don't get CodeMirror attached.
This commit is contained in:
parent
9fa6d74efc
commit
3fbbd4f234
@ -141,12 +141,19 @@
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.Form-textArea{
|
||||
.Form-textAreaLabel{
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.Form-textArea{
|
||||
background-color: @field-secondary-bg!important;
|
||||
background-color: @field-secondary-bg!important;
|
||||
border-radius: 5px;
|
||||
color: @field-input-text;
|
||||
}
|
||||
|
||||
.Form-textInput{
|
||||
height: 30px;
|
||||
height: 30px!important;
|
||||
background-color: @field-secondary-bg!important;
|
||||
border-radius: 5px;
|
||||
border:1px solid @field-border;
|
||||
|
||||
@ -41,7 +41,7 @@ export default
|
||||
changes: {
|
||||
label: 'Changes',
|
||||
type: 'textarea',
|
||||
class: 'Form-textArea',
|
||||
class: 'Form-textAreaLabel',
|
||||
ngHide: "!changes || changes =='' || changes == 'null'",
|
||||
readonly: true
|
||||
}
|
||||
|
||||
@ -263,7 +263,7 @@ export default
|
||||
variable: 'key_required',
|
||||
init: true
|
||||
},
|
||||
class: 'Form-textArea',
|
||||
class: 'Form-textAreaLabel',
|
||||
hintText: "{{ key_hint }}",
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
|
||||
@ -39,7 +39,7 @@ export default
|
||||
variables: {
|
||||
label: 'Variables',
|
||||
type: 'textarea',
|
||||
class: 'Form-textArea',
|
||||
class: 'Form-textAreaLabel',
|
||||
addRequired: false,
|
||||
editRequird: false,
|
||||
rows: 12,
|
||||
|
||||
@ -173,7 +173,7 @@ export default
|
||||
},
|
||||
job_tags: {
|
||||
label: 'Job Tags',
|
||||
type: 'text',
|
||||
type: 'textarea',
|
||||
rows: 1,
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
@ -192,7 +192,7 @@ export default
|
||||
variables: {
|
||||
label: 'Extra Variables',
|
||||
type: 'textarea',
|
||||
class: 'Form-textArea',
|
||||
class: 'Form-textAreaLabel',
|
||||
rows: 6,
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
|
||||
@ -126,7 +126,7 @@ export default
|
||||
label: 'Environment Variables', //"{{vars_label}}" ,
|
||||
ngShow: "source && source.value=='custom' ",
|
||||
type: 'textarea',
|
||||
class: 'Form-textArea',
|
||||
class: 'Form-textAreaLabel',
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
rows: 6,
|
||||
@ -145,7 +145,7 @@ export default
|
||||
label: 'Source Variables', //"{{vars_label}}" ,
|
||||
ngShow: "source && (source.value == 'file' || source.value == 'ec2')",
|
||||
type: 'textarea',
|
||||
class: 'Form-textArea',
|
||||
class: 'Form-textAreaLabel',
|
||||
addRequired: false,
|
||||
editRequird: false,
|
||||
rows: 6,
|
||||
@ -172,7 +172,7 @@ export default
|
||||
"source.value == 'openstack')",
|
||||
type: 'textarea',
|
||||
addRequired: false,
|
||||
class: 'Form-textArea',
|
||||
class: 'Form-textAreaLabel',
|
||||
editRequird: false,
|
||||
rows: 6,
|
||||
'default': '---',
|
||||
|
||||
@ -1043,9 +1043,9 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
html += (field.rows) ? this.attr(field, 'rows') : "";
|
||||
html += "ng-model=\"" + fld + '" ';
|
||||
html += 'name="' + fld + '" ';
|
||||
html += "class=\"form-control";
|
||||
html += "class=\"form-control Form-textArea";
|
||||
html += (field['class']) ? " " + field['class'] : "";
|
||||
html += (field['elementClass']) ? " " + field['elementClass'] : "";
|
||||
html += (field['elementClass']) ? " " + field['elementClass'] : "";
|
||||
html += "\" ";
|
||||
html += (field.ngChange) ? this.attr(field, 'ngChange') : "";
|
||||
html += buildId(field, fld, this.form);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user