update Di 7. Jul 18:01:01 CEST 2020

This commit is contained in:
Robert Richter 2020-07-07 18:01:01 +02:00
parent 6fa6bfbf6e
commit f421facde2
3 changed files with 17 additions and 15 deletions

View File

@ -24,7 +24,7 @@ body {
} }
.fullheight { .fullheight {
height: calc(100vh - 60px - 5rem - 3rem); height: calc(100vh - 60px - 5rem - 2rem);
} }
/*** Anpassungen an Bootstrap ******************/ /*** Anpassungen an Bootstrap ******************/
@ -205,10 +205,10 @@ audio {
******/ ******/
#em_alarmiert { #em_alarmiert, #rmld_container {
font-size: 1.5vw; font-size: 1.5vw;
} }
#headline { #headline {
height: 3rem; height: 2rem;
} }

View File

@ -151,7 +151,7 @@ function do_on_Inactive() {
$('.navbar').fadeOut('slow'); $('.navbar').fadeOut('slow');
$('.footer').fadeOut('slow'); $('.footer').fadeOut('slow');
$('.fullheight').css({ $('.fullheight').css({
height: 'calc(100vh - 2rem)', height: 'calc(100vh - 4rem)',
cursor: 'none' cursor: 'none'
}); });
$('body').css({ $('body').css({
@ -173,7 +173,7 @@ function do_on_Active() {
paddingBottom: '0' paddingBottom: '0'
}); });
$('.fullheight').css({ $('.fullheight').css({
height: 'calc(100vh - 60px - 5rem)', height: 'calc(100vh - 60px - 7rem)',
cursor: 'auto' cursor: 'auto'
}); });
resize_text(); resize_text();
@ -378,6 +378,8 @@ socket.on('io.new_waip', function (data) {
console.log(data); console.log(data);
// Einsatz-ID speichern // Einsatz-ID speichern
waip_id = data.id; waip_id = data.id;
// Alarmzeitsetzen:
$('#date-time').html(data.zeitstempel);
// Hintergrund der Einsatzart zunächst entfernen // Hintergrund der Einsatzart zunächst entfernen
$('#einsatz_art').removeClass(function (index, className) { $('#einsatz_art').removeClass(function (index, className) {
return (className.match(/(^|\s)bg-\S+/g) || []).join(' '); return (className.match(/(^|\s)bg-\S+/g) || []).join(' ');

View File

@ -3,9 +3,9 @@
.row.no-gutters .row.no-gutters
#headline.col-12.d-flex.justify-content-between.py-1.text-muted #headline.col-12.d-flex.justify-content-between.py-1.text-muted
.btn-group.h-100.mr-1 .btn-group.h-100.mr-1
label#replay.btn.btn-outline-light label#replay.btn.btn-outline-light.m-0.py-0
.ion-md-play-circle .ion-md-play-circle
label#volume.btn.btn-outline-light label#volume.btn.btn-outline-light.m-0.py-0
.ion-md-volume-high .ion-md-volume-high
#date-time || -Datum- - -Uhrzeit- #date-time || -Datum- - -Uhrzeit-
#wachenname.ion-md-business= data_wache || ' -Wachenname-' #wachenname.ion-md-business= data_wache || ' -Wachenname-'
@ -37,23 +37,23 @@
.row.no-gutters.h-100.pt-3 .row.no-gutters.h-100.pt-3
.col-12.h-20.h-100.w-100#rmld_container .col-12.h-20.h-100.w-100#rmld_container
// TODO: Rueckmedlung ohne Rueckmeldung ausbleden // TODO: Rueckmedlung ohne Rueckmeldung ausbleden
.d-flex.fustify-content-between.font-weight-bold .d-flex.fustify-content-between.font-weight-bold.h-30
.list-group.list-group-horizontal.text-center.w-100 .list-group.list-group-horizontal.text-center.w-100.h-100
.list-group-item.flex-fill.text-success .list-group-item.flex-fill.text-success.py-0
a#ek-counter 0 a#ek-counter 0
a  EK a  EK
.list-group-item.flex-fill.text-info .list-group-item.flex-fill.text-info.py-0
a#ma-counter 0 a#ma-counter 0
a  MA a  MA
.list-group-item.flex-fill.text-light .list-group-item.flex-fill.text-light.py-0
a#fk-counter 0 a#fk-counter 0
a  FK a  FK
.list-group.text-center .list-group.list-group-horizontal.text-center.h-100
.list-group-item.border.border-warning.flex-fill.text-warning .list-group-item.flex-fill.border.border-warning.text-warning.py-0
a#agt-counter 0 a#agt-counter 0
a  AGT a  AGT
//a.badge.badge-warning 2 AGT //a.badge.badge-warning 2 AGT
.row .row.h-70
.col-4#pg-ek.pr-1 .col-4#pg-ek.pr-1
//.progress.mt-1 //.progress.mt-1
.progress-bar.progress-bar-striped.bg-success(role='progressbar', style='width: 25%', aria-valuenow='25', aria-valuemin='0', aria-valuemax='100') .progress-bar.progress-bar-striped.bg-success(role='progressbar', style='width: 25%', aria-valuenow='25', aria-valuemin='0', aria-valuemax='100')