mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00

1.) module dependency updated from jade 1.11.0 to pug 2.0.0-beta3 2.) All references to Jade have been changed to Pug 3.) /srv/web/jade.js is renamed to pug.js 4.) all template files renamed accordingly 5.) "mixin somename" is automatically considered a declaration, invocations must use "+somename" 6.) variable interpolation is no longer supported inside element attributes, use direct references and string concatenation instead. 7.) bumped minor version
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
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.
|
|
if message
|
|
p Reason: #{message}
|
|
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()
|
|
body
|
|
#wrap
|
|
nav.navbar.navbar-inverse.navbar-fixed-top(role="navigation")
|
|
include nav
|
|
+navheader()
|
|
#nav-collapsible.collapse.navbar-collapse
|
|
ul.nav.navbar-nav
|
|
+navdefaultlinks(path)
|
|
+navloginlogout(path)
|
|
|
|
section#mainpage.container
|
|
.col-md-12
|
|
.alert.alert-danger
|
|
if status == 404
|
|
+notfound()
|
|
else if status == 403
|
|
+forbidden()
|
|
else
|
|
+genericerror()
|
|
|
|
include footer
|
|
+footer()
|