3af5af18c5
"/users/logout" URL will log you out and redirect you the front page. Made front page prettier and better at explaining Luminotes (hopefully). The front page is no longer a wiki, but is instead a mostly static page.
29 lines
726 B
Python
29 lines
726 B
Python
from Page import Page
|
|
from Tags import Div, H2, P, A, Img
|
|
|
|
|
|
class Not_found_page( Page ):
|
|
def __init__( self, support_email ):
|
|
title = u"404"
|
|
header_image = Div(
|
|
A( Img( src = u"/static/images/luminotes_title_full.png", width = u"206", height = u"69" ), href = u"/", alt = u"Luminotes personal wiki notebook" ),
|
|
class_ = u"error_header",
|
|
)
|
|
|
|
Page.__init__(
|
|
self,
|
|
title,
|
|
header_image,
|
|
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",
|
|
),
|
|
)
|