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:block repeat="widget view/widgets">
|
---|
16 | <tr>
|
---|
17 | <td class="fieldname">
|
---|
18 | <span tal:condition="widget/required">*
|
---|
19 | </span>
|
---|
20 | <span tal:content="widget/label">label
|
---|
21 | </span>:
|
---|
22 | </td>
|
---|
23 | <td>
|
---|
24 | <span tal:content="structure widget">
|
---|
25 | <input type="text" />
|
---|
26 | </span>
|
---|
27 | <tal:error tal:condition="widget/error">
|
---|
28 | <span tal:replace="structure widget/error">error
|
---|
29 | </span>
|
---|
30 | </tal:error>
|
---|
31 | <tal:hint tal:condition="widget/hint">
|
---|
32 | <span tal:content="structure widget/hint">hint
|
---|
33 | </span>
|
---|
34 | </tal:hint> </td>
|
---|
35 | </tr>
|
---|
36 | </tal:block>
|
---|
37 | </tbody>
|
---|
38 | </table>
|
---|
39 | <div tal:condition="view/availableActions">
|
---|
40 | <span tal:repeat="action view/actions" tal:omit-tag="">
|
---|
41 | <input tal:condition="python:action.label in view.taboneactions"
|
---|
42 | tal:replace="structure action/render"/>
|
---|
43 | </span>
|
---|
44 | </div>
|
---|
45 | </div>
|
---|
46 | <div id="tab-2" tal:attributes="class view/tab2"> <br />
|
---|
47 | <table class="display dataTableManage">
|
---|
48 | <thead>
|
---|
49 | <tr>
|
---|
50 | <th>
|
---|
51 | </th>
|
---|
52 | <th i18n:translate="">Name
|
---|
53 | </th>
|
---|
54 | </tr>
|
---|
55 | </thead>
|
---|
56 | <tbody>
|
---|
57 | <tr tal:repeat="entry view/getSessionConfigurations" class="gradeC"> <td>
|
---|
58 | <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
|
---|
59 | <a href="" tal:attributes="href entry/url" tal:content="entry/title">Name</a> </td>
|
---|
60 | </tr>
|
---|
61 | </tbody>
|
---|
62 | </table>
|
---|
63 | <div tal:condition="view/availableActions">
|
---|
64 | <span tal:repeat="action view/actions" tal:omit-tag="">
|
---|
65 | <input tal:condition="python:action.label in view.tabtwoactions"
|
---|
66 | tal:replace="structure action/render"/>
|
---|
67 | </span>
|
---|
68 | </div>
|
---|
69 | </div>
|
---|
70 | </div>
|
---|
71 | </form> |
---|