1
0
Fork 0

web - error pages

This commit is contained in:
Ruben Meyer 2019-09-25 20:22:51 +02:00
parent 4eff02408d
commit 34afe46a82
6 changed files with 47 additions and 41 deletions

View File

@ -0,0 +1,12 @@
append var
if((!breadcrumb && !title) || overwrite_vars)
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "404 - not found", "active": true}};
- var title = "I'm so sooryy";
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
div(class="uk-width-auto uk-width-1-4@s")
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right
h1 Me so sorry.
p Could not find something which belongs to your interests.
a(href="/").uk-button.uk-button-default Home
div(class="uk-width-auto uk-width-1-4@s")

View File

@ -0,0 +1,20 @@
append var
if((!breadcrumb && !title) || overwrite_vars)
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "Login", "active": true}};
- var title = "Login";
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
div(class="uk-width-auto uk-width-1-4@s")
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right
h1 Please login
form.uk-form-horizontal
.uk-margin
label.uk-form-label(for="login_user") Username / Email
.uk-form-controls
input.uk-input#login_user(type="text", placeholder="tetrahedron")
.uk-margin
label.uk-form-label(for="login_pass") Password
.uk-form-controls
input.uk-input#login_pass(type="password")
a(href="/login").uk-button.uk-button-default Login
div(class="uk-width-auto uk-width-1-4@s")

View File

@ -0,0 +1,12 @@
append var
if((!breadcrumb && !title) || overwrite_vars)
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "401 - Permission needed", "active": true}};
- var title = "Me so sooryy";
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
div(class="uk-width-auto uk-width-1-4@s")
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right
h1 You so sorry.
p You are in the wrong circles.
a(href="/").uk-button.uk-button-default Home
div(class="uk-width-auto uk-width-1-4@s")

View File

@ -1,14 +1,4 @@
extends ../blocks/layout.pug
append var
if(user)
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "404 - not found", "active": true}};
- var title = "I'm so sooryy";
append content
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
div(class="uk-width-auto uk-width-1-4@s")
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right
h1 Me so sorry.
p Could not find something which belongs to your interests.
a(href="/").uk-button.uk-button-default Home
div(class="uk-width-auto uk-width-1-4@s")
include ../blocks/error/404.pug

View File

@ -1,22 +1,4 @@
extends ../blocks/layout.pug
append var
if(user)
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "Login", "active": true}};
- var title = "Login";
append content
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
div(class="uk-width-auto uk-width-1-4@s")
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right
h1 Please login
form.uk-form-horizontal
.uk-margin
label.uk-form-label(for="login_user") Username / Email
.uk-form-controls
input.uk-input#login_user(type="text", placeholder="tetrahedron")
.uk-margin
label.uk-form-label(for="login_pass") Password
.uk-form-controls
input.uk-input#login_pass(type="password")
a(href="/login").uk-button.uk-button-default Login
div(class="uk-width-auto uk-width-1-4@s")
include ../blocks/error/login.pug

View File

@ -1,14 +1,4 @@
extends ../blocks/layout.pug
append var
if(user)
- var breadcrumb = {0: {"name": "authRXBN", "href": "/"}, 1: {"name": "401 - Permission needed", "active": true}};
- var title = "Me so sooryy";
append content
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
div(class="uk-width-auto uk-width-1-4@s")
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right
h1 You so sorry.
p You are in the wrong circles.
a(href="/").uk-button.uk-button-default Home
div(class="uk-width-auto uk-width-1-4@s")
include ../blocks/error/permission.pug