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

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

Use kofa-data-table css class for Diazo rules.

File size: 1.9 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      <table class="kofa-data-table dataTableManage">
37        <thead>
38          <tr>
39            <th>&nbsp;
40            </th>
41            <th i18n:translate="">Id
42            </th>
43            <th i18n:translate="">Name
44            </th>
45          </tr>
46        </thead>
47        <tbody>
48          <tr tal:repeat="hostel context/values"> <td>
49              <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td>
50              <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td>
51              <span tal:content="hostel/hostel_name">ID
52              </span> </td>
53          </tr>
54        </tbody>
55      </table>
56      <div tal:condition="view/availableActions">
57        <span tal:repeat="action view/actions" tal:omit-tag="">
58          <input tal:condition="python:action.label in view.tabtwoactions"
59            tal:replace="structure action/render"/>
60        </span>
61      </div>
62    </div>
63  </div>
64</form>
Note: See TracBrowser for help on using the repository browser.