source: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/configurationmanagepage.pt @ 7464

Last change on this file since 7464 was 7464, checked in by Henrik Bettermann, 13 years ago

Move form label to site layout pagetemplates. This saves even more code.

File size: 2.5 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data">
2    <ul class="tabs" data-tabs="tabs">
3      <li class="active">
4      <a href="#tab-1">
5        <span>Site Settings
6        </span></a>
7      </li>
8      <li>
9      <a href="#tab-2">Session Configurations</a>
10      </li>
11    </ul>
12    <div class="tab-content">
13    <div id="tab-1" class="active">
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"> <br />
48      <table class="display dataTableManage">
49        <thead>
50          <tr>
51            <th>&nbsp;
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>
Note: See TracBrowser for help on using the repository browser.