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

23 lines
401 B
Plaintext
Raw Normal View History

2023-05-24 23:20:05 +04:00
extends base.jade
block head
:go:func ErrorXXX(mainSite string, code int, errorMsg string)
2023-05-24 23:20:05 +04:00
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 Еггог
2023-05-24 23:20:05 +04:00
block body
section#error
h1 #{code}
| #{http.StatusText(code)}
if errorMsg != ""
| #{errorMsg}