| 1 | from mako import runtime, filters, cache |
|---|
| 2 | UNDEFINED = runtime.UNDEFINED |
|---|
| 3 | __M_dict_builtin = dict |
|---|
| 4 | __M_locals_builtin = locals |
|---|
| 5 | _magic_number = 5 |
|---|
| 6 | _modified_time = 1287725813.3330619 |
|---|
| 7 | _template_filename='templates/tool_executed.mako' |
|---|
| 8 | _template_uri='tool_executed.mako' |
|---|
| 9 | _template_cache=cache.Cache(__name__, _modified_time) |
|---|
| 10 | _source_encoding=None |
|---|
| 11 | _exports = [] |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | def render_body(context,**pageargs): |
|---|
| 15 | context.caller_stack._push_frame() |
|---|
| 16 | try: |
|---|
| 17 | __M_locals = __M_dict_builtin(pageargs=pageargs) |
|---|
| 18 | h = context.get('h', UNDEFINED) |
|---|
| 19 | tool = context.get('tool', UNDEFINED) |
|---|
| 20 | trans = context.get('trans', UNDEFINED) |
|---|
| 21 | out_data = context.get('out_data', UNDEFINED) |
|---|
| 22 | __M_writer = context.writer() |
|---|
| 23 | # SOURCE LINE 1 |
|---|
| 24 | __M_writer(u'<!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>Galaxy</title>\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n<link href="') |
|---|
| 25 | # SOURCE LINE 7 |
|---|
| 26 | __M_writer(unicode(h.url_for('/static/style/base.css'))) |
|---|
| 27 | __M_writer(u'" rel="stylesheet" type="text/css" />\n<script type="text/javascript">\n var inside_galaxy_frameset = false;\n\n if ( parent.frames && parent.frames.galaxy_history ) {\n parent.frames.galaxy_history.location.href="') |
|---|
| 28 | # SOURCE LINE 12 |
|---|
| 29 | __M_writer(unicode(h.url_for( controller='root', action='history' ))) |
|---|
| 30 | __M_writer(u'";\n inside_galaxy_frameset = true;\n }\n\n') |
|---|
| 31 | # SOURCE LINE 16 |
|---|
| 32 | if trans.user: |
|---|
| 33 | # SOURCE LINE 17 |
|---|
| 34 | __M_writer(u' if (inside_galaxy_frameset)\n {\n parent.frames.galaxy_tools.update_recently_used();\n }\n') |
|---|
| 35 | # SOURCE LINE 22 |
|---|
| 36 | __M_writer(u' \n if ( parent.handle_minwidth_hint ) {\n parent.handle_minwidth_hint( -1 );\n }\n\n function main() {\n // If called from outside the galaxy frameset, redirect there\n') |
|---|
| 37 | # SOURCE LINE 29 |
|---|
| 38 | if tool.options.refresh: |
|---|
| 39 | # SOURCE LINE 30 |
|---|
| 40 | __M_writer(u' if ( ! inside_galaxy_frameset ) {\n setTimeout( "refresh()", 1000 );\n document.getElementById( "refresh_message" ).style.display = "block";\n }\n') |
|---|
| 41 | # SOURCE LINE 35 |
|---|
| 42 | __M_writer(u" }\n\n function refresh() {\n top.location.href = '") |
|---|
| 43 | # SOURCE LINE 38 |
|---|
| 44 | __M_writer(unicode(h.url_for( "/" ))) |
|---|
| 45 | __M_writer(u'\';\n } \n\n</script>\n\n</head>\n\n<body onLoad="main()">\n\n<div class="donemessagelarge">\n\n<p>The following job has been successfully added to the queue:</p>\n\n') |
|---|
| 46 | # SOURCE LINE 51 |
|---|
| 47 | for data in out_data.values(): |
|---|
| 48 | # SOURCE LINE 52 |
|---|
| 49 | __M_writer(u' <div style="padding: 10px"><b> ') |
|---|
| 50 | __M_writer(unicode(data.hid)) |
|---|
| 51 | __M_writer(u': ') |
|---|
| 52 | __M_writer(unicode(data.name)) |
|---|
| 53 | __M_writer(u'</b></div>\n') |
|---|
| 54 | # SOURCE LINE 54 |
|---|
| 55 | __M_writer(u"\n<p>\nYou can check the status of queued jobs and view the resulting \ndata by refreshing the <b>History</b> pane. When the job has been run\nthe status will change from 'running' to 'finished' if completed \nsuccessfully or 'error' if problems were encountered.\n</p>\n\n") |
|---|
| 56 | # SOURCE LINE 62 |
|---|
| 57 | if tool.options.refresh: |
|---|
| 58 | # SOURCE LINE 63 |
|---|
| 59 | __M_writer(u'<p id="refresh_message" style="display: none;">You are now being redirected back to <a href="') |
|---|
| 60 | __M_writer(unicode(h.url_for( '/' ))) |
|---|
| 61 | __M_writer(u'">Galaxy</a></div>\n') |
|---|
| 62 | # SOURCE LINE 65 |
|---|
| 63 | __M_writer(u'\n</div>\n\n</body>\n\n</html>\n') |
|---|
| 64 | return '' |
|---|
| 65 | finally: |
|---|
| 66 | context.caller_stack._pop_frame() |
|---|
| 67 | |
|---|
| 68 | |
|---|