Personal wiki notebook (not under development)

Front_page.py 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. from Product_page import Product_page
  2. from Tags import Div, Img, A, P, Table, Tr, Td, Li, Span, I, Br, Ul, Li
  3. class Front_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"home", # note title
  12. Div(
  13. Div(
  14. Div(
  15. A(
  16. Img( src = u"/static/images/screenshot_small.png", width = u"400", height = u"308" ),
  17. href = u"/tour",
  18. ),
  19. class_ = u"front_screenshot",
  20. ),
  21. Div(
  22. Div(
  23. Img(
  24. src = u"/static/images/hook.png",
  25. width = u"400", height = u"51",
  26. alt = u"Collect your thoughts.",
  27. ),
  28. ),
  29. P(
  30. Img(
  31. src = u"/static/images/sub_hook.png",
  32. width = u"307", height = u"54",
  33. alt = u"Get organized with your own Luminotes personal wiki notebook.",
  34. ),
  35. ),
  36. Table(
  37. Td(
  38. Li( u"Gather all of your ideas into one place." ),
  39. Li( u"Easily link together related concepts." ),
  40. Li( u"As simple to use as index cards." ),
  41. align = u"left",
  42. ),
  43. align = u"center",
  44. ),
  45. P(
  46. A( u"Take a tour", href = u"/tour", class_ = u"hook_action" ), u", ",
  47. A( u"Download", href = u"/download", class_ = u"hook_action" ), u", ",
  48. Span( u" or ", class_ = u"hook_action_or" ),
  49. A( u"Sign up", href = u"/pricing", class_ = u"hook_action" ),
  50. class_ = u"hook_action_area",
  51. separator = u"",
  52. ),
  53. class_ = u"explanation",
  54. ),
  55. class_ = u"wide_center_area",
  56. ),
  57. class_ = u"hook_area",
  58. ),
  59. Div(
  60. Div(
  61. Div(
  62. Img(
  63. src = u"/static/images/quotes.png",
  64. class_ = u"heading", width = u"253", height = u"31",
  65. alt = u"What people are saying",
  66. ),
  67. ),
  68. Div(
  69. Div(
  70. u'"',
  71. Span(
  72. u"Luminotes is a wiki without the markup learning curve.",
  73. class_ = u"quote_title",
  74. separator = u"",
  75. ),
  76. u"""
  77. ... Luminotes has you simply start typing, using familiar rich text buttons to add bullets and other styling, and a simple linking and tagging system for your notes."
  78. """,
  79. class_ = u"quote_text",
  80. separator = u"",
  81. ),
  82. Div(
  83. u"-Kevin Purdy, ", A( u"Review on Lifehacker", href = u"http://lifehacker.com/386813/luminotes-is-a-wiki-without-the-markup-learning-curve" ),
  84. class_ = u"quote_signature"
  85. ),
  86. class_ = u"quote",
  87. ),
  88. Div(
  89. Div(
  90. u'"',
  91. Span(
  92. u"Imagine an application that combines the features of a wiki and a web-based notebook.",
  93. class_ = u"quote_title",
  94. separator = u"",
  95. ),
  96. u"""
  97. ... as a multi-user notebook that allows you to quickly take notes and collaborate on them with other users, Luminotes is unbeatable."
  98. """,
  99. class_ = u"quote_text",
  100. separator = u"",
  101. ),
  102. Div(
  103. u"-Dmitri Popov, ", A( u"Review on Linux.com", href = u"http://www.linux.com/feature/132297" ),
  104. class_ = u"quote_signature"
  105. ),
  106. class_ = u"quote",
  107. ),
  108. Div(
  109. Div(
  110. u'"',
  111. Span(
  112. u"As soon as I saw Luminotes I knew it was what I and my students needed.",
  113. class_ = u"quote_title",
  114. separator = u"",
  115. ),
  116. u"""
  117. Clear, easy to use and beautifully simple."
  118. """,
  119. class_ = u"quote_text",
  120. separator = u"",
  121. ),
  122. Div(
  123. u"-Jonathan Lecun, Director, ", A( u"UK Teachers Online", href = u"http://www.ukteachersonline.co.uk/" ),
  124. class_ = u"quote_signature"
  125. ),
  126. class_ = u"quote",
  127. ),
  128. Div(
  129. Div(
  130. u'"',
  131. Span(
  132. u"Luminotes has saved me an immense amount of time with my current novel.",
  133. class_ = u"quote_title",
  134. ),
  135. u"""
  136. No more digging through mounds of text or trying to make sense of notes scrawled on random pages of my notebook months ago."
  137. """,
  138. class_ = u"quote_text",
  139. separator = u"",
  140. ),
  141. Div(
  142. u"Michail Velichansky, Writer",
  143. class_ = u"quote_signature",
  144. ),
  145. class_ = u"quote",
  146. ),
  147. Div(
  148. Div(
  149. u'"',
  150. Span(
  151. u"What I love most about Luminotes is the ", I( u"simplicity" ), u" of it.",
  152. class_ = u"quote_title",
  153. separator = u"",
  154. ),
  155. u"""
  156. Maybe I have a touch of ADD, but I get so distracted with other products and
  157. all the gadgets, bells, and whistles they offer. I spend more time fiddling
  158. with the features than actually working. Luminotes, for me, recreates the old
  159. index card method we all used for term papers in high school."
  160. """,
  161. class_ = u"quote_text",
  162. separator = u"",
  163. ),
  164. Div(
  165. u"-Michael Miller, President & CEO, Mighty Hero Entertainment, Inc.",
  166. class_ = u"quote_signature"
  167. ),
  168. class_ = u"quote",
  169. ),
  170. Div(
  171. Div(
  172. u'"',
  173. Span(
  174. u"I'm a wiki addict, so I've tried most of them, desktop and web-based.",
  175. class_ = u"quote_title",
  176. separator = u"",
  177. ),
  178. u"""
  179. What I like about your excellent product is the modeless editing (no edit
  180. and save buttons). This makes Luminotes the fastest web-based wiki I have
  181. used."
  182. """,
  183. class_ = u"quote_text",
  184. separator = u"",
  185. ),
  186. Div(
  187. u"-Scott Tiner, Technical Writer",
  188. class_ = u"quote_signature"
  189. ),
  190. class_ = u"quote",
  191. ),
  192. Div(
  193. Div(
  194. u'"',
  195. Span(
  196. u"I came across your software using the WikiMatrix comparison and fell in love instantly.",
  197. class_ = u"quote_title",
  198. separator = u"",
  199. ),
  200. u"""
  201. This is probably the best personal wiki software I have seen to date. Playing with
  202. the demo sold me completely. The design, interface, usage, and above all how bloody
  203. easy it is is perfect."
  204. """,
  205. class_ = u"quote_text",
  206. separator = u"",
  207. ),
  208. Div(
  209. u"-Kyle Gruel",
  210. class_ = u"quote_signature"
  211. ),
  212. class_ = u"quote",
  213. ),
  214. Div(
  215. Div(
  216. u'"',
  217. Span(
  218. u"Marvelous! Simply marvelous!",
  219. class_ = u"quote_title",
  220. ),
  221. u"""
  222. Very simple to use, and I can access it from any computer. Great idea!"
  223. """,
  224. class_ = u"quote_text",
  225. separator = u"",
  226. ),
  227. Div(
  228. u"-Lydia Newkirk",
  229. class_ = u"quote_signature",
  230. ),
  231. class_ = u"quote",
  232. ),
  233. Div(
  234. Div(
  235. u'"',
  236. Span(
  237. u"I just wanted to thank you for the great work with Luminotes!",
  238. class_ = u"quote_title",
  239. ),
  240. u"""
  241. I use it both at home and at work, and it's a big help!"
  242. """,
  243. class_ = u"quote_text",
  244. separator = u"",
  245. ),
  246. Div(
  247. u"-Brian M.B. Keaney",
  248. class_ = u"quote_signature",
  249. ),
  250. class_ = u"quote",
  251. ),
  252. class_ = u"quotes_area",
  253. ),
  254. Div(
  255. Img(
  256. src = u"/static/images/what_is_luminotes.png",
  257. class_ = u"heading", width = u"214", height = u"29",
  258. alt = u"What is Luminotes?",
  259. ),
  260. Div(
  261. P(
  262. u"""
  263. Luminotes is a WYSIWYG personal wiki notebook for organizing your notes and ideas.
  264. It's designed for note taking and note keeping without the hassle
  265. of learning special markup codes. You simply start typing.
  266. """,
  267. ),
  268. Table(
  269. Tr(
  270. Td(
  271. A(
  272. Img( src = u"/static/images/wysiwyg_thumb.png", width = u"175", height = "100", class_ = u"thumbnail" ),
  273. href = u"/tour",
  274. ),
  275. Div( u"Create a wiki visually", class_ = u"thumbnail_caption" ),
  276. Div( u"Make a wiki as easily as writing a document.", class_ = u"thumbnail_caption_detail" ),
  277. class_ = u"thumbnail_cell",
  278. ),
  279. Td(
  280. A(
  281. Img( src = u"/static/images/connect_thumb.png", width = u"175", height = "100", class_ = u"thumbnail" ),
  282. href = u"/tour",
  283. ),
  284. Div( u"Link your notes together", class_ = u"thumbnail_caption" ),
  285. Div( u"Connect your thoughts with links between notes.", class_ = u"thumbnail_caption_detail" ),
  286. class_ = u"thumbnail_cell",
  287. ),
  288. ),
  289. Tr(
  290. Td(
  291. A(
  292. Img( src = u"/static/images/download_thumb.png", width = u"175", height = "100", class_ = u"thumbnail" ),
  293. href = u"/tour",
  294. ),
  295. Div( u"Take your wiki to go", class_ = u"thumbnail_caption" ),
  296. Div( u"Download your wiki as a web page or spreadsheet.", class_ = u"thumbnail_caption_detail" ),
  297. class_ = u"thumbnail_cell",
  298. ),
  299. Td(
  300. A(
  301. Img( src = u"/static/images/share_thumb.png", width = u"175", height = "100", class_ = u"thumbnail" ),
  302. href = u"/tour",
  303. ),
  304. Div( u"Share your thoughts", class_ = u"thumbnail_caption" ),
  305. Div( u"Invite friends and colleagues to collaborate.", class_ = u"thumbnail_caption_detail" ),
  306. class_ = u"thumbnail_cell",
  307. ),
  308. ),
  309. class_ = u"thumbnail_area",
  310. ),
  311. P(
  312. u"What can you do with Luminotes?",
  313. ),
  314. Ul(
  315. Li( u"Outline a story" ),
  316. Li( u"Plan a trip" ),
  317. Li( u"Collect recipes" ),
  318. Li( u"Record your ideas" ),
  319. Li( u"Keep track of your tasks" ),
  320. Li( u"Take notes" ),
  321. class_ = u"compact_list",
  322. ),
  323. P(
  324. u"""
  325. Luminotes is open source / free software and licensed under the terms of the
  326. GNU GPL.
  327. """,
  328. ),
  329. class_ = u"what_is_luminotes_text",
  330. ),
  331. Div(
  332. P(
  333. Span( u"Sound interesting?", class_ = u"hook_action_question" ), Br(),
  334. A( u"Take a tour", href = u"/tour", class_ = u"hook_action" ), u", ",
  335. A( u"Download", href = u"/download", class_ = u"hook_action" ), u", ",
  336. Span( u" or ", class_ = u"hook_action_or" ),
  337. A( u"Sign up", href = u"/pricing", class_ = u"hook_action" ),
  338. class_ = u"hook_action_area",
  339. separator = u"",
  340. ),
  341. ),
  342. class_ = u"what_is_luminotes_area",
  343. ),
  344. class_ = u"wide_center_area",
  345. ),
  346. P(
  347. Span( id = u"buttons_preload" ),
  348. Span( id = u"themes_default_buttons_preload" ),
  349. ),
  350. )