Files
galaxy/templates/tool_executed.tmpl
T

70 lines
1.7 KiB
Cheetah

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Galaxy</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="$h.url_for('/static/style/base.css')" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var inside_galaxy_frameset = false;
if ( parent.frames && parent.frames.galaxy_history )
{
parent.frames.galaxy_history.location.href="$h.url_for( controller='root', action='history' )";
inside_galaxy_frameset = true;
}
if ( parent.handle_minwidth_hint )
{
parent.handle_minwidth_hint( -1 );
}
function main()
{
// If called from outside the galaxy frameset, redirect there
#if $tool.options.refresh
if ( ! inside_galaxy_frameset )
{
setTimeout( "refresh()", 1000 );
document.getElementById( "refresh_message" ).style.display = "block";
}
#end if
}
function refresh()
{
top.location.href = '$request.base';
}
</script>
</head>
<body onLoad="main()">
<div class="donemessage">
<p>The following job has been succesfully added to the queue:</p>
#for $data in $out_data.values
<div style="padding: 10px"><b> $data.hid: $data.name</b></div>
#end for
<p>
You can check the status of queued jobs and view the resulting
data by refreshing the <b>History</b> pane. When the job has been run
the status will change from 'running' to 'finished' if completed
succesfully or 'error' if problems were encountered.
</p>
#if $tool.options.refresh
<p id="refresh_message" style="display: none;">You are now being redirected back to <a href="$request.base">Galaxy</a></div>
#end if
</div>
</body>
</html>