old gnuviechadmin web interface code that is not developed anymore
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.

35 lines
621B

  1. # -*- coding: utf-8 -*-
  2. <html>
  3. <head>
  4. ${self.headlines()}
  5. ${h.javascript_include_tag('jquery.js')}
  6. ${h.stylesheet_link_tag('gva.css')}
  7. </head>
  8. <body>
  9. <ul id="menu">
  10. % for item in c.menu:
  11. <li class="${h.cssclasses(item)}">${h.menulink(item)}</li>
  12. % endfor
  13. </ul>
  14. % if c.messages['errors']:
  15. <ul id="errors">
  16. % for msg in c.messages['errors']:
  17. <li>${msg}</li>
  18. % endfor
  19. </ul>
  20. % endif
  21. % if c.messages['messages']:
  22. <ul id="messages">
  23. % for msg in c.messages['messages']:
  24. <li>${msg}</li>
  25. % endfor
  26. </ul>
  27. % endif
  28. <div id="content">
  29. ${next.body()}
  30. </div>
  31. </body>
  32. </html>
  33. <%def name="headlines()">
  34. <title>Site</title>
  35. </%def>