obs-portal/api/views/layout.pug

35 lines
821 B
Plaintext
Raw Permalink Normal View History

html
head
2021-02-28 21:36:11 +00:00
base(href=baseUrl)
title
block title
| Authorization Server
| - OpenBikeSensor Account
link(rel="stylesheet", href="semantic-ui/semantic.min.css")
style.
body > main > header {
margin: 16px 0;
}
body
main.ui.container
header
nav.ui.menu
a.item(href=mainFrontendUrl, title="Back to Portal")
i.icon.arrow.left
.header.item OpenBikeSensor Account
.right.menu
if mainFrontendUrl
if !user
a.item(href="login") Login
a.item(href="register") Register
if user
a.item(href="logout") Logout
div.ui.grid.centered
div.eight.wide.column
h2.ui.header
block title
block content