source: main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt @ 6108

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

Use jquery datatables also in ApplicantsRootManageFormPage?.

File size: 1.7 KB
Line 
1<h2 i18n:translate=""
2tal:condition="view/label"
3tal:content="view/label">Label</h2>
4
5<div class="form-status"
6tal:define="status view/status"
7tal:condition="status">
8
9<div i18n:translate="" tal:content="view/status">
10  Form status summary
11</div>
12
13<ul class="errors" tal:condition="view/errors">
14  <li tal:repeat="error view/error_views">
15     <span tal:replace="structure error">Error Type</span>
16  </li>
17</ul>
18</div>
19
20
21<form action="." tal:attributes="action request/URL" method="POST"
22      class="edit-form" enctype="multipart/form-data">
23
24<div id="tabs">
25<ul>
26  <li><a href="#tab-1"><span tal:content="view/subunits">Contents</span></a></li>
27</ul>
28   
29<div id="tab-1">
30  <h3 tal:content="view/subunits">Applicants Containers</h3>
31  <table class="display dataTableManage">
32    <thead>
33      <tr>
34        <th>&nbsp;</th><th>Year</th><th>Code</th><th>Title</th>
35      </tr>
36    </thead>
37    <tbody>
38    <tr tal:repeat="entry context/values"
39        class="gradeB">
40     <td>
41      <input type="checkbox"
42                 name="val_id"
43                 tal:attributes="value entry/__name__" />
44     </td>
45      <td tal:content="entry/year">Year
46      </td>
47      <td>
48        <a href=""
49           tal:attributes="href python:view.url(entry)"
50           tal:content="entry/__name__">Code</a>
51      </td>
52      <td tal:content="entry/title">Title
53      </td>
54    </tr>
55    </tbody>
56  </table>
57 
58    <div id="actionsView">
59        <span class="actionButtons" tal:condition="view/availableActions">
60            <span tal:repeat="action view/actions"
61                  tal:omit-tag="">
62              <input tal:condition="python:action.label in view.taboneactions"
63                     tal:replace="structure action/render"/>
64            </span>
65        </span>
66    </div>     
67 
68</div>
69</div>
70</form>
Note: See TracBrowser for help on using the repository browser.