witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/view/Error_page.py

37 lines
930 B
Python

from Page import Page
from Tags import Div, H2, P, A, Ul, Li, Strong
class Error_page( Page ):
def __init__( self ):
title = u"uh oh"
Page.__init__(
self,
title,
Div(
H2( title ),
P(
u"Something went wrong! If you care, please",
A( "let us know about it.", href = "/about/contact" ),
u"Be sure to include the following information:",
),
Ul(
Li( u"the series of steps you took to produce this error" ),
Li( u"the time of the error" ),
Li( u"the name of your web browser and its version" ),
Li( u"any other information that you think is relevant" ),
),
P(
u"Thanks!",
),
P(
Strong( u"P.S." ),
u"""
If Javascript isn't enabled in your browser, please enable it.
""",
),
class_ = u"box",
),
)