Added express-brute-loki, UI improvements, error page

This commit is contained in:
NGPixel
2016-08-23 00:25:36 -04:00
parent 24f90d4a17
commit aa740dea7a
10 changed files with 105 additions and 30 deletions

View File

@@ -14,8 +14,17 @@ html
link(type='text/css', rel='stylesheet', href='/css/app.css')
body(class='server-error')
#root
img(src='/images/logo-text_218x80.png')
h1 Oops, something went wrong
h4= message
pre #{error.stack}
section.hero.is-warning.is-fullheight
.hero-body
.container
a(href='/'): img(src='/favicons/android-icon-96x96.png')
h1.title(style={ 'margin-top': '30px'})= message
h2.subtitle(style={ 'margin-bottom': '50px'}) Oops, something went wrong
a.button.is-warning.is-inverted(href='/') Go Home
if error.stack
section.section
.container.is-fluid
.content
h3 Detailed debug trail:
pre: code #{error.stack}