1 | <form action="." tal:attributes="action request/URL" method="POST"
|
---|
2 | enctype="multipart/form-data" i18n:domain="waeup.kofa">
|
---|
3 | <ul class="tabs nav nav-tabs" data-tabs="tabs">
|
---|
4 | <li class="active">
|
---|
5 | <a href="#tab1" data-toggle="tab"
|
---|
6 | i18n:translate="">Site Settings</a>
|
---|
7 | </li>
|
---|
8 | <li>
|
---|
9 | <a href="#tab2" data-toggle="tab"
|
---|
10 | i18n:translate="">Session Configurations</a>
|
---|
11 | </li>
|
---|
12 | </ul>
|
---|
13 | <div class="tab-content">
|
---|
14 | <div id="tab1" class="active tab-pane">
|
---|
15 | <table class="form-table">
|
---|
16 | <tbody>
|
---|
17 | <tal:widgets content="structure provider:widgets" />
|
---|
18 | </tbody>
|
---|
19 | </table>
|
---|
20 | <div tal:condition="view/availableActions">
|
---|
21 | <span tal:repeat="action view/actions" tal:omit-tag="">
|
---|
22 | <input tal:condition="python:action.label in view.taboneactions"
|
---|
23 | tal:replace="structure action/render"/>
|
---|
24 | </span>
|
---|
25 | </div>
|
---|
26 | </div>
|
---|
27 | <div id="tab2" class="tab-pane">
|
---|
28 | <br />
|
---|
29 | <table class="dataTableManage">
|
---|
30 | <thead>
|
---|
31 | <tr>
|
---|
32 | <th>
|
---|
33 | </th>
|
---|
34 | <th i18n:translate="">Name
|
---|
35 | </th>
|
---|
36 | </tr>
|
---|
37 | </thead>
|
---|
38 | <tbody>
|
---|
39 | <tr tal:repeat="entry view/getSessionConfigurations">
|
---|
40 | <td>
|
---|
41 | <input type="checkbox" name="val_id"
|
---|
42 | tal:attributes="value entry/name" /> </td> <td>
|
---|
43 | <a href="" tal:attributes="href entry/url"
|
---|
44 | tal:content="entry/title">Name</a> </td>
|
---|
45 | </tr>
|
---|
46 | </tbody>
|
---|
47 | </table>
|
---|
48 | <div tal:condition="view/availableActions">
|
---|
49 | <span tal:repeat="action view/actions" tal:omit-tag="">
|
---|
50 | <input tal:condition="python:action.label in view.tabtwoactions"
|
---|
51 | tal:replace="structure action/render"/>
|
---|
52 | </span>
|
---|
53 | </div>
|
---|
54 | </div><!-- /tab2 -->
|
---|
55 | </div><!-- /tab-content -->
|
---|
56 | </form>
|
---|