mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +02:00
add styling to locked table
This commit is contained in:
parent
796b519fe0
commit
0d99beb344
2 changed files with 7 additions and 2 deletions
|
@ -53,7 +53,12 @@ span.port {
|
||||||
}
|
}
|
||||||
|
|
||||||
.locked {
|
.locked {
|
||||||
color: blue;
|
color: #428bca;
|
||||||
|
}
|
||||||
|
|
||||||
|
.locked-table {
|
||||||
|
cursor: not-allowed;
|
||||||
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.advanced-setting {
|
.advanced-setting {
|
||||||
|
|
|
@ -263,7 +263,7 @@ function makeTable(setting, setting_name, setting_value, isLocked) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var html = "<span class='help-block'>" + setting.help + "</span>"
|
var html = "<span class='help-block'>" + setting.help + "</span>"
|
||||||
html += "<table class='table table-bordered' data-short-name='" + setting.name + "' name='" + setting_name
|
html += "<table class='table table-bordered " + (isLocked ? "locked-table" : "") + "' data-short-name='" + setting.name + "' name='" + setting_name
|
||||||
+ "' data-setting-type='" + (isArray ? 'array' : 'hash') + "'>"
|
+ "' data-setting-type='" + (isArray ? 'array' : 'hash') + "'>"
|
||||||
|
|
||||||
// Column names
|
// Column names
|
||||||
|
|
Loading…
Reference in a new issue