source: main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/containermanagepage.pt @ 11041

Last change on this file since 11041 was 11040, checked in by Henrik Bettermann, 11 years ago

Remove rapping element <div class="table-responsive"> again and apply Diazo rule instead.

File size: 2.5 KB
Line 
1<form method="POST" i18n:domain="waeup.kofa">
2<br />
3  <input class="btn primary" type="submit" name="search"
4    tal:attributes="value view/search_button" />
5
6  <select name="searchtype" class="form-control">
7    <option i18n:translate="" value="student_id">with id</option>
8    <option i18n:translate="" value="fullname">with name</option>
9    <option i18n:translate="" value="reg_number">with registration number</option>
10    <option i18n:translate="" value="matric_number">with matriculation number</option>
11    <option i18n:translate="" value="current_session">in session</option>
12    <option i18n:translate="" value="depcode">in department</option>
13    <option i18n:translate="" value="current_mode">in study mode</option>
14    <option i18n:translate="" value="suspended">
15      with deactivated account (search term omitted)
16    </option>
17  </select>
18
19  <input type="text" name="searchterm" />
20
21  <p>&nbsp;</p>
22  <div tal:condition="view/hitlist">
23    <h3>Search Results</h3>
24    <input type="hidden" name="old_searchterm"
25         tal:attributes="value view/searchterm" />
26    <input type="hidden" name="old_searchtype"
27         tal:attributes="value view/searchtype" />
28
29    <input type="checkbox" onClick="toggle(this, 'entries')" />
30    <span  i18n:translate="">Select all</span>
31    <br /><br />
32    <table class="display dataTableManage">
33      <thead>
34        <tr>
35          <th>&nbsp;</th>
36        <th i18n:translate="">Student Id</th>
37        <th i18n:translate="">Reg. Number</th>
38        <th i18n:translate="">Matric. Number</th>
39        <th i18n:translate="">State</th>
40        <th i18n:translate="">Full Name</th>
41        </tr>
42      </thead>
43      <tbody>
44        <tr tal:repeat="item view/hitlist" class="gradeC">
45          <td><input type="checkbox" name="entries"
46                     tal:attributes="value item/context/__name__" /></td>
47          <td> <a tal:attributes="href item/url">
48          <span tal:content="item/student_id">A123456</span></a>
49        </td>
50        <td class="center"> <a tal:attributes="href item/url">
51          <span tal:content="item/reg_number">9999999</span></a>
52        </td>
53        <td class="center"> <a tal:attributes="href item/url">
54          <span tal:content="item/matric_number">9999999</span></a>
55        </td>
56        <td tal:content="item/state">admitted</td>
57          <td tal:content="item/display_fullname">Bob</td>
58        </tr>
59      </tbody>
60    </table>
61   
62    <input type="submit" name="remove"
63           tal:attributes="value view/remove_button" class="btn"
64           onclick="return confirmPost('Are you sure?')"/>
65
66  </div>
67</form>
Note: See TracBrowser for help on using the repository browser.