Changeset 9839
- Timestamp:
- 7 Jan 2013, 11:21:23 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r9837 r9839 207 207 exporter_title = getattr(exporter, 'title', 'Unknown') 208 208 args = ', '.join([str(x) for x in job.kwargs.values()]) 209 descr = '%s <br> (%s)' % (exporter_title, args)210 209 status = job.finished and 'ready' or 'running' 211 210 status = job.failed and 'FAILED' or status … … 219 218 new_entry = dict( 220 219 job=job_id, 221 descr=descr,222 220 creator=user_id, 221 args=args, 222 exporter=exporter_title, 223 223 status=status, 224 224 start_time=start_time, -
main/waeup.kofa/trunk/src/waeup/kofa/browser/static/waeup-base.css
r9415 r9839 98 98 padding-right: 8px; 99 99 padding-top: 4px; 100 text-align: center; 101 } 102 103 .btn.small { 104 font-size: 11px; 105 padding: 4px 6px; 106 width: 50px; 100 107 } 101 108 -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterexportpage.pt
r9836 r9839 43 43 <tr> 44 44 <th i18n:translate="">Export Number</th> 45 <th i18n:translate="">Description</th> 45 <th i18n:translate="">Exporter</th> 46 <th i18n:translate="">Filter</th> 46 47 <th i18n:translate="">Creator</th> 47 48 <th i18n:translate="">Creation Date</th> … … 56 57 </td> 57 58 <td> 58 <span tal:replace="structure job/descr">DESCRIPTION</span> 59 <span tal:replace="structure job/exporter">EXPORTER</span> 60 </td> 61 <td> 62 <span tal:replace="structure job/args">ARGS</span> 59 63 </td> 60 64 <td> … … 68 72 </td> 69 73 <td nowrap> 70 <a href="" class="btn " i18n:translate=""74 <a href="" class="btn small" i18n:translate="" 71 75 tal:condition="job/show_refresh_button"> 72 76 <img tal:attributes="src static/actionicon_reload.png" /> 73 77 Reload 74 78 </a> 75 <a href="" class="btn primary"76 tal:attributes="href job/download_url"77 tal:condition="job/show_download_button">78 Download</a>79 79 <form method="POST"> 80 <a href="" class="btn primary small" 81 tal:attributes="href job/download_url" 82 tal:condition="job/show_download_button"> 83 Download</a> 84 80 85 <input type="hidden" name="job_id" 81 86 tal:attributes="value job/job" /> 82 <input type="submit" class="btn s econdary"87 <input type="submit" class="btn small" 83 88 name="DISCARD" value="Discard" 84 89 tal:condition="job/show_discard_button" /> -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/exportjobsindex.pt
r9822 r9839 3 3 <tr> 4 4 <th i18n:translate="">Export Number</th> 5 <th i18n:translate="">Description</th> 5 <th i18n:translate="">Exporter</th> 6 <th i18n:translate="">Filter</th> 6 7 <th i18n:translate="">Creator</th> 7 8 <th i18n:translate="">Creation Date</th> … … 16 17 </td> 17 18 <td> 18 <span tal:replace="structure job/descr">DESCRIPTION</span> 19 <span tal:replace="structure job/exporter">EXPORTER</span> 20 </td> 21 <td> 22 <span tal:replace="structure job/args">ARGS</span> 19 23 </td> 20 24 <td> … … 33 37 Reload 34 38 </a> 35 <a href="" class="btn primary" 36 tal:attributes="href job/download_url" 37 tal:condition="job/show_download_button"> 38 Download</a> 39 39 40 <form method="POST"> 41 <a href="" class="btn primary small" 42 tal:attributes="href job/download_url" 43 tal:condition="job/show_download_button"> 44 Download</a> 45 40 46 <input type="hidden" name="job_id" 41 47 tal:attributes="value job/job" /> 42 <input type="submit" class="btn s econdary"48 <input type="submit" class="btn small" 43 49 name="DISCARD" value="Discard" 44 50 tal:condition="job/show_discard_button" />
Note: See TracChangeset for help on using the changeset viewer.