1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-04 12:51:18 +03:00

Labels for inline checkboxes found outside of a group are now bold.s

This commit is contained in:
chouseknecht 2013-09-12 22:38:34 -04:00
parent bf40a034d3
commit d79d20a630
2 changed files with 12 additions and 1 deletions

View File

@ -29,6 +29,11 @@ body {
.normal-weight { font-weight: normal; }
.no-bullets { list-style: none; }
.bold-text .checkbox-inline {
font-weight: bold;
}
/* Working... spinner */
.spinny {
display: none;
@ -461,6 +466,10 @@ select.field-mini-height {
padding-left: 40px;
}
.checkbox-group .checkbox-options:first-child {
padding-left: 35px;
}
/* Display list actions next to search widget */

View File

@ -678,6 +678,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
if (field.type == 'checkbox_group') {
html += "<label class=\"control-label " + getLabelWidth() + "\">" +
field.label + "</label>\n";
html += "<div class=\"checkbox-group\">\n";
for (var i=0; i < field.fields.length; i++) {
html += buildCheckbox(field.fields[i], field.fields[i].name);
}
@ -695,6 +696,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
field.max + "</div>\n";
}
html += "<div class=\"error api-error\" ng-bind=\"" + fld + "_api_error\"></div>\n";
html += "</div>\n";
}
//checkbox
@ -702,7 +704,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
html += "<label class=\"control-label " + getLabelWidth() + "\" > </label>\n";
html += "<div ";
html += (field.controlNGClass) ? "ng-class=\"" + field.controlNGClass + "\" " : "";
html += "class=\"" + getFieldWidth() + "\">\n";
html += "class=\"" + getFieldWidth() + " bold-text\">\n";
html += buildCheckbox(field, fld);
html += "<div class=\"error api-error\" ng-bind=\"" + fld + "_api_error\"></div>\n";
html += "</div>\n"