Personal wiki notebook (not under development)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Forums_page.py 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. from Product_page import Product_page
  2. from Tags import Div, Img, A, P, Span, I, Br
  3. class Forums_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"forums", # note title
  12. Div(
  13. Div(
  14. Img(
  15. src = u"/static/images/forums.png",
  16. width = u"335", height = u"47",
  17. alt = u"Discussion Forums",
  18. ),
  19. ),
  20. Div(
  21. Span( A( u"general discussion", href = u"/forums/general/" ), class_ = u"forum_title" ),
  22. P(
  23. u"""
  24. Swap tips about making the most out of your personal wiki, and discuss your ideas for
  25. new Luminotes features and enhancements.
  26. """
  27. ),
  28. Span( A( u"technical support", href = u"/forums/support/" ), class_ = u"forum_title" ),
  29. P( u"Having a problem with your wiki? Something not working as expected? Ask about it here." ),
  30. class_ = u"forums_text",
  31. ),
  32. class_ = u"forums_area",
  33. ),
  34. Div(
  35. P(
  36. Span( u"Need more help?", class_ = u"hook_action_question" ), Br(),
  37. A( u"Contact support directly", href = u"/contact_info", class_ = u"hook_action" ),
  38. class_ = u"hook_action_area",
  39. separator = u"",
  40. ),
  41. class_ = u"center_area",
  42. ),
  43. )