update So 5. Jul 21:31:01 CEST 2020

This commit is contained in:
Robert Richter 2020-07-05 21:31:01 +02:00
parent a432be3674
commit c6c56b0915
3 changed files with 15 additions and 8 deletions

View File

@ -387,14 +387,19 @@ socket.on('io.Einsatz', function (data) {
//table_em.rows[wache_zeile].cells[1].appendChild(newText2);
//table_em.rows[wache_zeile].cells[1].setAttribute('pr-2');
} else {
var tableRef = document.getElementById('table_einsatzmittel').getElementsByTagName('tbody')[0];
var newRow = tableRef.insertRow();
var newCell = newRow.insertCell(0);
var newText = document.createTextNode(data.einsatzmittel[i].wachenname);
//var tableRef = document.getElementById('table_einsatzmittel').getElementsByTagName('tbody')[0];
//var newRow = tableRef.insertRow();
//var newCell = newRow.insertCell(0);
//var newText = document.createTextNode(data.einsatzmittel[i].wachenname);
//newCell.outerHTML = "<th></th>";
newCell.appendChild(newText);
//newCell.appendChild(newText);
var tr = document.getElementById('tatable_einsatzmittelble').tHead.children[0],
th = document.createElement('th');
th.innerHTML = data.einsatzmittel[i].wachenname;
tr.appendChild(th);
var flex_div = document.createElement('div');
flex_div.className = 'd-flex flex-wrap justify-content-between align-items-center';

View File

@ -10,8 +10,7 @@ header
a.text-nowrap.nav-link.ion-md-home(href='/') &nbsp;Startseite
li.nav-item(class=(title == 'Alarmmonitor') ? 'active' : null)
a.text-nowrap.nav-link.ion-md-desktop(href='/waip') &nbsp;Alarmmonitor
// TODO Dashboard wieder aktivieren
//li.nav-item(class=(title == 'Dashboard') ? 'active' : null)
li.nav-item(class=(title == 'Dashboard') ? 'active' : null)
a.text-nowrap.nav-link.ion-md-clipboard(href='/dbrd') &nbsp;Dashboard
ul.navbar-nav.ml-auto
li.text-nowrap.nav-item.dropdown

View File

@ -53,13 +53,16 @@ style(type='text/css').
.vis-custom-time-marker {
right: 2px;
}
.vis-rolling-mode-btn:before {
content: "\2B8C";
}
.row
.col-12.d-flex.justify-content-between.flex-wrap
.d-flex.justify-content-start
.text-muted Alarmierung:&nbsp;
#einsatz_datum.text-muted.text-right &nbsp; 2345
.d-flex.justify-content-end
#dbrd_id.text-muted 2341234345453
#dbrd_id.text-secondary 2341234345453
.row
//.col-12.text-center.p-3