PageRenderTime 25ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/templates/tool_executed.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 70 lines | 53 code | 17 blank | 0 comment | 0 complexity | ce02087f812eec06f7922d198027bb92 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 2<html>
 3
 4<head>
 5<title>Galaxy</title>
 6<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 7<link href="${h.url_for('/static/style/base.css')}" rel="stylesheet" type="text/css" />
 8<script type="text/javascript">
 9  var inside_galaxy_frameset = false;
10
11  if ( parent.frames && parent.frames.galaxy_history ) {
12      parent.frames.galaxy_history.location.href="${h.url_for( controller='root', action='history' )}";
13      inside_galaxy_frameset = true;
14  }
15
16  %if trans.user:  
17      if (inside_galaxy_frameset)
18      {
19            parent.frames.galaxy_tools.update_recently_used();
20      }
21  %endif
22  
23  if ( parent.handle_minwidth_hint ) {
24      parent.handle_minwidth_hint( -1 );
25  }
26
27  function main() {
28    // If called from outside the galaxy frameset, redirect there
29    %if tool.options.refresh:
30      if ( ! inside_galaxy_frameset ) {
31        setTimeout( "refresh()", 1000 );
32        document.getElementById( "refresh_message" ).style.display = "block";
33      }
34    %endif
35  }
36
37  function refresh() {
38    top.location.href = '${h.url_for( "/" )}';
39  }  
40
41</script>
42
43</head>
44
45<body onLoad="main()">
46
47<div class="donemessagelarge">
48
49<p>The following job has been successfully added to the queue:</p>
50
51%for data in out_data.values():
52   <div style="padding: 10px"><b> ${data.hid}: ${data.name}</b></div>
53%endfor
54
55<p>
56You can check the status of queued jobs and view the resulting 
57data by refreshing the <b>History</b> pane. When the job has been run
58the status will change from 'running' to 'finished' if completed 
59successfully or 'error' if problems were encountered.
60</p>
61
62%if tool.options.refresh:
63<p id="refresh_message" style="display: none;">You are now being redirected back to <a href="${h.url_for( '/' )}">Galaxy</a></div>
64%endif
65
66</div>
67
68</body>
69
70</html>