Archived
1
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/Not_found_page.py
Dan Helfman f6da052e88 Self-service password reset functionality, plus full unit tests.
GOD DAMN that was annoying to implement.
2007-09-26 23:49:27 +00:00

25 lines
509 B
Python

from Page import Page
from Tags import Div, H2, P, A
class Not_found_page( Page ):
def __init__( self, support_email ):
title = u"404"
Page.__init__(
self,
title,
Div(
H2( title ),
P(
u"This is not the page you're looking for. If you care, please",
A( "let me know about it.", href = "mailto:%s" % support_email ),
),
P(
u"Thanks!",
),
class_ = u"error_box",
),
include_js = False,
)