+++ /dev/null
-from mako import runtime, filters, cache
-UNDEFINED = runtime.UNDEFINED
-_magic_number = 2
-_modified_time = 1198103797.7045071
-_template_filename=u'/home/erickson/code/sandbox/python/pylons/oilsweb/oilsweb/templates/oils/base.html'
-_template_uri=u'oils/default/acq/../../base.html'
-_template_cache=cache.Cache(__name__, _modified_time)
-_source_encoding=None
-_exports = ['block_body', 'block_css', 'block_body_content', 'block_head']
-
-
-def render_body(context,**pageargs):
- context.caller_stack.push_frame()
- try:
- __M_locals = dict(pageargs=pageargs)
- self = context.get('self', UNDEFINED)
- # SOURCE LINE 1
- context.write(u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n\n<!-- This file defines the most basic requirements of an XHTML block -->\n\n')
- # SOURCE LINE 5
- locale = 'en-US'
-
- __M_locals.update(dict([(__M_key, locals()[__M_key]) for __M_key in ['locale'] if __M_key in locals()]))
- context.write(u" <!-- XXX GET LOCALE FROM PYTHON -->\n<html xmlns='http://www.w3.org/1999/xhtml' lang='")
- # SOURCE LINE 6
- context.write(unicode(locale))
- context.write(u"' xml:lang='")
- context.write(unicode(locale))
- context.write(u"'>\n ")
- # SOURCE LINE 7
- context.write(unicode(self.block_head()))
- context.write(u'\n ')
- # SOURCE LINE 8
- context.write(unicode(self.block_body()))
- context.write(u'\n</html>\n\n')
- # SOURCE LINE 18
- context.write(u'\n\n')
- # SOURCE LINE 22
- context.write(u'\n')
- # SOURCE LINE 23
- context.write(u'\n\n')
- # SOURCE LINE 28
- context.write(u'\n\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_body(context):
- context.caller_stack.push_frame()
- try:
- self = context.get('self', UNDEFINED)
- # SOURCE LINE 20
- context.write(u'\n<body>')
- # SOURCE LINE 21
- context.write(unicode(self.block_body_content()))
- context.write(u'</body>\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_css(context):
- context.caller_stack.push_frame()
- try:
- c = context.get('c', UNDEFINED)
- # SOURCE LINE 25
- context.write(u"\n <link rel='stylesheet' type='text/css' href='")
- # SOURCE LINE 26
- context.write(unicode(c.oils.core.media_prefix))
- context.write(u'/css/skin/')
- context.write(unicode(c.oils.core.skin))
- context.write(u".css'/>\n <link rel='stylesheet' type='text/css' href='")
- # SOURCE LINE 27
- context.write(unicode(c.oils.core.media_prefix))
- context.write(u'/css/theme/')
- context.write(unicode(c.oils.core.theme))
- context.write(u".css'/>\n")
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_body_content(context):
- context.caller_stack.push_frame()
- try:
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_head(context):
- context.caller_stack.push_frame()
- try:
- self = context.get('self', UNDEFINED)
- def block_title():
- context.caller_stack.push_frame()
- try:
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 14
- context.write(unicode(_('Evergreen Acquisitions')))
- return ''
- finally:
- context.caller_stack.pop_frame()
- # SOURCE LINE 11
- context.write(u' <!-- haha.. blockhead -->\n <!-- Construct a sane default HTML head -->\n <head>\n ')
- # SOURCE LINE 14
- context.write(u'\n <title>')
- # SOURCE LINE 15
- context.write(unicode(self.block_title()))
- context.write(u'</title>\n ')
- # SOURCE LINE 16
- context.write(unicode(self.block_css()))
- context.write(u'\n </head>\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
+++ /dev/null
-from mako import runtime, filters, cache
-UNDEFINED = runtime.UNDEFINED
-_magic_number = 2
-_modified_time = 1198108481.9620631
-_template_filename='/home/erickson/code/sandbox/python/pylons/oilsweb/oilsweb/templates/oils/default/acq/index.html'
-_template_uri='oils/default/acq/index.html'
-_template_cache=cache.Cache(__name__, _modified_time)
-_source_encoding=None
-_exports = ['block_content', 'block_title']
-
-
-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):
- pass
-def _mako_inherit(template, context):
- _mako_generate_namespaces(context)
- return runtime._inherit_from(context, u'../base.html', _template_uri)
-def render_body(context,**pageargs):
- context.caller_stack.push_frame()
- try:
- __M_locals = dict(pageargs=pageargs)
- # SOURCE LINE 1
- context.write(u'\n\n')
- # SOURCE LINE 3
- context.write(u'\n')
- # SOURCE LINE 8
- context.write(u'\n\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_content(context):
- context.caller_stack.push_frame()
- try:
- # SOURCE LINE 4
- context.write(u"\n <div id='oils-acq-index-block'>\n ACQ HOME\n </div>\n")
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_title(context):
- context.caller_stack.push_frame()
- try:
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 3
- context.write(unicode(_('Evergreen Acquisitions Home')))
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
+++ /dev/null
-from mako import runtime, filters, cache
-UNDEFINED = runtime.UNDEFINED
-_magic_number = 2
-_modified_time = 1198177152.534961
-_template_filename='/home/erickson/code/ILS/branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/pl_builder.html'
-_template_uri='oils/default/acq/pl_builder.html'
-_template_cache=cache.Cache(__name__, _modified_time)
-_source_encoding=None
-_exports = ['block_content', 'block_title']
-
-
-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):
- pass
-def _mako_inherit(template, context):
- _mako_generate_namespaces(context)
- return runtime._inherit_from(context, u'../base.html', _template_uri)
-def render_body(context,**pageargs):
- context.caller_stack.push_frame()
- try:
- __M_locals = dict(pageargs=pageargs)
- # SOURCE LINE 1
- context.write(u'\n')
- # SOURCE LINE 2
- context.write(u'\n')
- # SOURCE LINE 21
- context.write(u'\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_content(context):
- context.caller_stack.push_frame()
- try:
- c = context.get('c', UNDEFINED)
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 3
- context.write(u"\n <table id='oils-acq-pl_builder-table'>\n <thead>\n <tr><td>")
- # SOURCE LINE 6
- context.write(unicode(_('Title')))
- context.write(u'</td><td>')
- context.write(unicode(_('Author')))
- context.write(u'</td><td>')
- context.write(unicode(_('Source')))
- context.write(u'</td></tr>\n </thead>\n <tbody>\n')
- # SOURCE LINE 9
- for res in c.oils_acq_records:
- # SOURCE LINE 10
- for rec in res['records']:
- # SOURCE LINE 11
- context.write(u" <tr>\n <td><input type='checkbox' name='")
- # SOURCE LINE 12
- context.write(unicode(c.oils.acq.picked_records_.cgi_name))
- context.write(u"' value='blah'/></td>\n <td>")
- # SOURCE LINE 13
- context.write(unicode(rec['extracts']["bibdata.title"]))
- context.write(u'</td>\n <td>')
- # SOURCE LINE 14
- context.write(unicode(rec['extracts']["bibdata.author"]))
- context.write(u'</td>\n <td>')
- # SOURCE LINE 15
- context.write(unicode(res['service']))
- context.write(u'</td>\n </tr>\n')
- # SOURCE LINE 19
- context.write(u' </tbody>\n </table>\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_title(context):
- context.caller_stack.push_frame()
- try:
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 2
- context.write(unicode(_('Evergreen Acquisitions Results')))
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
+++ /dev/null
-from mako import runtime, filters, cache
-UNDEFINED = runtime.UNDEFINED
-_magic_number = 2
-_modified_time = 1198184806.6389661
-_template_filename='/home/erickson/code/ILS/branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/search.html'
-_template_uri='oils/default/acq/search.html'
-_template_cache=cache.Cache(__name__, _modified_time)
-_source_encoding=None
-_exports = ['block_content', 'block_title']
-
-
-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):
- pass
-def _mako_inherit(template, context):
- _mako_generate_namespaces(context)
- return runtime._inherit_from(context, u'../base.html', _template_uri)
-def render_body(context,**pageargs):
- context.caller_stack.push_frame()
- try:
- __M_locals = dict(pageargs=pageargs)
- # SOURCE LINE 1
- context.write(u'\n')
- # SOURCE LINE 2
- context.write(u'\n\n')
- # SOURCE LINE 35
- context.write(u'\n\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_content(context):
- context.caller_stack.push_frame()
- try:
- c = context.get('c', UNDEFINED)
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 4
- context.write(u"\n <form method='GET' action='pl_builder'>\n <input type='hidden' name='ses' value='")
- # SOURCE LINE 6
- context.write(unicode(c.oils.core.authtoken))
- context.write(u"'/>\n <div id='oils-acq-search-block' class='container'>\n <div id='oils-acq-search-sources-block'>\n <div id='oils-acq-search-sources-label'>")
- # SOURCE LINE 9
- context.write(unicode(_('Search Sources')))
- context.write(u"</div>\n <select name='")
- # SOURCE LINE 10
- context.write(unicode(c.oils.acq.search_source_.cgi_name))
- context.write(u"' multiple='multiple' id='oils-acq-search-sources-selector'>\n <option value='native-evergreen-catalog'>")
- # SOURCE LINE 11
- context.write(unicode(_('Evergreen Catalog')))
- context.write(u"</option>\n <optgroup label='")
- # SOURCE LINE 12
- context.write(unicode(_("Z39.50 Sources")))
- context.write(u"'>\n")
- # SOURCE LINE 13
- for src,cfg in c.oils_z39_sources.iteritems():
- # SOURCE LINE 14
- context.write(u" <option value='")
- context.write(unicode(src))
- context.write(u"'>")
- context.write(unicode(src))
- context.write(u' ')
- context.write(unicode(cfg["host"]))
- context.write(u':')
- context.write(unicode(cfg["db"]))
- context.write(u'</option>\n')
- # SOURCE LINE 16
- context.write(u" </optgroup>\n </select>\n </div>\n <div id='oils-acq-search-form-block'>\n <table>\n")
- # SOURCE LINE 21
- for cls, lbl in c.oils_search_classes.iteritems():
- # SOURCE LINE 22
- context.write(u" <tr class='oils-acq-search-form-row'>\n <td class='oils-acq-search-form-label'>")
- # SOURCE LINE 23
- context.write(unicode(lbl))
- context.write(u"</td>\n <td class='oils-acq-search-form-input'>\n <input name='")
- # SOURCE LINE 25
- context.write(unicode(cls))
- context.write(u"' size='24'/>\n <input type='hidden' name='")
- # SOURCE LINE 26
- context.write(unicode(c.oils.acq.search_class_.cgi_name))
- context.write(u"' value='")
- context.write(unicode(cls))
- context.write(u"'/>\n </td>\n </tr>\n")
- # SOURCE LINE 30
- context.write(u" </table>\n <input type='submit' value='")
- # SOURCE LINE 31
- context.write(unicode(_("Submit")))
- context.write(u"'/>\n </div>\n </div>\n </form>\n")
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_title(context):
- context.caller_stack.push_frame()
- try:
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 2
- context.write(unicode(_('Evergreen Acquisitions Search')))
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
+++ /dev/null
-from mako import runtime, filters, cache
-UNDEFINED = runtime.UNDEFINED
-_magic_number = 2
-_modified_time = 1198183376.8275831
-_template_filename=u'/home/erickson/code/ILS/branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/base.html'
-_template_uri=u'oils/default/acq/../base.html'
-_template_cache=cache.Cache(__name__, _modified_time)
-_source_encoding=None
-_exports = ['block_footer', 'block_navigate', 'block_content', 'block_header', 'block_body_content', 'block_sidebar']
-
-
-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):
- pass
-def _mako_inherit(template, context):
- _mako_generate_namespaces(context)
- return runtime._inherit_from(context, u'../base.html', _template_uri)
-def render_body(context,**pageargs):
- context.caller_stack.push_frame()
- try:
- __M_locals = dict(pageargs=pageargs)
- # SOURCE LINE 1
- context.write(u'\n\n')
- # SOURCE LINE 23
- context.write(u'\n\n')
- # SOURCE LINE 25
- context.write(u'\n')
- # SOURCE LINE 26
- context.write(u'\n')
- # SOURCE LINE 27
- context.write(u'\n')
- # SOURCE LINE 30
- context.write(u'\n')
- # SOURCE LINE 33
- context.write(u'\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_footer(context):
- context.caller_stack.push_frame()
- try:
- # SOURCE LINE 31
- context.write(u'\n ')
- # SOURCE LINE 32
- runtime._include_file(context, u'footer.html', _template_uri)
- context.write(u'\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_navigate(context):
- context.caller_stack.push_frame()
- try:
- # SOURCE LINE 28
- context.write(u'\n ')
- # SOURCE LINE 29
- runtime._include_file(context, u'navigate.html', _template_uri)
- context.write(u'\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_content(context):
- context.caller_stack.push_frame()
- try:
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_header(context):
- context.caller_stack.push_frame()
- try:
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_body_content(context):
- context.caller_stack.push_frame()
- try:
- self = context.get('self', UNDEFINED)
- # SOURCE LINE 3
- context.write(u"\n <div id='oils-base-body-block'> \n <div id='oils-base-header-block'>\n ")
- # SOURCE LINE 6
- context.write(unicode(self.block_header()))
- context.write(u"\n </div>\n <div id='oils-base-main-block' class='container'>\n <div id='oils-base-navigate-block'>\n ")
- # SOURCE LINE 10
- context.write(unicode(self.block_navigate()))
- context.write(u"\n </div>\n <div id='oils-base-content-block'>\n ")
- # SOURCE LINE 13
- context.write(unicode(self.block_content()))
- context.write(u"\n </div>\n <div id='oils-base-sidebar-block'>\n ")
- # SOURCE LINE 16
- context.write(unicode(self.block_sidebar()))
- context.write(u"\n </div>\n </div>\n <div id='oils-base-footer-block'>\n ")
- # SOURCE LINE 20
- context.write(unicode(self.block_footer()))
- context.write(u'\n </div>\n </div>\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
-def render_block_sidebar(context):
- context.caller_stack.push_frame()
- try:
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
+++ /dev/null
-from mako import runtime, filters, cache
-UNDEFINED = runtime.UNDEFINED
-_magic_number = 2
-_modified_time = 1198182658.882432
-_template_filename=u'/home/erickson/code/ILS/branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/footer.html'
-_template_uri=u'oils/default/acq/../footer.html'
-_template_cache=cache.Cache(__name__, _modified_time)
-_source_encoding=None
-_exports = []
-
-
-def render_body(context,**pageargs):
- context.caller_stack.push_frame()
- try:
- __M_locals = dict(pageargs=pageargs)
- c = context.get('c', UNDEFINED)
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 1
- context.write(unicode(_('Powered By')))
- context.write(u" <img src='")
- context.write(unicode(c.oils.core.media_prefix))
- context.write(u"/images/eg_tiny_logo.jpg'/>\n\n")
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-
+++ /dev/null
-from mako import runtime, filters, cache
-UNDEFINED = runtime.UNDEFINED
-_magic_number = 2
-_modified_time = 1198108479.9635
-_template_filename=u'/home/erickson/code/sandbox/python/pylons/oilsweb/oilsweb/templates/oils/default/navigate.html'
-_template_uri=u'oils/default/acq/../navigate.html'
-_template_cache=cache.Cache(__name__, _modified_time)
-_source_encoding=None
-_exports = []
-
-
-def render_body(context,**pageargs):
- context.caller_stack.push_frame()
- try:
- __M_locals = dict(pageargs=pageargs)
- c = context.get('c', UNDEFINED)
- _ = context.get('_', UNDEFINED)
- # SOURCE LINE 1
- context.write(u"<table id='oils-base-navigate-table'>\n <tbody>\n <tr><td><a href='index?")
- # SOURCE LINE 3
- context.write(unicode(c.oils.make_query_string()))
- context.write(u"'>")
- context.write(unicode(_('Home')))
- context.write(u"</a></td></tr>\n <tr><td><a href='search?")
- # SOURCE LINE 4
- context.write(unicode(c.oils.make_query_string()))
- context.write(u"'>")
- context.write(unicode(_('Search')))
- context.write(u'</a></td></tr>\n </tbody>\n</table>\n\n')
- return ''
- finally:
- context.caller_stack.pop_frame()
-
-