Added YAML support to Host and Group variable data. User can enter variables in either format, UI will parse it and send to API as JSON. Fixed post to /hosts/N/variable_data and /groups/N/variable_data so that JSON is sent as an object rather than a string.

This commit is contained in:
chouseknecht
2013-06-11 17:23:08 -04:00
parent 65c8176507
commit c8c9e62b4c
10 changed files with 180 additions and 52 deletions

View File

@@ -281,12 +281,13 @@
}
/* Enable table-hover to work when table is in a well */
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
background-color: #fff;
}
/* Jobs page */
/* Jobs page */
.job-error, .job-failed,
input[type="text"].job-failed,
@@ -328,6 +329,7 @@
/* End Jobs Page */
/* Inventory detail */
.inventory-title {
@@ -352,6 +354,24 @@
margin-bottom: 15px;
}
.parse-selection {
font-size: 12px;
margin: 5px 0 10px 0;
}
.parse-selection .radio.inline {
padding-top: 0;
font-size: 12px;
}
.parse-selection label:first-child {
margin-left: 5px;
}
.modal-input-xlarge {
width: 325px;
}
#tree-view {
min-height: 100px;
}