/templates/webapps/reports/jobs_per_month_all.mako
https://bitbucket.org/h_morita_dbcls/galaxy-central · Mako · 39 lines · 37 code · 2 blank · 0 comment · 2 complexity · f5ef6fc54f60a16e394d9b94a1509e14 MD5 · raw file
- <%inherit file="/base.mako"/>
- <%namespace file="/message.mako" import="render_msg" />
- %if message:
- ${render_msg( message, 'done' )}
- %endif
- <div class="toolForm">
- <div class="toolFormBody">
- <h3 align="center">Jobs Per Month</h3>
- <h4 align="center">Click Month to view the number of jobs for each day of that month</h4>
- <table align="center" width="60%" class="colored">
- %if len( jobs ) == 0:
- <tr><td colspan="4">There are no jobs</td></tr>
- %else:
- <tr class="header">
- <td>Month</td>
- <td>User Jobs</td>
- <td>Monitor Jobs</td>
- <td>Total</td>
- </tr>
- <% ctr = 0 %>
- %for job in jobs:
- %if ctr % 2 == 1:
- <tr class="odd_row">
- %else:
- <tr class="tr">
- %endif
- <td><a href="${h.url_for( controller='jobs', action='specified_month_all', specified_date=job[0]+'-01' )}">${job[4]} ${job[5]}</a></td>
- <td>${job[1]}</td>
- <td>${job[2]}</td>
- <td>${job[3]}</td>
- </tr>
- <% ctr += 1 %>
- %endfor
- %endif
- </table>
- </div>
- </div>