add allowed users to describe, remove +/- from table header

This commit is contained in:
Stephen Birarda 2014-10-09 16:15:59 -07:00
parent d741b860f8
commit d70bf7fc50
2 changed files with 15 additions and 1 deletions

View file

@ -59,6 +59,20 @@
"type": "password",
"help": "Password used for basic HTTP authentication. Leave this blank if you do not want to change it.",
"value-hidden": true
},
{
"name": "allowed_users",
"type": "table",
"label": "Allowed Users",
"help": "A list of usernames for the High Fidelity users you want to allow into your domain. Users not found in this list will not be allowed to connect.",
"numbered": false,
"columns": [
{
"name": "username",
"label": "Username",
"can_set": true
}
]
}
]
},

View file

@ -256,7 +256,7 @@ function makeTable(setting, setting_name, setting_value) {
html += "<td class='data'><strong>" + col.label + "</strong></td>" // Data
})
html += "<td class='buttons'><strong>+/-</strong></td></tr>"
html += "<td class='buttons'></td></tr>"
// populate rows in the table from existing values
var row_num = 1