source: main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/hostels/browser_templates/containermanagepage.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: 2.0 KB
Line 
1<form action="." tal:attributes="action request/URL"
2    i18n:domain="waeup.kofa"
3    method="POST" enctype="multipart/form-data">
4
5
6  <ul class="tabs nav nav-tabs" data-tabs="tabs">
7    <li class="active">
8      <a href="#tab1" data-toggle="tab" i18n:translate="">
9        Settings
10      </a>
11    </li>
12    <li>
13      <a href="#tab2" data-toggle="tab" i18n:translate="">
14        Hostels
15      </a>
16    </li>
17  </ul>
18
19  <div class="tab-content">
20    <div id="tab1" class="active tab-pane">
21      <br />
22      <table class="form-table">
23        <tbody>
24          <tal:widgets content="structure provider:widgets" />
25        </tbody>
26      </table>
27      <div tal:condition="view/availableActions">
28        <span tal:repeat="action view/actions" tal:omit-tag="">
29          <input tal:condition="python:action.label in view.taboneactions"
30            tal:replace="structure action/render"/>
31        </span>
32      </div>
33    </div>
34    <div id="tab2" class="tab-pane">
35      <br />
36      <div class="table-responsive">
37        <table class="dataTableManage">
38          <thead>
39            <tr>
40              <th>&nbsp;
41              </th>
42              <th i18n:translate="">Id
43              </th>
44              <th i18n:translate="">Name
45              </th>
46            </tr>
47          </thead>
48          <tbody>
49            <tr tal:repeat="hostel context/values"> <td>
50                <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td>
51                <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td>
52                <span tal:content="hostel/hostel_name">ID
53                </span> </td>
54            </tr>
55          </tbody>
56        </table>
57      </div>
58      <div tal:condition="view/availableActions">
59        <span tal:repeat="action view/actions" tal:omit-tag="">
60          <input tal:condition="python:action.label in view.tabtwoactions"
61            tal:replace="structure action/render"/>
62        </span>
63      </div>
64    </div>
65  </div>
66</form>
Note: See TracBrowser for help on using the repository browser.