mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Now unused
This commit is contained in:
@@ -1,120 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Galaxy
|
||||
%if app.config.brand:
|
||||
| ${app.config.brand}
|
||||
%endif
|
||||
| Dataset generation errors
|
||||
</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="/static/style/base.css" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
pre
|
||||
{
|
||||
background: white;
|
||||
color: black;
|
||||
border: dotted black 1px;
|
||||
overflow: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
function sendReport( button, form, target, doConfirm )
|
||||
{
|
||||
var doIt = true;
|
||||
if ( doConfirm==true )
|
||||
{
|
||||
doIt = confirm( 'You are about to submit to a public forum, do you want to continue?' );
|
||||
}
|
||||
if ( doIt==true )
|
||||
{
|
||||
form.setAttribute( 'target', target );
|
||||
for( i=0; i<form.elements.length; i++ )
|
||||
{
|
||||
if ( form.elements[i].type == 'submit' )
|
||||
{
|
||||
form.elements[i].disabled = true;
|
||||
}
|
||||
|
||||
}
|
||||
var hiddenInput = document.createElement('input');
|
||||
hiddenInput.type = 'hidden';
|
||||
hiddenInput.name = button.name;
|
||||
hiddenInput.value = button.value;
|
||||
form.appendChild( hiddenInput );
|
||||
form.submit();
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2>Dataset generation errors</h2>
|
||||
<p><b>Dataset ${hda.hid}: ${hda.display_name() | h}</b></p>
|
||||
<% job = hda.creating_job %>
|
||||
%if job:
|
||||
|
||||
%if job.traceback:
|
||||
The Galaxy framework encountered the following error while attempting to run the tool:
|
||||
<pre>${ util.unicodify( job.traceback ) | h}</pre>
|
||||
%endif
|
||||
%if job.stderr or job.info:
|
||||
Tool execution generated the following error message:
|
||||
%if job.stderr:
|
||||
<pre>${ util.unicodify( job.stderr ) | h}</pre>
|
||||
%elif job.info:
|
||||
<pre>${ util.unicodify( job.info ) | h}</pre>
|
||||
%endif
|
||||
%else:
|
||||
Tool execution did not generate any error messages.
|
||||
%endif
|
||||
%if job.stdout:
|
||||
The tool produced the following additional output:
|
||||
<pre>${ util.unicodify( job.stdout ) | h}</pre>
|
||||
%endif
|
||||
%else:
|
||||
The tool did not create any additional job / error info.
|
||||
%endif
|
||||
<%
|
||||
if trans.user:
|
||||
user_email = trans.user.email
|
||||
else:
|
||||
user_email = ''
|
||||
%>
|
||||
<h2>Report this error to the local Galaxy administrators</h2>
|
||||
<p>
|
||||
Usually the local Galaxy administrators regularly review errors that occur on the server.
|
||||
However, if you would like to provide additional information (such as
|
||||
what you were trying to do when the error occurred) and a contact e-mail
|
||||
address, we will be better able to investigate your problem and get back
|
||||
to you.
|
||||
</p>
|
||||
<div class="toolForm">
|
||||
<div class="toolFormTitle">Error Report</div>
|
||||
<div class="toolFormBody">
|
||||
<form name="report_error" action="${h.url_for(controller='dataset', action='report_error')}" method="post" >
|
||||
<input type="hidden" name="id" value="${trans.security.encode_id( hda.id)}" />
|
||||
<div class="form-row">
|
||||
<label>Your email</label>
|
||||
<input type="text" name="email" size="40" value="${user_email|h}" />
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label>Message</label>
|
||||
<textarea name="message" rows="10" cols="60"></textarea>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<input type="submit" name="submit_error_report" value="Report" onclick="return sendReport( this, this.form, '_self' );"/>
|
||||
%if trans.app.config.biostar_url and trans.app.config.biostar_enable_bug_reports:
|
||||
<input type="submit" name="submit_error_report" value="Post on Biostar" onclick="return sendReport( this, this.form, '_blank', true );"/>
|
||||
%endif
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user