implemented highlighting of tiles on action edit

This commit is contained in:
Stephan Richter
2021-05-28 13:18:23 +02:00
parent 029222ffa2
commit 19b1b3ed01
24 changed files with 102 additions and 20 deletions

View File

@@ -538,3 +538,8 @@ input[type=range]:focus::-ms-fill-lower {
input[type=range]:focus::-ms-fill-upper {
background: #3071A9;
}
.highlight{
margin: -6px;
border: 6px solid purple;
}

View File

@@ -197,6 +197,14 @@ function heartbeat(data){
return false;
}
function highlight(id,enable = true){
if (enable) {
$('#'+id).addClass('highlight');
} else {
$('#'+id).removeClass('highlight');
}
}
function keypress(ev){
if (ev.code === 'Escape') return request({realm:"cu",action:"emergency"});
if (ev.code === 'Enter') {

View File

@@ -445,7 +445,7 @@ value : Wert
WaitForContact : Auf Kontakt warten
Wait for {}, then : auf {} warten, dann
Wait {} ms, then : {} ms warten, dann
{} waiting {} secs... : {} wartet {} Sekunden...
{} waiting {} secs. : {} wartet {} Sekunden.
Wait times : Wartezeiten
Was not able to assign {} to {}! : Konnte {} nicht an {} zuweisen!
Was not able to lock {} : Konnte {} nicht reservieren