root/galaxy-central/database/compiled_templates/base.mako.py

リビジョン 3, 3.0 KB (コミッタ: kohda, 14 年 前)

Install Unix tools  http://hannonlab.cshl.edu/galaxy_unix_tools/galaxy.html

行番号 
1from mako import runtime, filters, cache
2UNDEFINED = runtime.UNDEFINED
3__M_dict_builtin = dict
4__M_locals_builtin = locals
5_magic_number = 5
6_modified_time = 1287725818.353277
7_template_filename='templates/base.mako'
8_template_uri='/base.mako'
9_template_cache=cache.Cache(__name__, _modified_time)
10_source_encoding=None
11_exports = ['stylesheets', 'javascripts', 'metas', 'title']
12
13
14def render_body(context,**pageargs):
15    context.caller_stack._push_frame()
16    try:
17        __M_locals = __M_dict_builtin(pageargs=pageargs)
18        self = context.get('self', UNDEFINED)
19        next = context.get('next', UNDEFINED)
20        n_ = context.get('n_', UNDEFINED)
21        __M_writer = context.writer()
22        # SOURCE LINE 1
23        _=n_
24       
25        __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin()[__M_key]) for __M_key in ['_'] if __M_key in __M_locals_builtin()]))
26        __M_writer(u'\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n<html>\n\n<head>\n<title>')
27        # SOURCE LINE 6
28        __M_writer(unicode(self.title()))
29        __M_writer(u'</title>\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n')
30        # SOURCE LINE 8
31        __M_writer(unicode(self.metas()))
32        __M_writer(u'\n')
33        # SOURCE LINE 9
34        __M_writer(unicode(self.stylesheets()))
35        __M_writer(u'\n')
36        # SOURCE LINE 10
37        __M_writer(unicode(self.javascripts()))
38        __M_writer(u'\n</head>\n\n    <body>\n        ')
39        # SOURCE LINE 14
40        __M_writer(unicode(next.body()))
41        __M_writer(u'\n    </body>\n</html>\n\n')
42        # SOURCE LINE 19
43        __M_writer(u'\n\n')
44        # SOURCE LINE 24
45        __M_writer(u'\n\n')
46        # SOURCE LINE 32
47        __M_writer(u'\n\n')
48        # SOURCE LINE 35
49        __M_writer(u'\n')
50        return ''
51    finally:
52        context.caller_stack._pop_frame()
53
54
55def render_stylesheets(context):
56    context.caller_stack._push_frame()
57    try:
58        h = context.get('h', UNDEFINED)
59        __M_writer = context.writer()
60        # SOURCE LINE 22
61        __M_writer(u'\n    ')
62        # SOURCE LINE 23
63        __M_writer(unicode(h.css('base')))
64        __M_writer(u'\n')
65        return ''
66    finally:
67        context.caller_stack._pop_frame()
68
69
70def render_javascripts(context):
71    context.caller_stack._push_frame()
72    try:
73        h = context.get('h', UNDEFINED)
74        __M_writer = context.writer()
75        # SOURCE LINE 27
76        __M_writer(u'\n')
77        # SOURCE LINE 31
78        __M_writer(u'  ')
79        __M_writer(unicode(h.js( "jquery", "galaxy.base" )))
80        __M_writer(u'\n')
81        return ''
82    finally:
83        context.caller_stack._pop_frame()
84
85
86def render_metas(context):
87    context.caller_stack._push_frame()
88    try:
89        __M_writer = context.writer()
90        return ''
91    finally:
92        context.caller_stack._pop_frame()
93
94
95def render_title(context):
96    context.caller_stack._push_frame()
97    try:
98        __M_writer = context.writer()
99        return ''
100    finally:
101        context.caller_stack._pop_frame()
102
103
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。