source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/exportjobsindex.pt @ 17944

Last change on this file since 17944 was 15545, checked in by Henrik Bettermann, 5 years ago

Add FacultiesExportJobContainerSelectStudents view to allow
bursary officers to export student data for a small subset of students
by entering a list of student ids or matric numbers.

File size: 2.0 KB
Line 
1<table i18n:domain="waeup.kofa" class="table table-condensed">
2  <thead>
3    <tr>
4      <th i18n:translate="">Export Number</th>
5      <th i18n:translate="">Exporter</th>
6      <th i18n:translate="">Filter</th>
7      <th i18n:translate="">Creator</th>
8      <th i18n:translate="">Creation Date</th>
9      <th i18n:translate="">Status</th>
10      <th>&nbsp;</th>
11    </tr>
12  </thead>
13  <tbody>
14    <tr tal:repeat="job view/entries">
15      <td>
16        <span tal:replace="job/job">12</span>
17      </td>
18      <td>
19        <span tal:replace="structure job/exporter">EXPORTER</span>
20      </td>
21      <td>
22        <span tal:replace="structure job/args">ARGS</span>
23      </td>
24      <td>
25        <span tal:replace="job/creator">CREATOR</span>
26      </td>
27      <td>
28        <span tal:replace="job/start_time">DATETIME</span>
29      </td>
30      <td>
31        <span tal:replace="job/status">STATUS</span>
32      </td>
33      <td nowrap>
34        <a href="" class="btn btn-default" i18n:translate=""
35           tal:condition="job/show_refresh_button">
36          <img src="/static/img/actionicon_reload.png" />
37          Reload
38        </a>
39        <form method="POST">
40          <a href="" class="btn btn-primary btn-xs"
41                 tal:attributes="href job/download_url"
42                 tal:condition="job/show_download_button">
43            Download</a>
44
45          <input type="hidden" name="job_id"
46                 tal:attributes="value job/job" />
47          <input type="submit" class="btn btn-default btn-xs"
48                 name="DISCARD" value="Discard"
49                 tal:condition="job/show_discard_button" />
50        </form>
51      </td>
52    </tr>
53  </tbody>
54</table>
55
56<form method="POST" i18n:domain="waeup.kofa">
57  <input class="btn btn-primary" type="submit" name="CREATE1"
58         value="Set export parameters"
59          />
60  <input tal:condition="python:context.__parent__.__name__ == 'faculties'"
61         class="btn btn-primary" type="submit" name="CREATE2"
62         value="Enter student ids or matric numbers"
63          />
64</form>
Note: See TracBrowser for help on using the repository browser.