web - error pages
This commit is contained in:
parent
4eff02408d
commit
34afe46a82
12
bin/web/views/blocks/error/404.pug
Normal file
12
bin/web/views/blocks/error/404.pug
Normal 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")
|
20
bin/web/views/blocks/error/login.pug
Normal file
20
bin/web/views/blocks/error/login.pug
Normal 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")
|
12
bin/web/views/blocks/error/permission.pug
Normal file
12
bin/web/views/blocks/error/permission.pug
Normal 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")
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user