/lib/galaxy/webapps/reports/templates/jobs_specified_month_all.mako
Mako | 41 lines | 40 code | 1 blank | 0 comment | 2 complexity | 1380e6480613c9b04915cebbaf10f5ec MD5 | raw file
1<%inherit file="/base_panels.mako"/>
2
3<%def name="main_body()">
4 <div class="reportBody">
5 <h3 align="center">All Jobs for ${month_label} ${year_label}</h3>
6 <h4 align="center">Click Total Jobs to see jobs for that day</h4>
7 %if msg:
8 <table align="center" width="70%" class="border" cellpadding="5" cellspacing="5">
9 <tr><td class="ok_bgr">${msg}</td></tr>
10 </table>
11 %endif
12 <table align="center" width="60%" class="colored">
13 %if len( jobs ) == 0:
14 <tr><td colspan="5">There are no jobs for ${month_label} ${year_label}</td></tr>
15 %else:
16 <tr class="header">
17 <td>Day</td>
18 <td>Date</td>
19 <td>User Jobs</td>
20 <td>Monitor Jobs</td>
21 <td>Total Jobs</td>
22 </tr>
23 <% ctr = 0 %>
24 %for job in jobs:
25 %if ctr % 2 == 1:
26 <tr class="odd_row">
27 %else:
28 <tr class="tr">
29 %endif
30 <td>${job[0]}</td>
31 <td>${month_label} ${job[5]}, ${year_label}</td>
32 <td>${job[2]}</td>
33 <td>${job[3]}</td>
34 <td><a href="${h.url_for( controller='jobs', action='specified_date_all', specified_date=job[1], day_label=job[0], month_label=month_label, year_label=year_label, day_of_month=job[5] )}">${job[4]}</a></td>
35 </tr>
36 <% ctr += 1 %>
37 %endfor
38 %endif
39 </table>
40 </div>
41</%def>