mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 00:43:49 +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,8 +99,9 @@
|
||||||
{
|
{
|
||||||
"name": "standard_permissions",
|
"name": "standard_permissions",
|
||||||
"type": "table",
|
"type": "table",
|
||||||
"label": "Domain-Wide Permissions",
|
"label": "Domain-Wide User Permissions",
|
||||||
"help": "Standard Permissions:",
|
"help": "Indicate which users or groups can have which domain-wide permissions.",
|
||||||
|
"caption": "Standard Permissions",
|
||||||
"can_add_new_rows": false,
|
"can_add_new_rows": false,
|
||||||
|
|
||||||
"columns": [
|
"columns": [
|
||||||
|
@ -131,7 +132,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "id_can_rez_tmp",
|
"name": "id_can_rez_tmp",
|
||||||
"label": "Rez Temp",
|
"label": "Rez Temporary",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"default": false
|
"default": false
|
||||||
|
@ -158,7 +159,7 @@
|
||||||
{
|
{
|
||||||
"name": "permissions",
|
"name": "permissions",
|
||||||
"type": "table",
|
"type": "table",
|
||||||
"help": "Permissions for Specific Users:",
|
"caption": "Permissions for Specific Users",
|
||||||
"can_add_new_rows": true,
|
"can_add_new_rows": true,
|
||||||
|
|
||||||
"columns": [
|
"columns": [
|
||||||
|
@ -189,7 +190,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "id_can_rez_tmp",
|
"name": "id_can_rez_tmp",
|
||||||
"label": "Rez Temp",
|
"label": "Rez Temporary",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"default": false
|
"default": false
|
||||||
|
|
|
@ -111,6 +111,16 @@ table {
|
||||||
word-wrap: break-word;
|
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 {
|
#xs-advanced-container {
|
||||||
margin-bottom: 20px;
|
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)
|
+ "' name='" + keypath + "' id='" + (typeof setting.html_id !== 'undefined' ? setting.html_id : keypath)
|
||||||
+ "' data-setting-type='" + (isArray ? 'array' : 'hash') + "'>";
|
+ "' data-setting-type='" + (isArray ? 'array' : 'hash') + "'>";
|
||||||
|
|
||||||
|
if (setting.caption) {
|
||||||
|
html += "<caption>" + setting.caption + "</caption>"
|
||||||
|
}
|
||||||
|
|
||||||
// Column names
|
// Column names
|
||||||
html += "<tr class='headers'>"
|
html += "<tr class='headers'>"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue