overleaf/services/web/app/views/general/400.pug
Timothée Alby 1d7b454c96 Merge pull request #2691 from overleaf/ta-4xx-error-page
Enhance 4xx HTML Response Page

GitOrigin-RevId: 620f84cd6cdc0571bd68bbd2c3164b08f7fe5598
2020-04-02 03:19:35 +00:00

28 lines
959 B
Text

doctype html
html.full-height(itemscope, itemtype='http://schema.org/Product')
head
title Something went wrong
link(rel="icon", href="/" + settings.brandPrefix + "favicon.ico")
if buildCssPath
link(rel="stylesheet", href=buildCssPath(null, { hashedPath: true }))
body.full-height
.content.content-alt.full-height
.container.full-height
.error-container.full-height
.error-details
p.error-status I'm sorry, Dave. I'm afraid I can't do that.
p.error-description(ng-non-bindable) There was a problem with your latest request
if(message)
|: #{message}
|.
br
| Please go back and try again.
p.error-description(ng-non-bindable)
| If the problem persists, please contact us at
|
a(href="mailto:" + settings.adminEmail) #{settings.adminEmail}
| .
a.error-btn(href="javascript:history.back()") Back
|  
a.btn.btn-default(href="/") Home