2019-06-18 22:44:35 +00:00
|
|
|
extends blocks/layout.pug
|
|
|
|
append var
|
2019-09-08 18:24:37 +00:00
|
|
|
if(user)
|
|
|
|
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "Dashboard", "active": true}};
|
|
|
|
- var title = "Dashboard";
|
2019-06-18 22:44:35 +00:00
|
|
|
|
|
|
|
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
|
2019-09-03 22:07:45 +00:00
|
|
|
if(user)
|
|
|
|
.uk-container
|
|
|
|
h1 Apps
|
|
|
|
+items()
|
|
|
|
else
|
2019-09-12 21:44:59 +00:00
|
|
|
include blocks/login.pug
|