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

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

Put all data tables into a <div class="table-responsive"> element.

File size: 1.3 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <div class="table-responsive">
5    <table class="display dataTableManage">
6      <thead>
7      <tr>
8        <th tal:condition="not: layout/isStudent">&nbsp;</th>
9        <th i18n:translate="">Session</th>
10        <th i18n:translate="">Booking Date</th>
11        <th i18n:translate="">Bed Coordinates</th>
12        <th i18n:translate="">Bed Category</th>
13      </tr>
14      </thead>
15      <tbody>
16        <tr tal:repeat="cl context/values">
17           <td tal:condition="not: layout/isStudent">
18            <input type="checkbox"
19                 name="val_id"
20                 tal:attributes="value cl/__name__" />
21          </td>
22          <td> <a tal:attributes="href cl/__name__">
23          <span tal:content="python: cl.getSessionString()">PID</span></a></td>
24          <td tal:content="python: layout.formatDatetime(cl.booking_date)">DATE</td>
25          <td tal:content="cl/display_coordinates">COORDINATES</td>
26          <td tal:content="cl/bed_type">TYPE</td>
27        </tr>
28      </tbody>
29    </table>
30  </div>
31
32  <div tal:condition="view/availableActions">
33    <span tal:repeat="action view/selected_actions"
34          tal:omit-tag="">
35      <input tal:replace="structure action/render"/>
36    </span>
37  </div>
38</form>
Note: See TracBrowser for help on using the repository browser.