witten
/
luminotes
Archived
1
0
Fork 0

Made the 404 error page slightly more useful.

This commit is contained in:
Dan Helfman 2008-10-20 15:53:12 -07:00
parent 94f4e470fd
commit f5b7cb35a7
1 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
from Page import Page from Page import Page
from Tags import Div, H2, P, A, Img from Tags import Div, H2, P, A, Img, Ul, Li
class Not_found_page( Page ): class Not_found_page( Page ):
@ -17,11 +17,11 @@ class Not_found_page( Page ):
Div( Div(
H2( title ), H2( title ),
P( P(
u"This is not the page you're looking for. If you care, please", u"Sorry, the page you are looking for couldn't be found. But not to worry. You've got a few options.",
A( "let me know about it.", href = "mailto:%s" % support_email ), Ul(
Li( u"Return to the", A( u"Luminotes personal wiki notebook", href = u"/" ), u"home page." ),
Li( A( u"Contact support", href = u"mailto:%s" % support_email ), u"and report that the page that you expected to find here is missing." ),
), ),
P(
u"Thanks!",
), ),
class_ = u"error_box", class_ = u"error_box",
), ),