PageRenderTime 21ms CodeModel.GetById 16ms RepoModel.GetById 0ms 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. <head>
  4. <title>Galaxy</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <link href="${h.url_for('/static/style/base.css')}" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript">
  8. var inside_galaxy_frameset = false;
  9. if ( parent.frames && parent.frames.galaxy_history ) {
  10. parent.frames.galaxy_history.location.href="${h.url_for( controller='root', action='history' )}";
  11. inside_galaxy_frameset = true;
  12. }
  13. %if trans.user:
  14. if (inside_galaxy_frameset)
  15. {
  16. parent.frames.galaxy_tools.update_recently_used();
  17. }
  18. %endif
  19. if ( parent.handle_minwidth_hint ) {
  20. parent.handle_minwidth_hint( -1 );
  21. }
  22. function main() {
  23. // If called from outside the galaxy frameset, redirect there
  24. %if tool.options.refresh:
  25. if ( ! inside_galaxy_frameset ) {
  26. setTimeout( "refresh()", 1000 );
  27. document.getElementById( "refresh_message" ).style.display = "block";
  28. }
  29. %endif
  30. }
  31. function refresh() {
  32. top.location.href = '${h.url_for( "/" )}';
  33. }
  34. </script>
  35. </head>
  36. <body onLoad="main()">
  37. <div class="donemessagelarge">
  38. <p>The following job has been successfully added to the queue:</p>
  39. %for data in out_data.values():
  40. <div style="padding: 10px"><b> ${data.hid}: ${data.name}</b></div>
  41. %endfor
  42. <p>
  43. You can check the status of queued jobs and view the resulting
  44. data by refreshing the <b>History</b> pane. When the job has been run
  45. the status will change from 'running' to 'finished' if completed
  46. successfully or 'error' if problems were encountered.
  47. </p>
  48. %if tool.options.refresh:
  49. <p id="refresh_message" style="display: none;">You are now being redirected back to <a href="${h.url_for( '/' )}">Galaxy</a></div>
  50. %endif
  51. </div>
  52. </body>
  53. </html>