from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1287725326.8172879
_template_filename=u'templates/base_panels.mako'
_template_uri=u'/base_panels.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding=None
_exports = ['message_box_content', 'overlay', 'late_javascripts', 'stylesheets', 'init', 'masthead', 'javascripts']
def render_body(context,**pageargs):
context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
self = context.get('self', UNDEFINED)
__M_writer = context.writer()
# SOURCE LINE 2
__M_writer(u'\n\n')
# SOURCE LINE 4
self.has_left_panel=True
self.has_right_panel=True
self.message_box_visible=False
self.overlay_visible=False
self.message_box_class=""
self.active_view=None
self.body_class=""
# SOURCE LINE 12
__M_writer(u'\n \n')
# SOURCE LINE 16
__M_writer(u'\n\n')
# SOURCE LINE 37
__M_writer(u'\n\n')
# SOURCE LINE 48
__M_writer(u'\n\n')
# SOURCE LINE 151
__M_writer(u'\n\n')
# SOURCE LINE 156
__M_writer(u'\n\n')
# SOURCE LINE 191
__M_writer(u'\n\n')
# SOURCE LINE 195
__M_writer(u'\n\n')
# SOURCE LINE 198
__M_writer(u'\n ')
# SOURCE LINE 199
__M_writer(unicode(self.init()))
__M_writer(u' \n
\n ')
# SOURCE LINE 201
__M_writer(unicode(self.title()))
__M_writer(u'\n \n ')
# SOURCE LINE 203
__M_writer(unicode(self.stylesheets()))
__M_writer(u'\n ')
# SOURCE LINE 204
__M_writer(unicode(self.javascripts()))
__M_writer(u'\n \n \n \n\t\n')
# SOURCE LINE 210
__M_writer(u'
\n')
# SOURCE LINE 212
__M_writer(u'
\n ')
# SOURCE LINE 213
__M_writer(unicode(self.masthead()))
__M_writer(u'\n
\n
\n')
# SOURCE LINE 216
if self.message_box_visible:
# SOURCE LINE 217
__M_writer(u' ')
__M_writer(unicode(self.message_box_content()))
__M_writer(u'\n')
# SOURCE LINE 219
__M_writer(u'
\n ')
# SOURCE LINE 220
__M_writer(unicode(self.overlay()))
__M_writer(u'\n')
# SOURCE LINE 221
if self.has_left_panel:
# SOURCE LINE 222
__M_writer(u'
\n ')
# SOURCE LINE 223
__M_writer(unicode(self.left_panel()))
__M_writer(u'\n
\n
\n')
# SOURCE LINE 229
__M_writer(u'
\n ')
# SOURCE LINE 230
__M_writer(unicode(self.center_panel()))
__M_writer(u'\n
\n')
# SOURCE LINE 232
if self.has_right_panel:
# SOURCE LINE 233
__M_writer(u'
\n
\n ')
# SOURCE LINE 235
__M_writer(unicode(self.right_panel()))
__M_writer(u'\n
\n')
# SOURCE LINE 238
__M_writer(u'\t
\n')
# SOURCE LINE 240
__M_writer(u' \n')
# SOURCE LINE 243
__M_writer(u' ')
__M_writer(unicode(self.late_javascripts()))
__M_writer(u'\n\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_message_box_content(context):
context.caller_stack._push_frame()
try:
__M_writer = context.writer()
# SOURCE LINE 194
__M_writer(u'\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_overlay(context,title='',content=''):
context.caller_stack._push_frame()
try:
self = context.get('self', UNDEFINED)
__M_writer = context.writer()
# SOURCE LINE 158
__M_writer(u'\n ')
# SOURCE LINE 159
__M_writer(u'\n ')
# SOURCE LINE 160
__M_writer(u'\n\n \n')
# SOURCE LINE 168
__M_writer(u'
\n \n')
# SOURCE LINE 171
__M_writer(u'
\n \n \n \n ')
# SOURCE LINE 181
__M_writer(unicode(content))
__M_writer(u' \n \n \n \n |
\n
\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_late_javascripts(context):
context.caller_stack._push_frame()
try:
h = context.get('h', UNDEFINED)
self = context.get('self', UNDEFINED)
__M_writer = context.writer()
# SOURCE LINE 51
__M_writer(u'\n')
# SOURCE LINE 54
__M_writer(u' ')
__M_writer(unicode(h.js( 'jquery.event.drag', 'jquery.event.hover', 'jquery.form', 'jquery.rating', 'galaxy.base', 'galaxy.panels' )))
__M_writer(u'\n \n')
# SOURCE LINE 72
__M_writer(u' \n \n \n')
return ''
finally:
context.caller_stack._pop_frame()
def render_stylesheets(context):
context.caller_stack._push_frame()
try:
h = context.get('h', UNDEFINED)
self = context.get('self', UNDEFINED)
__M_writer = context.writer()
# SOURCE LINE 19
__M_writer(u'\n ')
# SOURCE LINE 20
__M_writer(unicode(h.css('base','panel_layout','jquery.rating')))
__M_writer(u'\n \n')
return ''
finally:
context.caller_stack._pop_frame()
def render_init(context):
context.caller_stack._push_frame()
try:
__M_writer = context.writer()
# SOURCE LINE 14
__M_writer(u'\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_masthead(context):
context.caller_stack._push_frame()
try:
__M_writer = context.writer()
# SOURCE LINE 154
__M_writer(u'\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_javascripts(context):
context.caller_stack._push_frame()
try:
h = context.get('h', UNDEFINED)
__M_writer = context.writer()
# SOURCE LINE 40
__M_writer(u'\n \n \n ")
# SOURCE LINE 47
__M_writer(unicode(h.js( 'jquery' )))
__M_writer(u'\n')
return ''
finally:
context.caller_stack._pop_frame()