mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Add checkbox in different position in form generator
This commit is contained in:
parent
480772f5bc
commit
3f761d52f6
@ -476,9 +476,9 @@ input[type='radio']:checked:before {
|
||||
|
||||
.FormToggle {}
|
||||
.FormToggle-container {
|
||||
float: right;
|
||||
margin: 0 0 0 10px;
|
||||
padding-bottom: 5px;
|
||||
display: initial;
|
||||
|
||||
label {
|
||||
&:first-child {
|
||||
@ -499,6 +499,16 @@ input[type='radio']:checked:before {
|
||||
}
|
||||
}
|
||||
|
||||
.Form-inputLabelContainer {
|
||||
width: 100%;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.Form-inputLabelContainer[for=variables] {
|
||||
width: 100%;
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.Form-inputLabel{
|
||||
text-transform: uppercase;
|
||||
color: @default-interface-txt;
|
||||
|
||||
@ -681,6 +681,10 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
</div>`;
|
||||
}
|
||||
|
||||
if (options && options.checkbox) {
|
||||
html += createCheckbox(options.checkbox);
|
||||
}
|
||||
|
||||
if (field.labelAction) {
|
||||
let action = field.labelAction;
|
||||
let href = action.href || "";
|
||||
@ -696,10 +700,6 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
}
|
||||
|
||||
html += "\n\t</label>\n";
|
||||
|
||||
if (options && options.checkbox) {
|
||||
html += createCheckbox(options.checkbox);
|
||||
}
|
||||
}
|
||||
|
||||
return html;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user