Personal wiki notebook (not under development)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Not_found_page.py 932B

12345678910111213141516171819202122232425262728
  1. from Page import Page
  2. from Tags import Div, H2, P, A, Img, Ul, Li
  3. class Not_found_page( Page ):
  4. def __init__( self, support_email ):
  5. title = u"404"
  6. header_image = Div(
  7. A( Img( src = u"/static/images/luminotes_title_full.png", width = u"206", height = u"69" ), href = u"/", alt = u"Luminotes personal wiki notebook" ),
  8. class_ = u"error_header",
  9. )
  10. Page.__init__(
  11. self,
  12. title,
  13. header_image,
  14. Div(
  15. H2( title ),
  16. P(
  17. u"Sorry, the page you are looking for couldn't be found. But not to worry. You've got a few options.",
  18. Ul(
  19. Li( u"Return to the", A( u"Luminotes personal wiki notebook", href = u"/" ), u"home page." ),
  20. Li( A( u"Contact support", href = u"mailto:%s" % support_email ), u"and report that the page you expected to find here is missing." ),
  21. ),
  22. ),
  23. class_ = u"error_box",
  24. ),
  25. )