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/Tour_page.py
Dan Helfman df3d170362 View groups that you're a member of, with an indicatation if you're an admin of that group.
- modify controller.Users.current() to return the user's groups
    - update test_current() unit tests to expect empty groups list in results
  - modify Main_page, Notebook_rss, Front_page, Tour_page, and Upgrade_page to accept a new groups parameter
    - Main_page should add it as a hidden HTML variable
  - update Wiki.js to read the hidden groups variable and display the groups in account settings
2008-05-28 16:05:38 -07:00

84 lines
2.8 KiB
Python

from Product_page import Product_page
from Tags import Div, H1, Img, A, Ol, Li, P, Span, I, Br
class Tour_page( Product_page ):
def __init__( self, user, notebooks, first_notebook, login_url, logout_url, rate_plan, groups ):
Product_page.__init__(
self,
user,
first_notebook,
login_url,
logout_url,
u"tour", # note title
Div(
H1(
Img(
src = u"/static/images/tour.png",
width = u"277", height = u"47",
alt = u"Luminotes tour",
),
),
Div(
Img( src = u"/static/images/tour_screenshot1.png", width = u"725", height = u"560", class_ = u"tour_screenshot" ),
Div(
Div(
Ol(
Li( u"Format your wiki with this convenient toolbar" ),
Li( u"Just start typing — everything is saved automatically" ),
Li( u"Search through your entire wiki" ),
Li( u"Make as many notebooks as you want" ),
class_ = u"tour_list",
),
class_ = u"tour_text",
),
),
),
Div(
Img( src = u"/static/images/tour_screenshot2.png", width = u"725", height = u"558", class_ = u"tour_screenshot" ),
Div(
Div(
Ol(
Li( u"Connect your thoughts with links between notes" ),
Li( u"Track past revisions and make updates without worry" ),
Li( u"Download your complete wiki with a single click" ),
Li( u"Attach files to your wiki and download them anytime" ),
class_ = u"tour_list",
),
class_ = u"tour_text",
),
),
),
Div(
Img( src = u"/static/images/tour_screenshot3.png", width = u"725", height = u"558", class_ = u"tour_screenshot" ),
Div(
Div(
Ol(
Li( u"Share your wiki with friends and colleagues" ),
Li( u"Send invites simply by entering email addresses" ),
Li( u"Control how much access each person gets" ),
Li( u"Revoke access at any time" ),
class_ = u"tour_list",
),
class_ = u"tour_text",
),
),
class_ = u"tour_screenshot_wrapper",
),
class_ = u"tour_area"
),
Div(
P(
Span( u"Like what you've seen so far?", class_ = u"hook_action_question" ), Br(),
A( u"Try the demo", href = u"/users/demo", class_ = u"hook_action" ),
Span( u" or ", class_ = u"hook_action_or" ),
A( u"Sign up", href = u"/pricing", class_ = u"hook_action" ),
class_ = u"hook_action_area",
separator = u"",
),
class_ = u"center_area",
),
)