update Mo 2. Mär 11:01:01 CET 2020

This commit is contained in:
Robert Richter 2020-03-02 11:01:01 +01:00
parent 7ce52c8be9
commit 17178ee079
2 changed files with 35 additions and 16 deletions

View File

@ -351,7 +351,13 @@ if (arrayItem.agt){
add_resp_progressbar(arrayItem.resp_uuid, item_type, arrayItem.agt, new Date(arrayItem.set_time), new Date(arrayItem.arrival_time)); add_resp_progressbar(arrayItem.resp_uuid, item_type, arrayItem.agt, new Date(arrayItem.set_time), new Date(arrayItem.arrival_time));
items.update(new_item); items.update(new_item);
groups.update({ id: arrayItem.wache_id, content: arrayItem.wache_name }); groups.update({ id: arrayItem.wache_id, content: arrayItem.wache_name });
$( '#'+item_type+'-counter' ).text('x') var tmp_count = parseInt( $( '#'+item_type+'-counter' ).text() );
$( '#'+item_type+'-counter' ).text(tmp_count + 1 );
if (arrayItem.agt){
var tmp_agt = parseInt( $( '#agt-counter' ).text() );
$( '#agt-counter' ).text(tmp_agt + 1 );
};
}); });

View File

@ -7,31 +7,44 @@ style(type='text/css').
/*border: 1px solid lightgray;*/ /*border: 1px solid lightgray;*/
} }
.vis-item.ek { .vis-item.ek {
background-color: lightblue; background-color: #00bc8c;
border-color: black; border-color: #fff;
} }
.vis-item.ma { .vis-item.ma {
background-color: lightpink; background-color: #3498DB;
border-color: black; border-color: #fff;
} }
.vis-item.fk { .vis-item.fk {
background-color: lightgrey; background-color: #adb5bd;
border-color: black; border-color: #fff;
} }
.vis-item.ek-agt { .vis-item.ek-agt {
background-color: lightblue; background-color: #00bc8c;
border-color: orangered; border-color: #F39C12;
border-width: 2px; border-width: 3px;
} }
.vis-item.ma-agt { .vis-item.ma-agt {
background-color: lightpink; background-color: #3498DB;
border-color: orangered; border-color: #F39C12;
border-width: 2px; border-width: 3px;
} }
.vis-item.fk-agt { .vis-item.fk-agt {
background-color: lightgrey; background-color: #adb5bd;
border-color: orangered; border-color: #F39C12;
border-width: 2px; border-width: 3px;
}
.vis-item, .vis-inner, .vis-time-axis .vis-text {
color: #fff;
}
.vis-timeline {
border: 1px solid #444;
background: #444;
}
.vis-current-time {
background: #E74C3C;
}
.vis-custom-time {
background: #3498DB;
} }