# -*- coding:utf-8 -*- from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED STOP_RENDERING = runtime.STOP_RENDERING __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 _modified_time = 1676236796.419754 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' _source_encoding = 'utf-8' _exports = ['content', 'sourcelink'] def _mako_get_namespace(context, name): try: return context.namespaces[(__name__, name)] except KeyError: _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): ns = runtime.TemplateNamespace('ui', context._clean_inheritance_tokens(), templateuri='crumbs.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'ui')] = ns def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'base.tmpl', _template_uri) def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) title = _import_ns.get('title', context.get('title', UNDEFINED)) code = _import_ns.get('code', context.get('code', UNDEFINED)) crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) files = _import_ns.get('files', context.get('files', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) ui = _mako_get_namespace(context, 'ui') def sourcelink(): return render_sourcelink(context._locals(__M_locals)) source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'sourcelink'): context['self'].sourcelink(**pageargs) __M_writer('\n') return '' finally: context.caller_stack._pop_frame() def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) title = _import_ns.get('title', context.get('title', UNDEFINED)) code = _import_ns.get('code', context.get('code', UNDEFINED)) crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) files = _import_ns.get('files', context.get('files', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) def content(): return render_content(context) ui = _mako_get_namespace(context, 'ui') source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer(str(ui.bar(crumbs))) __M_writer('\n') if folders or files: __M_writer('