Jan Dittberner
554276ed23
git-svn-id: file:///var/www/wwwusers/usr01/svn/pyalchemybiz/trunk@5 389c73d4-bf09-4d3d-a15e-f94a37d0667a
46 lines
1.7 KiB
Python
46 lines
1.7 KiB
Python
from mako import runtime, filters, cache
|
|
UNDEFINED = runtime.UNDEFINED
|
|
__M_dict_builtin = dict
|
|
__M_locals_builtin = locals
|
|
_magic_number = 4
|
|
_modified_time = 1223071301.6449161
|
|
_template_filename=u'/home/jan/src/pyalchemybiz/pyalchemybiz/templates/base.mako'
|
|
_template_uri=u'/base.mako'
|
|
_template_cache=cache.Cache(__name__, _modified_time)
|
|
_source_encoding=None
|
|
_exports = []
|
|
|
|
|
|
def render_body(context,**pageargs):
|
|
context.caller_stack._push_frame()
|
|
try:
|
|
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
|
h = context.get('h', UNDEFINED)
|
|
next = context.get('next', UNDEFINED)
|
|
__M_writer = context.writer()
|
|
# SOURCE LINE 1
|
|
__M_writer(u'<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN"\n "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<html>\n <head>\n <title>PyAlchemyBiz</title>\n ')
|
|
# SOURCE LINE 6
|
|
__M_writer(unicode(h.stylesheet_link_tag('/pyalchemybiz.css')))
|
|
__M_writer(u'\n ')
|
|
# SOURCE LINE 7
|
|
__M_writer(unicode(h.javascript_include_tag(
|
|
'/javascripts/pyalchemybiz.js', builtins=True)))
|
|
# SOURCE LINE 8
|
|
__M_writer(u'\n </head>\n <body>\n <div class="content">\n ')
|
|
# SOURCE LINE 12
|
|
__M_writer(unicode(next.body()))
|
|
__M_writer(u'')
|
|
# SOURCE LINE 13
|
|
__M_writer(u' <p class="footer">\n Return to the\n ')
|
|
# SOURCE LINE 15
|
|
__M_writer(unicode(h.link_to('FrontPage',
|
|
h.url_for(action="index"))))
|
|
# SOURCE LINE 16
|
|
__M_writer(u'\n </p>\n </div>\n </body>\n</html>\n')
|
|
return ''
|
|
finally:
|
|
context.caller_stack._pop_frame()
|
|
|
|
|