1 | <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data">
|
---|
2 | <ul class="tabs" data-tabs="tabs">
|
---|
3 | <li tal:attributes="class view/tab1">
|
---|
4 | <a href="#tab-1">
|
---|
5 | <span>Site Settings
|
---|
6 | </span></a>
|
---|
7 | </li>
|
---|
8 | <li tal:attributes="class view/tab2">
|
---|
9 | <a href="#tab-2">Session Configurations</a>
|
---|
10 | </li>
|
---|
11 | </ul>
|
---|
12 | <div class="tab-content">
|
---|
13 | <div id="tab-1" tal:attributes="class view/tab1">
|
---|
14 | <table class="form-table">
|
---|
15 | <tbody>
|
---|
16 | <tal:block repeat="widget view/widgets">
|
---|
17 | <tr>
|
---|
18 | <td class="fieldname">
|
---|
19 | <span tal:condition="widget/required">*
|
---|
20 | </span>
|
---|
21 | <span i18n:translate="" tal:content="widget/label">label
|
---|
22 | </span>:
|
---|
23 | </td>
|
---|
24 | <td>
|
---|
25 | <span tal:content="structure widget">
|
---|
26 | <input type="text" />
|
---|
27 | </span>
|
---|
28 | <tal:error tal:condition="widget/error">
|
---|
29 | <span tal:replace="structure widget/error">error
|
---|
30 | </span>
|
---|
31 | </tal:error>
|
---|
32 | <tal:hint tal:condition="widget/hint">
|
---|
33 | <span tal:content="structure widget/hint">hint
|
---|
34 | </span>
|
---|
35 | </tal:hint> </td>
|
---|
36 | </tr>
|
---|
37 | </tal:block>
|
---|
38 | </tbody>
|
---|
39 | </table>
|
---|
40 | <div tal:condition="view/availableActions">
|
---|
41 | <span tal:repeat="action view/actions" tal:omit-tag="">
|
---|
42 | <input tal:condition="python:action.label in view.taboneactions"
|
---|
43 | tal:replace="structure action/render"/>
|
---|
44 | </span>
|
---|
45 | </div>
|
---|
46 | </div>
|
---|
47 | <div id="tab-2" tal:attributes="class view/tab2"> <br />
|
---|
48 | <table class="display dataTableManage">
|
---|
49 | <thead>
|
---|
50 | <tr>
|
---|
51 | <th>
|
---|
52 | </th>
|
---|
53 | <th>Name
|
---|
54 | </th>
|
---|
55 | </tr>
|
---|
56 | </thead>
|
---|
57 | <tbody>
|
---|
58 | <tr tal:repeat="entry view/getSessionConfigurations" class="gradeC"> <td>
|
---|
59 | <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
|
---|
60 | <a href="" tal:attributes="href entry/url" tal:content="entry/title">Name</a> </td>
|
---|
61 | </tr>
|
---|
62 | </tbody>
|
---|
63 | </table>
|
---|
64 | <div tal:condition="view/availableActions">
|
---|
65 | <span tal:repeat="action view/actions" tal:omit-tag="">
|
---|
66 | <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
|
---|
67 | </span>
|
---|
68 | </div>
|
---|
69 | </div>
|
---|
70 | </div>
|
---|
71 | </form> |
---|