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

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

Implement SessionConfiguration?, SessionConfigurationAddFormPage?, SessionConfigurationFactory? (work in progress).

File size: 2.8 KB
Line 
1<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
2<div class="form-status" tal:define="status view/status" tal:condition="status"> Form Status:
3  <span i18n:translate="" tal:content="view/status"> Form status summary
4  </span>
5</div>
6<form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data">
7  <div id="tabs">
8    <ul>
9      <li>
10      <a href="#tab-1">
11        <span>Site Settings
12        </span></a>
13      </li>
14      <li>
15      <a href="#tab-2">Session Configurations</a>
16      </li>
17    </ul>
18    <div id="tab-1">
19      <table class="zebra">
20        <tbody>
21          <tal:block repeat="widget view/widgets">
22            <tr>
23              <td class="label">
24                <label tal:attributes="for widget/name">
25                  <span class="required" tal:condition="widget/required">*
26                  </span>
27                  <span i18n:translate="" tal:content="widget/label">label
28                  </span>:
29                </label> </td>
30              <td class="field">
31                <span class="widget" tal:content="structure widget">
32                  <input type="text" />
33                </span>
34                <tal:error tal:condition="widget/error">
35                  <span tal:replace="structure widget/error">error
36                  </span>
37                </tal:error>
38                <tal:hint tal:condition="widget/hint">
39                  <span class="hint" tal:content="structure widget/hint">hint
40                  </span>
41                </tal:hint> </td>
42            </tr>
43          </tal:block>
44        </tbody>
45      </table>
46      <div class="actionButtons" tal:condition="view/availableActions">
47        <span tal:repeat="action view/actions" tal:omit-tag="">
48          <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/>
49        </span>
50      </div>
51    </div>
52    <div id="tab-2"> <br />
53      <table class="display dataTableManage">
54        <thead>
55          <tr>
56            <th>&nbsp;
57            </th>
58            <th>Name
59            </th>
60          </tr>
61        </thead>
62        <tbody>
63          <tr tal:repeat="entry view/getSessionConfigurations" class="gradeB"> <td>
64              <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
65              <a href="" tal:attributes="href entry/url" tal:content="entry/title">Name</a> </td>
66          </tr>
67        </tbody>
68      </table>
69      <div class="actionButtons" tal:condition="view/availableActions">
70        <span tal:repeat="action view/actions" tal:omit-tag="">
71          <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
72        </span>
73      </div>
74    </div>
75  </div>
76</form>
Note: See TracBrowser for help on using the repository browser.