wikijs-fork/server/views/error-forbidden.pug

31 lines
1.5 KiB
Plaintext
Raw Normal View History

doctype html
html(data-logic='error')
2017-02-10 02:35:37 +00:00
head
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(charset='UTF-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
meta(name='theme-color', content='#009688')
meta(name='msapplication-TileColor', content='#009688')
2017-06-18 22:35:33 +00:00
meta(name='msapplication-TileImage', content=appconfig.host + '/favicons/ms-icon-144x144.png')
2017-02-10 02:35:37 +00:00
title= appconfig.title
2017-02-10 02:35:37 +00:00
// Favicon
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
2017-06-18 22:35:33 +00:00
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
link(rel='icon', type='image/png', sizes='192x192', href=appconfig.host + '/favicons/android-icon-192x192.png')
2017-02-10 02:35:37 +00:00
each favsize in [32, 96, 16]
2017-06-18 22:35:33 +00:00
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/favicon-' + favsize + 'x' + favsize + '.png')
link(rel='manifest', href=appconfig.host + '/manifest.json')
// JS / CSS
2017-07-09 00:24:21 +00:00
//- script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
2017-06-18 22:35:33 +00:00
script(type='text/javascript', src=appconfig.host + '/js/app.js')
2017-02-10 02:35:37 +00:00
body(class='is-forbidden')
.container
2017-06-18 22:35:33 +00:00
a(href='/'): img(src=appconfig.host + '/images/logo.png')
2017-05-03 01:00:58 +00:00
h1= t('errors:forbidden')
h2= t('errors:forbiddendetail')
2017-06-18 22:35:33 +00:00
a.button.is-amber.is-inverted(href=appconfig.host + '/')= t('errors:actions.gohome')
a.button.is-amber.is-inverted(href=appconfig.host + '/login')= t('errors:actions.loginas')