1
0
dwelling-upload/web/templates/errorXXX.jade

25 lines
442 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

extends base.jade
block head
:go:func ErrorXXX(mainSite string, code int, errorMsg string)
style(type="text/css").
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }
block header
h1 Еггог
block body
section#error
h1 #{code}
| #{http.StatusText(code)}
if errorMsg != ""
p #{errorMsg}
center
a(href="/") Back to index page