3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 05:42:56 +02:00

Merge branch 'ui' of github.com:sethalves/hifi into permissions-grid

This commit is contained in:
Seth Alves 2016-06-02 19:13:05 -07:00
commit 0e3e2ea331

View file

@ -982,7 +982,7 @@ function makeTable(setting, keypath, setting_value, isLocked) {
if (isArray && col.type === "checkbox" && col.editable) {
html += "<td class='" + Settings.DATA_COL_CLASS + "'name='" + col.name + "'>"
+ "<input type='checkbox' class='form-control toggle-checkbox table-checkbox' "
+ "<input type='checkbox' class='form-control toggle-checkbox table-checkbox' data-size='mini' "
+ "name='" + colName + "'" + (colValue ? " checked" : "") + " /></td>";
} else {
// Use a hidden input so that the values are posted.
@ -1037,8 +1037,8 @@ function makeTableInputs(setting) {
_.each(setting.columns, function(col) {
if (col.type === "checkbox") {
html += "<td class='" + Settings.DATA_COL_CLASS + "'name='" + col.name + "'>"
+ "<input type='checkbox' class='form-control toggle-checkbox' name='" + col.name + "'"
+ (col.default ? " checked" : "") + "/></td>";
+ "<input type='checkbox' class='form-control toggle-checkbox' data-size='mini' "
+ "name='" + col.name + "'" + (col.default ? " checked" : "") + "/></td>";
} else {
html += "<td class='" + Settings.DATA_COL_CLASS + "'name='" + col.name + "'>\
<input type='text' class='form-control' placeholder='" + (col.placeholder ? col.placeholder : "") + "'\