| 1 | <%inherit file="/base.mako"/> |
|---|
| 2 | <%namespace file="/message.mako" import="render_msg" /> |
|---|
| 3 | |
|---|
| 4 | <% from galaxy import util %> |
|---|
| 5 | |
|---|
| 6 | %if message: |
|---|
| 7 | ${render_msg( message, 'done' )} |
|---|
| 8 | %endif |
|---|
| 9 | |
|---|
| 10 | <div class="toolForm"> |
|---|
| 11 | <div class="toolFormBody"> |
|---|
| 12 | <h3 align="center">Jobs per month for user "${util.restore_text( email )}"</h3> |
|---|
| 13 | <h4 align="center">Click Total Jobs to see the user's jobs for that month</h4> |
|---|
| 14 | <table align="center" width="60%" class="colored"> |
|---|
| 15 | %if len( jobs ) == 0: |
|---|
| 16 | <tr><td colspan="2">There are no jobs for user "${util.restore_text( email )}"</td></tr> |
|---|
| 17 | %else: |
|---|
| 18 | <tr class="header"> |
|---|
| 19 | <td>Month</td> |
|---|
| 20 | <td>Total Jobs</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>${job[2]} ${job[3]}</td> |
|---|
| 30 | <td><a href="${h.url_for( controller='jobs', action='specified_date_handler', operation='user_for_month', email=email, specified_date=job[0] )}">${job[1]}</a></td> |
|---|
| 31 | </tr> |
|---|
| 32 | <% ctr += 1 %> |
|---|
| 33 | %endfor |
|---|
| 34 | %endif |
|---|
| 35 | </table> |
|---|
| 36 | </div> |
|---|
| 37 | </div> |
|---|