Single sign-on (SSO) Service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
860 B

3 years ago
extends blocks/layout.pug
append var
if(session && session.user && session.user.loggedInFull)
- var breadcrumb = {0: {"name": cfg.app.name, "href": "/"}, 1: {"name": "Apps", "active": true}};
- var title = "Apps";
3 years ago
mixin item(name, id, description)
div
.uk-card.uk-card-default
.uk-card-header.uk-card-primary
h3.uk-card-title=name
.uk-card-body
p=description
.uk-card-footer.uk-flex.uk-flex-right
a.uk-button.uk-button-default.uk-button-primary(href="/api/redirect?id="+id) Login
3 years ago
mixin items()
div(class="[email protected] uk-margin-bottom", uk-grid)
3 years ago
if(apps)
each app in apps
+item(app.name, app.id, app.description)
3 years ago
else
p.text-center No applications were found.
append content
if(session && session.user && session.user.loggedInFull)
.uk-container
h1 Apps
+items()
else
include blocks/login.pug