Fixed some layout issues fpr modules and parameters
This commit is contained in:
@ -186,6 +186,7 @@ window.onload = function() {
|
||||
icon_lock_container.onclick = function(){
|
||||
let array_icon_edit = document.getElementsByClassName('icon-edit');
|
||||
let array_pushbutton = document.getElementsByClassName('push-button');
|
||||
let array_col_right_value = document.getElementsByClassName('col-right-value');
|
||||
|
||||
if (writePermission == false) {
|
||||
alertify.prompt( "WRITE PERMISSION", "Current device: <b>"+ window.device + "</b><p>Please confirm the instrument:", ""
|
||||
@ -200,6 +201,9 @@ window.onload = function() {
|
||||
for(i = 0; i < array_pushbutton.length; i++) {
|
||||
array_pushbutton[i].classList.add('push-button-active');
|
||||
}
|
||||
for (let i = 0; i < array_col_right_value.length; i++) {
|
||||
array_col_right_value[i].classList.add('col-right-value-with-write-permission');
|
||||
}
|
||||
}
|
||||
}
|
||||
, function() {
|
||||
@ -215,6 +219,9 @@ window.onload = function() {
|
||||
for(i = 0; i < array_pushbutton.length; i++) {
|
||||
array_pushbutton[i].classList.remove('push-button-active');
|
||||
}
|
||||
for (let i = 0; i < array_col_right_value.length; i++) {
|
||||
array_col_right_value[i].classList.remove('col-right-value-with-write-permission');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user