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

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

Replace widgets loop in all pagetemplates by the new widgets provider.

File size: 1.8 KB
RevLine 
[7705]1<form action="." tal:attributes="action request/URL" method="POST"
2  enctype="multipart/form-data" i18n:domain="waeup.sirp">
[7459]3    <ul class="tabs" data-tabs="tabs">
[7484]4      <li tal:attributes="class view/tab1">
[7705]5      <a href="#tab-1" i18n:translate="">Site Settings</a>
[6916]6      </li>
[7484]7      <li tal:attributes="class view/tab2">
[7705]8      <a href="#tab-2" i18n:translate="">Session Configurations</a>
[6916]9      </li>
10    </ul>
[7459]11    <div class="tab-content">
[7484]12    <div id="tab-1" tal:attributes="class view/tab1">
[7459]13      <table class="form-table">
[6916]14        <tbody>
[7737]15          <tal:widgets content="structure provider:widgets" />
[6916]16        </tbody>
17      </table>
[7459]18      <div tal:condition="view/availableActions">
[6916]19        <span tal:repeat="action view/actions" tal:omit-tag="">
[7459]20          <input tal:condition="python:action.label in view.taboneactions"
21                 tal:replace="structure action/render"/>
[6916]22        </span>
23      </div>
24    </div>
[7484]25    <div id="tab-2" tal:attributes="class view/tab2"> <br />
[6916]26      <table class="display dataTableManage">
27        <thead>
28          <tr>
29            <th>&nbsp;
30            </th>
[7705]31            <th i18n:translate="">Name
[6916]32            </th>
33          </tr>
34        </thead>
35        <tbody>
[7459]36          <tr tal:repeat="entry view/getSessionConfigurations" class="gradeC"> <td>
[6916]37              <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td>
38              <a href="" tal:attributes="href entry/url" tal:content="entry/title">Name</a> </td>
39          </tr>
40        </tbody>
41      </table>
[7459]42      <div tal:condition="view/availableActions">
[6916]43        <span tal:repeat="action view/actions" tal:omit-tag="">
[7705]44          <input tal:condition="python:action.label in view.tabtwoactions"
45            tal:replace="structure action/render"/>
[6916]46        </span>
47      </div>
48    </div>
49  </div>
50</form>
Note: See TracBrowser for help on using the repository browser.