web -quick changes
This commit is contained in:
parent
4ff0082ce4
commit
40c3d0f160
@ -1,6 +1,6 @@
|
||||
footer
|
||||
.uk-text-center
|
||||
small Copyright © Ruben Meyer 2019
|
||||
small Copyright © <a href="https://www.rxbn.de/">Ruben Meyer</a> 2019
|
||||
|
||||
.modals
|
||||
//- Logout Modal
|
||||
|
7
bin/web/views/error/login.pug
Normal file
7
bin/web/views/error/login.pug
Normal file
@ -0,0 +1,7 @@
|
||||
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
|
||||
.uk-width-1-3
|
||||
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center
|
||||
h1.uk-text-center User not logged in
|
||||
p Please log in
|
||||
a(href="#login").uk-button.uk-button-default Login
|
||||
.uk-width-1-3.uk-flex
|
@ -1,7 +1,7 @@
|
||||
extends blocks/layout.pug
|
||||
append var
|
||||
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "Apps", "active": true}};
|
||||
- var title = "Apps";
|
||||
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "Dashboard", "active": true}};
|
||||
- var title = "Dashboard";
|
||||
|
||||
mixin item(name, url, description)
|
||||
.card.mb-5
|
||||
@ -19,6 +19,9 @@ mixin items()
|
||||
p.text-center No applications were found.
|
||||
|
||||
append content
|
||||
.uk-container
|
||||
h1 Apps
|
||||
+items()
|
||||
if(user)
|
||||
.uk-container
|
||||
h1 Apps
|
||||
+items()
|
||||
else
|
||||
include error/login.pug
|
||||
|
Loading…
x
Reference in New Issue
Block a user