Personal wiki notebook (not under development)

Blank_page.py 485B

12345678910111213141516171819202122
  1. from Tags import Html, Head, Body, Script
  2. from config.Version import VERSION
  3. class Blank_page( Html ):
  4. def __init__( self, script = None ):
  5. if script:
  6. Html.__init__(
  7. self,
  8. Head(
  9. Script( type = u"text/javascript", src = u"/static/js/MochiKit.js?%s" % VERSION ),
  10. ),
  11. Body(
  12. Script( script, type = u"text/javascript" ),
  13. ),
  14. )
  15. else:
  16. Html.__init__(
  17. self,
  18. Head(),
  19. Body(),
  20. )