wikijs-fork/server/views/error.pug

27 lines
936 B
Plaintext
Raw Normal View History

extends master.pug
2016-08-17 03:56:08 +00:00
2017-09-10 05:41:22 +00:00
block body
#root.is-fullscreen
2018-05-28 18:46:55 +00:00
v-app(dark)
.app-error
v-container
.pt-5
v-layout(row)
v-flex(xs10)
a(href='/'): img(src='/svg/logo-wikijs.svg')
v-flex.text-right(xs2)
2018-05-28 18:46:55 +00:00
v-btn(href='/', depressed, color='red darken-3')
v-icon(left) home
span Home
v-alert(color='grey', outline, :value='true', icon='error')
strong.red--text.text--lighten-3 Oops, something went wrong...
.body-1.red--text.text--lighten-2= message
if error.stack
v-expansion-panel.mt-5
v-expansion-panel-content.red.darken-3(:value='true')
div(slot='header') View Debug Trace
v-card(color='grey darken-4')
v-card-text
pre: code #{error.stack}