source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt @ 7724

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

Start internationalization of pagetemplates. Clean up and remove unneeded i18n:translate tags first.

File size: 3.2 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      enctype="multipart/form-data">
3
4  <ul class="tabs" data-tabs="tabs">
5    <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Study Level Data</span></a></li>
6    <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Course Tickets</span></a></li>
7  </ul>
8
9  <div class="tab-content">
10    <div id="tab-1" tal:attributes="class view/tab1">
11      <table class="form-table">
12      <tbody>
13      <tal:block repeat="widget view/widgets">
14        <tr>
15          <td class="fieldname">
16            <span class="required" tal:condition="widget/required">*</span>
17            <span tal:content="widget/label">label</span>:
18          </td>
19          <td>
20            <span tal:content="structure widget">
21              <input type="text" />
22            </span>
23            <tal:error tal:condition="widget/error">
24              <span tal:replace="structure widget/error">error</span>
25            </tal:error>
26            <tal:hint tal:condition="widget/hint">
27              <span tal:content="structure widget/hint">hint</span>
28            </tal:hint>
29          </td>
30        </tr>
31      </tal:block>
32      </tbody>
33      </table>
34      <div tal:condition="view/availableActions">
35        <span tal:repeat="action view/actions"
36              tal:omit-tag="">
37          <input tal:condition="python:action.label in view.taboneactions"
38                 tal:replace="structure action/render"/>
39        </span>
40      </div>
41    </div>
42
43    <div id="tab-2" tal:attributes="class view/tab2">
44      <h3>Course Tickets</h3>
45      <table class="display dataTableManage">
46      <thead>
47        <tr>
48          <th>&nbsp;</th>
49          <th>Sem.</th>
50          <th>Code</th>
51          <th>Title</th>
52          <th>Dept.</th>
53          <th>Fact.</th>
54          <th>Cred.</th>
55          <th>Mand.</th>
56          <th>Score</th>
57          <th>CO</th>
58          <th>Auto</th>
59        </tr>
60      </thead>
61      <tbody>
62        <tr tal:repeat="value context/values" class="gradeC">
63          <td>
64            <input type="checkbox" name="val_id"
65                  tal:attributes="value value/__name__" />
66          </td>
67          <td tal:content="value/semester">SEMESTER</td>
68          <td> <a tal:attributes="href value/__name__">
69          <span tal:content="value/code">CODE</span>
70          </a></td>
71          <td tal:content="value/title">TITLE</td>
72          <td tal:content="value/dcode">DEPARTMENT</td>
73          <td tal:content="value/fcode">FACULTY</td>
74          <td tal:content="value/credits">CREDITS</td>
75          <td tal:content="value/mandatory">MANDATORY</td>
76          <td tal:content="value/score">SCORE</td>
77          <td tal:content="value/carry_over">CO</td>
78          <td tal:content="value/automatic">AUTO</td>
79        </tr>
80      </tbody>
81      </table>
82
83      <div tal:condition="view/availableActions">
84        <span tal:repeat="action view/actions"
85              tal:omit-tag="">
86          <input tal:condition="python:action.label in view.tabtwoactions"
87                 tal:replace="structure action/render"/>
88        </span>
89      </div>
90
91    </div>
92  </div>
93</form> 
94
95
96
Note: See TracBrowser for help on using the repository browser.