witten
/
luminotes
Archived
1
0
Fork 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

39 lines
1.4 KiB
Python

from Page import Page
from Header import Header
from Tags import Link, Meta, 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" ),
Meta( name = u"description", content = u"Luminotes is a WYSIWYG personal wiki notebook for organizing your notes and ideas." ),
Meta( name = u"keywords", content = u"note taking, personal wiki, wysiwyg wiki, easy wiki, simple wiki, wiki notebook" ),
Header( user, first_notebook, login_url, logout_url, note_title ),
Span(
*nodes
),
Div(
Div(
Div(
u"Copyright ©2008 Luminotes", u" | ",
A( u"contact", href = u"/contact_info" ), u" | ",
A( u"support", href = u"/support" ), u" | ",
A( u"source code", href = u"/source_code" ), 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",
),
)