mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Fixing width of textarea fields
like extra vars/inv script
This commit is contained in:
parent
71ea4cb465
commit
8a1d06789b
@ -156,9 +156,14 @@
|
||||
flex: 1 0 auto;
|
||||
margin-bottom: 20px;
|
||||
width: 33%;
|
||||
max-width: 33%;
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.Form-formGroup--fullWidth {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.Form-subForm {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
@ -481,10 +486,6 @@ input[type='radio']:checked:before {
|
||||
color: @default-interface-txt;
|
||||
}
|
||||
|
||||
.Form-formGroup {
|
||||
max-width: 33%;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 650px) {
|
||||
.Form-formGroup {
|
||||
flex: 1 0 auto;
|
||||
|
||||
@ -254,7 +254,7 @@ export default
|
||||
reqExpression: 'key_required',
|
||||
init: true
|
||||
},
|
||||
class: 'Form-textAreaLabel',
|
||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth',
|
||||
hintText: "{{ key_hint }}",
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
|
||||
@ -38,7 +38,7 @@ export default
|
||||
variables: {
|
||||
label: 'Variables',
|
||||
type: 'textarea',
|
||||
class: 'Form-textAreaLabel',
|
||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth',
|
||||
addRequired: false,
|
||||
editRequird: false,
|
||||
rows: 12,
|
||||
@ -161,7 +161,7 @@ export default
|
||||
label: 'Environment Variables', //"{{vars_label}}" ,
|
||||
ngShow: "source && source.value=='custom' ",
|
||||
type: 'textarea',
|
||||
class: 'Form-textAreaLabel',
|
||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth',
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
rows: 6,
|
||||
@ -180,7 +180,7 @@ export default
|
||||
label: 'Source Variables', //"{{vars_label}}" ,
|
||||
ngShow: "source && (source.value == 'file' || source.value == 'ec2')",
|
||||
type: 'textarea',
|
||||
class: 'Form-textAreaLabel',
|
||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth',
|
||||
addRequired: false,
|
||||
editRequird: false,
|
||||
rows: 6,
|
||||
@ -207,7 +207,7 @@ export default
|
||||
"source.value == 'openstack')",
|
||||
type: 'textarea',
|
||||
addRequired: false,
|
||||
class: 'Form-textAreaLabel',
|
||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth',
|
||||
editRequird: false,
|
||||
rows: 6,
|
||||
'default': '---',
|
||||
|
||||
@ -49,6 +49,7 @@ export default
|
||||
variables: {
|
||||
label: 'Variables',
|
||||
type: 'textarea',
|
||||
class: 'Form-formGroup--fullWidth',
|
||||
addRequired: false,
|
||||
editRequird: false,
|
||||
rows: 6,
|
||||
|
||||
@ -239,7 +239,7 @@ export default
|
||||
variables: {
|
||||
label: 'Extra Variables',
|
||||
type: 'textarea',
|
||||
class: 'Form-textAreaLabel',
|
||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth',
|
||||
rows: 6,
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
|
||||
@ -47,6 +47,7 @@ export default function() {
|
||||
label: 'Custom Script',
|
||||
type: 'textarea',
|
||||
hintText: "Drag and drop an inventory script on the field below",
|
||||
class: 'Form-formGroup--fullWidth',
|
||||
addRequired: true,
|
||||
editRequired: true,
|
||||
awDropFile: true,
|
||||
|
||||
@ -593,7 +593,7 @@
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="form-group Form-formGroup Form-textAreaLabel">
|
||||
<div class="form-group Form-formGroup Form-textAreaLabel Form-formGroup--fullWidth">
|
||||
<label for="Scheduler-extraVars">
|
||||
<span class="Form-inputLabel">
|
||||
Extra Variables
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user