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