<%=str(job['uid'])%>: <%=title%> (<%=job['status']%>) |
Target: | <%=target_str%> |
Submitter: | <%=despam_user(job['username'])%> |
Source: | <%=str(job['source'])%> |
Started: | <%=str(time.ctime(job['starttime']))%> |
<%
if job['endtime'] != 0:
total_time = (int(job['endtime']) - int(job['starttime'])) / 60
%>
Ended: | <%=str(time.ctime(job['endtime']))%> (ran for <%=str(total_time)%> minutes) |
<%
# endif
if job.has_key('log_url') and job['log_url'] and len(job['log_url']):
log_url = str(job['log_url'])
%>
Logs: | <%=log_url%> |
<%
# endif
if job.has_key('result_msg') and job['result_msg'] and len(job['result_msg']):
import urllib
result_msg = urllib.unquote(str(job['result_msg']))
if result_msg[-1] != '\n':
result_msg += '\n'
result_msg = ""+result_msg.replace("\n", "
")+"
"
%>
Result: | <%=result_msg%> |
<%
# endif
%>