mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
Finesse security table text and general layout
This commit is contained in:
parent
a4be536a82
commit
0119af11d6
3 changed files with 24 additions and 9 deletions
|
@ -99,14 +99,15 @@
|
|||
{
|
||||
"name": "standard_permissions",
|
||||
"type": "table",
|
||||
"label": "Domain-Wide Permissions",
|
||||
"help": "Standard Permissions:",
|
||||
"label": "Domain-Wide User Permissions",
|
||||
"help": "Indicate which users or groups can have which domain-wide permissions.",
|
||||
"caption": "Standard Permissions",
|
||||
"can_add_new_rows": false,
|
||||
|
||||
"columns": [
|
||||
{
|
||||
"name": "permissions_id",
|
||||
"label": "User/Group"
|
||||
"label": "User / Group"
|
||||
},
|
||||
{
|
||||
"name": "id_can_connect",
|
||||
|
@ -117,7 +118,7 @@
|
|||
},
|
||||
{
|
||||
"name": "id_can_adjust_locks",
|
||||
"label": "Lock/Unlock",
|
||||
"label": "Lock / Unlock",
|
||||
"type": "checkbox",
|
||||
"editable": true,
|
||||
"default": false
|
||||
|
@ -131,7 +132,7 @@
|
|||
},
|
||||
{
|
||||
"name": "id_can_rez_tmp",
|
||||
"label": "Rez Temp",
|
||||
"label": "Rez Temporary",
|
||||
"type": "checkbox",
|
||||
"editable": true,
|
||||
"default": false
|
||||
|
@ -158,13 +159,13 @@
|
|||
{
|
||||
"name": "permissions",
|
||||
"type": "table",
|
||||
"help": "Permissions for Specific Users:",
|
||||
"caption": "Permissions for Specific Users",
|
||||
"can_add_new_rows": true,
|
||||
|
||||
"columns": [
|
||||
{
|
||||
"name": "permissions_id",
|
||||
"label": "User/Group"
|
||||
"label": "User / Group"
|
||||
},
|
||||
{
|
||||
"name": "id_can_connect",
|
||||
|
@ -175,7 +176,7 @@
|
|||
},
|
||||
{
|
||||
"name": "id_can_adjust_locks",
|
||||
"label": "Lock/Unlock",
|
||||
"label": "Lock / Unlock",
|
||||
"type": "checkbox",
|
||||
"editable": true,
|
||||
"default": false
|
||||
|
@ -189,7 +190,7 @@
|
|||
},
|
||||
{
|
||||
"name": "id_can_rez_tmp",
|
||||
"label": "Rez Temp",
|
||||
"label": "Rez Temporary",
|
||||
"type": "checkbox",
|
||||
"editable": true,
|
||||
"default": false
|
||||
|
|
|
@ -111,6 +111,16 @@ table {
|
|||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
caption {
|
||||
color: #333;
|
||||
font-weight: 700;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
table[name="security.standard_permissions"] .headers td + td, table[name="security.permissions"] .headers td + td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#xs-advanced-container {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
|
|
@ -927,6 +927,10 @@ function makeTable(setting, keypath, setting_value, isLocked) {
|
|||
+ "' name='" + keypath + "' id='" + (typeof setting.html_id !== 'undefined' ? setting.html_id : keypath)
|
||||
+ "' data-setting-type='" + (isArray ? 'array' : 'hash') + "'>";
|
||||
|
||||
if (setting.caption) {
|
||||
html += "<caption>" + setting.caption + "</caption>"
|
||||
}
|
||||
|
||||
// Column names
|
||||
html += "<tr class='headers'>"
|
||||
|
||||
|
|
Loading…
Reference in a new issue