from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
_magic_number = 2
_modified_time = 1218555872.226696
_template_filename=u'/home/nils/src/yolanda/trunk/yolanda/templates/xhtml/base.mako'
_template_uri=u'/xhtml/base.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding=None
_exports = ['search', 'tagcloud', 'login']
def render_body(context,**pageargs):
context.caller_stack.push_frame()
try:
__M_locals = dict(pageargs=pageargs)
h = context.get('h', UNDEFINED)
self = context.get('self', UNDEFINED)
# SOURCE LINE 1
context.write(u'\n\n\n')
# SOURCE LINE 38
context.write(u'\n\n')
# SOURCE LINE 53
context.write(u'\n\n')
# SOURCE LINE 87
context.write(u'\n\n\n\n
\n\n \n\n \n\n \n Yolanda - ')
# SOURCE LINE 106
context.write(unicode(self.title()))
context.write(u'\n \n\n\n\n\n\n \n
\n ')
# SOURCE LINE 115
context.write(unicode(self.heading()))
context.write(u'\n
\n \n\n ')
# SOURCE LINE 119
context.write(unicode(self.search()))
context.write(u'\n\n ')
# SOURCE LINE 121
context.write(unicode(self.login()))
context.write(u'\n\n ')
# SOURCE LINE 123
context.write(unicode(self.tagcloud()))
context.write(u'\n\n ')
# SOURCE LINE 125
context.write(unicode(self.body()))
context.write(u'\n\n \n
Yolanda Copyright © 2007, 2008
The Yolanda Developers –\n This program comes with
absolutely no warranty; for details
click here.\n This is
free software, and you are welcome to redistribute it\n under certain conditions;
click here for details.\n To view the source code,
click here. Report bugs
here.\n
\n\n \n\n\n\n\n')
return ''
finally:
context.caller_stack.pop_frame()
def render_search(context):
context.caller_stack.push_frame()
try:
h = context.get('h', UNDEFINED)
# SOURCE LINE 5
context.write(u'\n \n\n ')
# SOURCE LINE 8
context.write(unicode(h.form(h.url_for('search_results'), method='get')))
context.write(u'\n\n ')
# SOURCE LINE 10
context.write(unicode(h.text_field('query')))
context.write(u'\n ')
# SOURCE LINE 11
context.write(unicode(h.submit('Search Videos')))
context.write(u'\n\n ')
# SOURCE LINE 13
context.write(unicode(h.end_form()))
context.write(u'\n\n
\n\n
\n')
return ''
finally:
context.caller_stack.pop_frame()
def render_tagcloud(context):
context.caller_stack.push_frame()
try:
# SOURCE LINE 55
context.write(u'\n \n')
return ''
finally:
context.caller_stack.pop_frame()
def render_login(context):
context.caller_stack.push_frame()
try:
h = context.get('h', UNDEFINED)
# SOURCE LINE 40
context.write(u'\n \n\n
To upload videos, login.
\n\n ')
# SOURCE LINE 45
context.write(unicode(h.form(h.url_for('account_login'), method='post')))
context.write(u'\n\n ')
# SOURCE LINE 47
context.write(unicode(h.text_field('username')))
context.write(u'\n ')
# SOURCE LINE 48
context.write(unicode(h.submit('Login (OpenID)')))
context.write(u'\n\n ')
# SOURCE LINE 50
context.write(unicode(h.end_form()))
context.write(u'\n\n \n')
return ''
finally:
context.caller_stack.pop_frame()