123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # -*- 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.246071
- _enable_loop = True
- _template_filename = 'themes/bootstrap3/templates/crumbs.tmpl'
- _template_uri = 'crumbs.tmpl'
- _source_encoding = 'utf-8'
- _exports = ['bar']
-
-
- 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='ui_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'ui')] = ns
-
- 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, ['*'])
- __M_writer = context.writer()
- __M_writer('\n')
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
- def render_bar(context,crumbs):
- __M_caller = context.caller_stack._push_frame()
- try:
- _import_ns = {}
- _mako_get_namespace(context, 'ui')._populate(_import_ns, ['*'])
- ui = _mako_get_namespace(context, 'ui')
- __M_writer = context.writer()
- __M_writer('\n')
- __M_writer(str(ui.breadcrumbs(crumbs)))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
- """
- __M_BEGIN_METADATA
- {"filename": "themes/bootstrap3/templates/crumbs.tmpl", "uri": "crumbs.tmpl", "source_encoding": "utf-8", "line_map": {"23": 2, "26": 0, "33": 2, "34": 5, "40": 3, "47": 3, "48": 4, "49": 4, "55": 49}}
- __M_END_METADATA
- """
|