mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +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 {
|
||||
color: blue;
|
||||
color: #428bca;
|
||||
}
|
||||
|
||||
.locked-table {
|
||||
cursor: not-allowed;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.advanced-setting {
|
||||
|
|
|
@ -263,7 +263,7 @@ function makeTable(setting, setting_name, setting_value, isLocked) {
|
|||
}
|
||||
|
||||
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') + "'>"
|
||||
|
||||
// Column names
|
||||
|
|
Loading…
Reference in a new issue