source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studycoursemanagepage.pt @ 11103

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

Finalize internationalization of py and pt files. Javascript is still missing.

File size: 2.7 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.sirp" enctype="multipart/form-data">
3
4  <ul class="tabs" data-tabs="tabs">
5    <li tal:attributes="class view/tab1"><a href="#tab-1">
6      <span i18n:translate="">Study Course Data</span></a>
7    </li>
8    <li tal:attributes="class view/tab2"><a href="#tab-2">
9      <span i18n:translate="">Study Levels</span></a>
10    </li>
11  </ul>
12
13  <div class="tab-content">
14    <div id="tab-1" tal:attributes="class view/tab1">
15      <table class="form-table">
16      <tbody>
17        <tal:widgets content="structure provider:widgets" />
18      </tbody>
19      </table>
20      <div tal:condition="view/availableActions">
21        <span tal:repeat="action view/actions"
22              tal:omit-tag="">
23          <input tal:condition="python:action.label in view.taboneactions"
24                 tal:replace="structure action/render"/>
25        </span>
26      </div>
27    </div>
28
29    <div id="tab-2" tal:attributes="class view/tab2">
30      <h3 i18n:translate="">Study Levels (Course Lists)</h3>
31      <table class="display dataTableManage">
32        <thead>
33          <tr>
34            <th>&nbsp;</th>
35            <th i18n:translate="">Level Code</th>
36            <th i18n:translate="">Level Title</th>
37          </tr>
38        </thead>
39        <tbody>
40          <tr tal:repeat="cl context/values">
41             <td>
42              <input type="checkbox"
43                         name="val_id"
44                         tal:attributes="value cl/__name__" />
45            </td>
46            <td> <a tal:attributes="href cl/__name__">
47              <span tal:content="cl/level">CODE</span></a>
48            </td>
49            <td>
50              <span tal:content="cl/level_title">TITLE</span>
51            </td>
52          </tr>
53        </tbody>
54      </table>
55
56      <div tal:condition="view/availableActions">
57        <span tal:repeat="action view/actions"
58              tal:omit-tag="">
59          <input tal:condition="python:action.label in view.tabtwoactions"
60                 tal:replace="structure action/render"/>
61        </span>
62      </div>
63      <br /><br /><br />
64      <div>
65        <span tal:condition="view/availableActions">
66          <span tal:repeat="action view/actions"
67                tal:omit-tag="">
68            <input tal:condition="python:action.label in view.tabthreeactions"
69                   tal:replace="structure action/render"/>
70          </span>
71        </span>
72        <select id="addlevel" name="addlevel">
73          <option tal:attributes="value level/code" tal:repeat="level view/level_dict">
74            <span tal:replace="level/title">LEVELTITLE
75          </span>
76          </option>
77        </select>
78      </div>
79    </div>
80  </div>
81</form> 
82
83
84
Note: See TracBrowser for help on using the repository browser.