update Mo 10. Feb 20:31:01 CET 2020
This commit is contained in:
parent
cd15f8f9dd
commit
c7736731fb
@ -48,11 +48,11 @@ module.exports = function(app, sql, app_cfg, passport, auth, udp) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// get /rueckmeldung
|
// get /rueckmeldung
|
||||||
app.get('/rueckmeldung/:waip_uuid', function(req, res, next) {
|
app.get('/rmld/:waip_uuid', function(req, res, next) {
|
||||||
var waip_uuid = req.params.waip_uuid;
|
var waip_uuid = req.params.waip_uuid;
|
||||||
sql.db_get_einsatzdaten_by_uuid(waip_uuid, function(einsatzdaten) {
|
sql.db_get_einsatzdaten_by_uuid(waip_uuid, function(einsatzdaten) {
|
||||||
if (einsatzdaten) {
|
if (einsatzdaten) {
|
||||||
res.render('response', {
|
res.render('rmld', {
|
||||||
title: 'Einsatz-Rückmeldung',
|
title: 'Einsatz-Rückmeldung',
|
||||||
user: req.user,
|
user: req.user,
|
||||||
einsatzdaten: einsatzdaten
|
einsatzdaten: einsatzdaten
|
||||||
@ -142,10 +142,10 @@ module.exports = function(app, sql, app_cfg, passport, auth, udp) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// get /show_active_waip
|
// get /adm_show_missions
|
||||||
app.get('/show_active_waip', auth.ensureAdmin, function(req, res) {
|
app.get('/adm_show_missions', auth.ensureAdmin, function(req, res) {
|
||||||
sql.db_get_active_waips(function(data) {
|
sql.db_get_active_waips(function(data) {
|
||||||
res.render('show_active_waip', {
|
res.render('admin/adm_show_missions', {
|
||||||
title: 'Akutelle Einsätze',
|
title: 'Akutelle Einsätze',
|
||||||
user: req.user,
|
user: req.user,
|
||||||
dataSet: data
|
dataSet: data
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
extends layout
|
extends ../layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
main(role='main')
|
main(role='main')
|
||||||
|
|||||||
@ -3,13 +3,17 @@ extends layout
|
|||||||
block content
|
block content
|
||||||
main(role='main')
|
main(role='main')
|
||||||
.jumbotron
|
.jumbotron
|
||||||
.container
|
.container
|
||||||
h1.text-danger.display-4= public.app_name
|
.d-flex.flex-row
|
||||||
h5.text-muted © #{public.company}
|
.div
|
||||||
hr
|
.text-danger.ion-md-desktop
|
||||||
a Dieser Webdienst zeigt Wachalarme im Vollbild an (inkl. synthetischer Sprachdurchsage und Karte).
|
.div
|
||||||
p Zusätzlich besteht für Einsatzkräfte die Möglichkeit zur einfachen Rückmeldung.
|
h1.text-danger.display-4= public.app_name
|
||||||
p Nachfolgend können Sie aus einer der aufgeführten Wachen auswählen. Entsprechend Ihrer Berechtigungen werden Ihnen auf dem Alarmmonitor alle oder nur ausgewählte Einsatzdaten angezeigt.
|
h5.text-muted © #{public.company}
|
||||||
|
hr
|
||||||
|
a Dieser Webdienst zeigt Wachalarme im Vollbild an (inkl. synthetischer Sprachdurchsage und Karte).
|
||||||
|
p Zusätzlich besteht für Einsatzkräfte die Möglichkeit zur einfachen Rückmeldung.
|
||||||
|
p Nachfolgend können Sie aus einer der aufgeführten Wachen auswählen. Entsprechend Ihrer Berechtigungen werden Ihnen auf dem Alarmmonitor alle oder nur ausgewählte Einsatzdaten angezeigt.
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
footer.footer
|
footer.footer
|
||||||
.container-fluid
|
.container-fluid
|
||||||
.row
|
.d-flex.justify-content-between
|
||||||
.col-9.span.text-muted.text-left © #{public.company} - #{new Date().getFullYear()}
|
.span.text-muted.text-left © #{public.company} - #{new Date().getFullYear()}
|
||||||
.col-3.span.text-muted.text-right= public.version
|
.span.text-muted.text-right= public.version
|
||||||
|
|||||||
@ -38,7 +38,7 @@ header
|
|||||||
a.text-nowrap.ion-md-settings.nav-link(href='/config') Einstellungen
|
a.text-nowrap.ion-md-settings.nav-link(href='/config') Einstellungen
|
||||||
li.nav-item
|
li.nav-item
|
||||||
form(action='/logout', method='POST')
|
form(action='/logout', method='POST')
|
||||||
button.btn.btn-outline-warning.text-nowrap.ion-md-log-out(type='submit')=' \''+user.user +'\' abmelden'
|
button.btn.btn-dark.text-nowrap.ion-md-log-out(type='submit')=' \''+user.user +'\' abmelden'
|
||||||
else
|
else
|
||||||
li.nav-item(class=(title == 'Login') ? 'active' : null)
|
li.nav-item(class=(title == 'Login') ? 'active' : null)
|
||||||
a.text-nowrap.nav-link.ion-md-log-in(href='/login') Anmelden
|
a.text-nowrap.nav-link.ion-md-log-in(href='/login') Anmelden
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
.row.no-gutters
|
.row.no-gutters
|
||||||
.col-6
|
.d-flex.justify-content-between
|
||||||
p#einsatz_datum.text-muted 01.01.2020
|
p#einsatz_datum.text-muted 01.01.2020
|
||||||
.col-6
|
|
||||||
p#einsatz_uhrzeit.text-muted.text-right 11:22:33
|
p#einsatz_uhrzeit.text-muted.text-right 11:22:33
|
||||||
.col-10
|
.col-10
|
||||||
case einsatzdaten.einsatzart
|
case einsatzdaten.einsatzart
|
||||||
|
|||||||
@ -5,9 +5,9 @@ append head
|
|||||||
|
|
||||||
block content
|
block content
|
||||||
include includes/modal_info
|
include includes/modal_info
|
||||||
include includes/modal_response
|
include includes/modal_rmld
|
||||||
.container-fluid
|
.container-fluid
|
||||||
include includes/rueckmeldung
|
include includes/master_rueckmeldung
|
||||||
script.
|
script.
|
||||||
var einsatzdaten_obj = !{JSON.stringify(einsatzdaten).replace(/<\//g, '<\\/')}
|
var einsatzdaten_obj = !{JSON.stringify(einsatzdaten).replace(/<\//g, '<\\/')}
|
||||||
script(src='/js/leaflet.js')
|
script(src='/js/leaflet.js')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user