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

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

Merge Bootstrap branch into trunk.

File size: 2.7 KB
Line 
1<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
2<div class="alert-message error" 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" enctype="multipart/form-data">
7    <ul class="tabs" data-tabs="tabs">
8      <li class="active">
9      <a href="#tab-1">
10        <span>Site Settings
11        </span></a>
12      </li>
13      <li>
14      <a href="#tab-2">Session Configurations</a>
15      </li>
16    </ul>
17    <div class="tab-content">
18    <div id="tab-1" class="active">
19      <table class="form-table">
20        <tbody>
21          <tal:block repeat="widget view/widgets">
22            <tr>
23              <td class="fieldname">
24                  <span tal:condition="widget/required">*
25                  </span>
26                  <span i18n:translate="" tal:content="widget/label">label
27                  </span>:
28              </td>
29              <td>
30                <span tal:content="structure widget">
31                  <input type="text" />
32                </span>
33                <tal:error tal:condition="widget/error">
34                  <span tal:replace="structure widget/error">error
35                  </span>
36                </tal:error>
37                <tal:hint tal:condition="widget/hint">
38                  <span tal:content="structure widget/hint">hint
39                  </span>
40                </tal:hint> </td>
41            </tr>
42          </tal:block>
43        </tbody>
44      </table>
45      <div tal:condition="view/availableActions">
46        <span tal:repeat="action view/actions" tal:omit-tag="">
47          <input tal:condition="python:action.label in view.taboneactions"
48                 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="gradeC"> <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 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.