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/Product_page.py
Dan Helfman d232826d0b Several cosmetic and layout changes to the wiki editing page. Specifically,
made the header that's on the product pages present at the top of the wiki
page as well. Still need to make links bold when viewing certain pages
(help, contact, etc).
2008-04-04 05:39:40 +00:00

36 lines
1.1 KiB
Python

from Page import Page
from Header import Header
from Tags import Link, Div, A, Span
class Product_page( Page ):
def __init__( self, user, first_notebook, login_url, logout_url, note_title, *nodes ):
Page.__init__(
self,
None, # use the default title
Link( rel = u"stylesheet", type = u"text/css", href = u"/static/css/header.css" ),
Link( rel = u"stylesheet", type = u"text/css", href = u"/static/css/product.css" ),
Header( user, first_notebook, login_url, logout_url, note_title ),
Span(
*nodes
),
Div(
Div(
Div(
u"Copyright ©2008 Luminotes", u" | ",
A( u"download", href = u"/download" ), u" | ",
A( u"contact", href = u"/contact_info" ), u" | ",
A( u"team", href = u"/meet_the_team" ), u" | ",
A( u"blog", href = u"/blog" ), u" | ",
A( u"privacy", href = u"/privacy" ),
class_ = u"footer_links",
),
class_ = u"wide_center_area",
),
class_ = u"footer",
),
)