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 Per Month</h3> |
---|
11 | <h4 align="center">Click Month to view the number of jobs for each day of that month</h4> |
---|
12 | <table align="center" width="60%" class="colored"> |
---|
13 | %if len( jobs ) == 0: |
---|
14 | <tr><td colspan="4">There are no jobs</td></tr> |
---|
15 | %else: |
---|
16 | <tr class="header"> |
---|
17 | <td>Month</td> |
---|
18 | <td>User Jobs</td> |
---|
19 | <td>Monitor Jobs</td> |
---|
20 | <td>Total</td> |
---|
21 | </tr> |
---|
22 | <% ctr = 0 %> |
---|
23 | %for job in jobs: |
---|
24 | %if ctr % 2 == 1: |
---|
25 | <tr class="odd_row"> |
---|
26 | %else: |
---|
27 | <tr class="tr"> |
---|
28 | %endif |
---|
29 | <td><a href="${h.url_for( controller='jobs', action='specified_month_all', specified_date=job[0]+'-01' )}">${job[4]} ${job[5]}</a></td> |
---|
30 | <td>${job[1]}</td> |
---|
31 | <td>${job[2]}</td> |
---|
32 | <td>${job[3]}</td> |
---|
33 | </tr> |
---|
34 | <% ctr += 1 %> |
---|
35 | %endfor |
---|
36 | %endif |
---|
37 | </table> |
---|
38 | </div> |
---|
39 | </div> |
---|