1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | %if message: |
---|
5 | ${render_msg( message, 'done' )} |
---|
6 | %endif |
---|
7 | |
---|
8 | <div class="toolForm"> |
---|
9 | <div class="toolFormBody"> |
---|
10 | <h3 align="center">Jobs in Error for ${month_label} ${year_label}</h3> |
---|
11 | <h4 align="center">Click Jobs in Error to view jobs in error for that day</h4> |
---|
12 | <table align="center" width="60%" class="colored"> |
---|
13 | %if len( jobs ) == 0: |
---|
14 | <tr><td colspan="3">There are no jobs in the error state for ${month_label} ${year_label}</td></tr> |
---|
15 | %else: |
---|
16 | <tr class="header"> |
---|
17 | <td>Day</td> |
---|
18 | <td>Date</td> |
---|
19 | <td>Jobs in Error</td> |
---|
20 | </tr> |
---|
21 | <% ctr = 0 %> |
---|
22 | %for job in jobs: |
---|
23 | %if ctr % 2 == 1: |
---|
24 | <tr class="odd_row"> |
---|
25 | %else: |
---|
26 | <tr class="tr"> |
---|
27 | %endif |
---|
28 | <td>${job[0]}</td> |
---|
29 | <td>${month_label} ${job[3]}, ${year_label}</td> |
---|
30 | <td><a href="${h.url_for( controller='jobs', action='specified_date_handler', operation='specified_date_in_error', specified_date=job[1] )}">${job[2]}</a></td> |
---|
31 | </tr> |
---|
32 | <% ctr += 1 %> |
---|
33 | %endfor |
---|
34 | %endif |
---|
35 | </table> |
---|
36 | </div> |
---|
37 | </div> |
---|