Personal wiki notebook (not under development)

Tour_page.py 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. from Product_page import Product_page
  2. from Tags import Div, H1, Img, A, Ol, Li, P, Span, I, Br
  3. class Tour_page( Product_page ):
  4. def __init__( self, user, notebooks, first_notebook, login_url, logout_url, rate_plan, groups ):
  5. Product_page.__init__(
  6. self,
  7. user,
  8. first_notebook,
  9. login_url,
  10. logout_url,
  11. u"tour", # note title
  12. Div(
  13. H1(
  14. Img(
  15. src = u"/static/images/tour.png",
  16. width = u"277", height = u"47",
  17. alt = u"Luminotes tour",
  18. ),
  19. ),
  20. Div(
  21. Img( src = u"/static/images/tour_card1.png", width = u"400", height = u"243", class_ = u"tour_card" ),
  22. P(
  23. u"Using index cards to take notes is really easy. You just write a title at the top and then jot down some notes.",
  24. class_ = u"tour_text",
  25. ),
  26. ),
  27. Div(
  28. Img( src = u"/static/images/tour_card2.png", width = u"400", height = u"243", class_ = u"tour_card" ),
  29. P(
  30. u"And if you make one index card per subject, you can keep your notes organized.",
  31. class_ = u"tour_text",
  32. ),
  33. P(
  34. u"""
  35. But when your stack of cards grows larger than a few dozen, it becomes difficult to find the notes you're looking for.
  36. """,
  37. class_ = u"tour_text",
  38. ),
  39. ),
  40. Div(
  41. Img( src = u"/static/images/tour_card3.png", width = u"430", height = u"366", class_ = u"tour_card" ),
  42. P(
  43. u"""
  44. If only there was something as simple for taking notes as index cards, but fast, searchable, and with some way to make
  45. links between your notes!
  46. """,
  47. class_ = u"tour_text",
  48. ),
  49. P(
  50. u"Introducing Luminotes...",
  51. class_ = u"tour_text",
  52. ),
  53. ),
  54. Div(
  55. Img( src = u"/static/images/tour_screenshot1.png", width = u"725", height = u"560", class_ = u"tour_screenshot" ),
  56. Div(
  57. Div(
  58. Ol(
  59. Li( u"Format your wiki with this convenient toolbar" ),
  60. Li( u"Just start typing — everything is saved automatically" ),
  61. Li( u"Search through your entire wiki" ),
  62. Li( u"Make as many notebooks as you want" ),
  63. class_ = u"tour_list",
  64. ),
  65. class_ = u"tour_text",
  66. ),
  67. ),
  68. ),
  69. Div(
  70. Img( src = u"/static/images/tour_screenshot2.png", width = u"725", height = u"558", class_ = u"tour_screenshot" ),
  71. Div(
  72. Div(
  73. Ol(
  74. Li( u"Connect your thoughts with links between notes" ),
  75. Li( u"Track past revisions and make updates without worry" ),
  76. Li( u"Download your complete wiki as a web page or spreadsheet" ),
  77. Li( u"Attach files to your wiki and download them anytime" ),
  78. class_ = u"tour_list",
  79. ),
  80. class_ = u"tour_text",
  81. ),
  82. ),
  83. ),
  84. Div(
  85. Img( src = u"/static/images/tour_screenshot3.png", width = u"725", height = u"558", class_ = u"tour_screenshot" ),
  86. Div(
  87. Div(
  88. Ol(
  89. Li( u"Share your wiki with friends and colleagues" ),
  90. Li( u"Send invites simply by entering email addresses" ),
  91. Li( u"Control how much access each person gets" ),
  92. Li( u"Revoke access at any time" ),
  93. class_ = u"tour_list",
  94. ),
  95. class_ = u"tour_text",
  96. ),
  97. ),
  98. class_ = u"tour_screenshot_wrapper",
  99. ),
  100. Div(
  101. Div(
  102. u"You can use Luminotes online and collaborate with others, or download Luminotes Desktop and take notes locally on your own computer!",
  103. class_ = u"tour_text",
  104. ),
  105. ),
  106. class_ = u"tour_area"
  107. ),
  108. Div(
  109. P(
  110. Span( u"Like what you've seen so far?", class_ = u"hook_action_question" ), Br(),
  111. A( u"Try the demo", href = u"/users/demo", class_ = u"hook_action" ), u", ",
  112. A( u"Download", href = u"/download", class_ = u"hook_action" ), u", ",
  113. Span( u" or ", class_ = u"hook_action_or" ),
  114. A( u"Sign up", href = u"/pricing", class_ = u"hook_action" ),
  115. class_ = u"hook_action_area",
  116. separator = u"",
  117. ),
  118. class_ = u"center_area",
  119. ),
  120. )