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