1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | <% import datetime %> |
---|
5 | |
---|
6 | %if message: |
---|
7 | ${render_msg( message, 'done' )} |
---|
8 | %endif |
---|
9 | |
---|
10 | <div class="toolForm"> |
---|
11 | <div class="toolFormBody"> |
---|
12 | <h3 align="center">Job Information</h3> |
---|
13 | <table align="center" class="colored"> |
---|
14 | <tr class="header"> |
---|
15 | <td>State</td> |
---|
16 | <td>Job Id</td> |
---|
17 | <td>Create Time</td> |
---|
18 | <td>Time To Finish</td> |
---|
19 | <td>Session Id</td> |
---|
20 | </tr> |
---|
21 | <tr> |
---|
22 | <td><div class="count-box state-color-${job.state}">${job.state}</div></td> |
---|
23 | <td>${job.id}</td> |
---|
24 | <td>${job.create_time}</td> |
---|
25 | <td> |
---|
26 | <% execute_time = job.update_time - job.create_time %> |
---|
27 | ${datetime.timedelta( seconds=execute_time.seconds )} |
---|
28 | </td> |
---|
29 | <td>${job.session_id}</td> |
---|
30 | </tr> |
---|
31 | <tr class="header"> |
---|
32 | <td colspan="2">Tool</td> |
---|
33 | <td>User</td> |
---|
34 | <td>Runner</td> |
---|
35 | <td>Runner Id</td> |
---|
36 | </tr> |
---|
37 | <tr> |
---|
38 | <td colspan="2">${job.tool_id}</td> |
---|
39 | <td> |
---|
40 | %if job.user and job.user.email: |
---|
41 | ${job.user.email} |
---|
42 | %else: |
---|
43 | anonymous |
---|
44 | %endif |
---|
45 | </td> |
---|
46 | <td>${job.job_runner_name}</td> |
---|
47 | <td>${job.job_runner_external_id}</td> |
---|
48 | </tr> |
---|
49 | <tr class="header"> |
---|
50 | <td colspan="5">Remote Host</td> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <td colspan="5"> |
---|
54 | %if job.galaxy_session and job.galaxy_session.remote_host: |
---|
55 | ${job.galaxy_session.remote_host} |
---|
56 | %else: |
---|
57 | no remote host |
---|
58 | %endif |
---|
59 | </td> |
---|
60 | </tr> |
---|
61 | <tr class="header"> |
---|
62 | <td colspan="5">Command Line</td> |
---|
63 | </tr> |
---|
64 | <tr> |
---|
65 | <td colspan="5">${job.command_line}</td> |
---|
66 | </tr> |
---|
67 | <tr class="header"> |
---|
68 | <td colspan="5">Stdout</td> |
---|
69 | </tr> |
---|
70 | <tr> |
---|
71 | <td colspan="5"><pre>${job.stdout}</pre></td> |
---|
72 | </tr> |
---|
73 | <tr class="header"> |
---|
74 | <td colspan="5">Stderr</td> |
---|
75 | </tr> |
---|
76 | <tr> |
---|
77 | <td colspan="5"><pre>${job.stderr}</pre></td> |
---|
78 | </tr> |
---|
79 | <tr class="header"> |
---|
80 | <td colspan="5">Stack Trace</td> |
---|
81 | </tr> |
---|
82 | <tr> |
---|
83 | <td colspan="5"><pre>${job.traceback}</pre></td> |
---|
84 | </tr> |
---|
85 | <tr class="header"> |
---|
86 | <td colspan="5">Info</td> |
---|
87 | </tr> |
---|
88 | <tr> |
---|
89 | <td colspan="5">${job.info}</td> |
---|
90 | </tr> |
---|
91 | <tr><td colspan="5"> </td></tr> |
---|
92 | <tr><td colspan="5"> </td></tr> |
---|
93 | </table> |
---|
94 | </div> |
---|
95 | </div> |
---|