CyTube/templates/httperror.pug

39 lines
1 KiB
Plaintext
Raw Normal View History

2015-10-28 03:44:40 +00:00
mixin notfound()
h1 Not Found
p The page you were looking for doesn't seem to exist. Please check that you typed the URL correctly.
2015-11-03 04:52:57 +00:00
if message
p Reason: #{message}
2015-10-28 03:44:40 +00:00
mixin forbidden()
h1 Forbidden
p You don't have permission to access <code>#{path}</code>
mixin genericerror()
h1 Oops
p Your request could not be processed. Status code: <code>#{status}</code>, message: <code>#{message}</code>
doctype html
html(lang="en")
head
include head
+head()
2015-10-28 03:44:40 +00:00
body
#wrap
nav.navbar.navbar-inverse.navbar-fixed-top(role="navigation")
include nav
+navheader()
2015-10-28 03:44:40 +00:00
#nav-collapsible.collapse.navbar-collapse
ul.nav.navbar-nav
+navdefaultlinks(path)
+navloginlogout(path)
2015-10-28 03:44:40 +00:00
section#mainpage.container
.col-md-12
.alert.alert-danger
if status == 404
+notfound()
2015-10-28 03:44:40 +00:00
else if status == 403
+forbidden()
2015-10-28 03:44:40 +00:00
else
+genericerror()
2015-10-28 03:44:40 +00:00
include footer
+footer()