1
0
Fork 0
auth.rxbn.de/bin/web/views/index.pug

28 lines
566 B
Plaintext

extends blocks/layout.pug
append var
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "Dashboard", "active": true}};
- var title = "Dashboard";
mixin item(name, url, description)
.card.mb-5
.card-body
h5.font-weight-bold.card-title=name
p.card-text=description
a(href=url) Login
mixin items()
.flex
if(apps)
each app in apps
+item(app.name, app.access, app.description)
else
p.text-center No applications were found.
append content
if(user)
.uk-container
h1 Apps
+items()
else
include error/login.pug