2007-07-16 20:22:38 +00:00
|
|
|
from Page import Page
|
|
|
|
from Tags import Div, H2, P, A, Ul, Li, Strong
|
|
|
|
|
|
|
|
|
|
|
|
class Error_page( Page ):
|
2007-08-20 20:28:17 +00:00
|
|
|
def __init__( self, support_email ):
|
2007-07-16 20:22:38 +00:00
|
|
|
title = u"uh oh"
|
|
|
|
|
|
|
|
Page.__init__(
|
|
|
|
self,
|
|
|
|
title,
|
|
|
|
Div(
|
|
|
|
H2( title ),
|
|
|
|
P(
|
|
|
|
u"Something went wrong! If you care, please",
|
2007-08-29 00:24:26 +00:00
|
|
|
A( "let me know about it.", href = "mailto:%s" % support_email ),
|
2007-07-16 20:22:38 +00:00
|
|
|
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"""
|
2007-09-10 19:43:51 +00:00
|
|
|
If JavaScript isn't enabled in your browser, please enable it.
|
2007-07-16 20:22:38 +00:00
|
|
|
""",
|
|
|
|
),
|
2007-08-07 20:29:37 +00:00
|
|
|
class_ = u"error_box",
|
2007-07-16 20:22:38 +00:00
|
|
|
),
|
|
|
|
)
|