update So 9. Feb 14:31:01 CET 2020
This commit is contained in:
parent
b3ccfbd3cd
commit
4d6f3742db
@ -96,11 +96,11 @@ module.exports = function(app, sql, app_cfg, passport, auth, udp) {
|
||||
});
|
||||
});
|
||||
|
||||
// get /help
|
||||
app.get('/help', function(req, res) {
|
||||
res.render('help', {
|
||||
// get /about
|
||||
app.get('/about', function(req, res) {
|
||||
res.render('about', {
|
||||
public: app_cfg.public,
|
||||
title: 'Hilfe',
|
||||
title: 'Über',
|
||||
user: req.user
|
||||
});
|
||||
});
|
||||
|
||||
19
views/about.pug
Normal file
19
views/about.pug
Normal file
@ -0,0 +1,19 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
main(role='main')
|
||||
.container
|
||||
.row
|
||||
.col
|
||||
.jumbotron.text-center
|
||||
h1.display-1.text-danger.font-weight-bold.d-none.d-lg-block= public.app_name
|
||||
h1.text-danger.font-weight-bold.d-lg-none= public.app_name
|
||||
hr.my-4
|
||||
.lead
|
||||
h4.text-info Entwickelt von Robert Richter
|
||||
p Alle Rechte vorbehalten
|
||||
br
|
||||
p.text-muted
|
||||
| mehr Informationen unter
|
||||
a(href="https://github.com/Robert-112/Wachalarm-IP-Web") https://github.com/Robert-112/Wachalarm-IP-Web
|
||||
.display-4.text-muted.ion-logo-github
|
||||
@ -7,8 +7,8 @@ block content
|
||||
.col
|
||||
.jumbotron.text-center
|
||||
h1.display-1.font-weight-bold= error.status
|
||||
p.text-muted Es ist ein Fehler aufgetreten
|
||||
hr.my-4
|
||||
.lead
|
||||
h3.text-muted Es ist ein Fehler aufgetreten
|
||||
p.text-danger= message
|
||||
h4.text-danger= message
|
||||
.display-4.text-muted.ion-ios-bug
|
||||
|
||||
@ -1,34 +0,0 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
main(role='main')
|
||||
.container
|
||||
.row
|
||||
.col
|
||||
.jumbotron.text-center
|
||||
h1.display-1.font-weight-bold= title
|
||||
hr.my-4
|
||||
.lead
|
||||
h3.text-muted= public.app_name
|
||||
p Entwickelt von Robert Richter
|
||||
p Alle Rechte vorbehalten
|
||||
br
|
||||
p
|
||||
| mehr Informationen unter
|
||||
a(href="https://github.com/Robert-112/Wachalarm-IP-Web") https://github.com/Robert-112/Wachalarm-IP-Web
|
||||
.display-4.text-muted.ion-md-github
|
||||
//extends layout
|
||||
//block content
|
||||
main(role='main')
|
||||
.container.h-100
|
||||
.row.justify-content-center.h-100.d-flex
|
||||
.col-md-8
|
||||
.card.text-center
|
||||
h1.card-header Wachalarm-IP-Web
|
||||
.card-body
|
||||
p Entwickelt von Robert Richter
|
||||
p Alle Rechte vorbehalten
|
||||
br
|
||||
p
|
||||
| mehr Informationen unter
|
||||
a(href="https://github.com/Robert-112/Wachalarm-IP-Web") https://github.com/Robert-112/Wachalarm-IP-Web
|
||||
@ -20,7 +20,7 @@ header
|
||||
a.text-nowrap.dropdown-item(href='/impressum') Impressum
|
||||
a.text-nowrap.dropdown-item(href='/datenschutz') Datenschutzerkläung
|
||||
.dropdown-divider
|
||||
a.text-nowrap.dropdown-item(href='/help') Hilfe
|
||||
a.text-nowrap.dropdown-item(href='/about') Über diese Anwendung
|
||||
if user
|
||||
if user.permissions == 'admin'
|
||||
li.text-nowrap.nav-item.dropdown
|
||||
@ -29,11 +29,11 @@ header
|
||||
.dropdown-menu(aria-labelledby='navbarAdminDropdown')
|
||||
a.text-nowrap.dropdown-item.ion-md-contacts(href='/edit_users') Benutzer und Rechte verwalten
|
||||
.dropdown-divider
|
||||
a.text-nowrap.dropdown-item(href='/show_active_user') Verbundene PCs und Benutzer anzeigen
|
||||
a.text-nowrap.dropdown-item(href='/show_active_waip') laufende Einsätze anzeigen
|
||||
a.text-nowrap.dropdown-item.ion-md-globe(href='/show_active_user') Verbundene PCs und Benutzer anzeigen
|
||||
a.text-nowrap.dropdown-item.ion-md-paper(href='/show_active_waip') laufende Einsätze anzeigen
|
||||
.dropdown-divider
|
||||
a.text-nowrap.dropdown-item.text-danger.ion-md-warning(href='/test_alert') Test-Alarm versenden
|
||||
a.text-nowrap.dropdown-item.ion-md-document(href='/show_log') Log-Datei einsehen
|
||||
a.text-nowrap.dropdown-item.ion-md-book(href='/show_log') Log-Datei einsehen
|
||||
li.nav-item.pr-3(class=(title == 'Einstellungen') ? 'active' : null)
|
||||
a.text-nowrap.ion-md-settings.nav-link(href='/config') Einstellungen
|
||||
li.nav-item
|
||||
|
||||
Loading…
Reference in New Issue
Block a user