update So 9. Feb 14:01:01 CET 2020
This commit is contained in:
parent
4cbde357a7
commit
b3ccfbd3cd
@ -82,6 +82,7 @@ module.exports = function(app, sql, app_cfg, passport, auth, udp) {
|
||||
app.get('/config', auth.ensureAuthenticated, function(req, res) {
|
||||
sql.db_get_userconfig(req.user.id, function(data) {
|
||||
res.render('config', {
|
||||
public: app_cfg.public,
|
||||
title: 'Einstellungen',
|
||||
user: req.user,
|
||||
reset_counter: data
|
||||
@ -98,6 +99,7 @@ module.exports = function(app, sql, app_cfg, passport, auth, udp) {
|
||||
// get /help
|
||||
app.get('/help', function(req, res) {
|
||||
res.render('help', {
|
||||
public: app_cfg.public,
|
||||
title: 'Hilfe',
|
||||
user: req.user
|
||||
});
|
||||
@ -209,6 +211,7 @@ module.exports = function(app, sql, app_cfg, passport, auth, udp) {
|
||||
// get /login
|
||||
app.get('/login', function(req, res) {
|
||||
res.render('login', {
|
||||
public: app_cfg.public,
|
||||
title: 'Login',
|
||||
user: req.user
|
||||
});
|
||||
|
||||
@ -1,6 +1,24 @@
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user