source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studylevelmanagepage.pt @ 10009

Last change on this file since 10009 was 9895, checked in by Henrik Bettermann, 12 years ago

Let students and officers add course tickets by entering the course code on the StudyLevelEditFormPage? or StudyLevelManageFormPage? respectively. The course ticket add forms can still be used in case course code is unknown.

File size: 3.4 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.kofa" 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 Level Data</span></a>
7    </li>
8    <li tal:attributes="class view/tab2"><a href="#tab-2">
9      <span i18n:translate="">Course Tickets</span>
10    </a></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="">Course Tickets</h3>
31      <table class="display dataTableManage">
32      <thead>
33        <tr>
34          <th>&nbsp;</th>
35          <th i18n:translate="">Sem.</th>
36          <th i18n:translate="">Code</th>
37          <th i18n:translate="">Title</th>
38          <th i18n:translate="">Dept.</th>
39          <th i18n:translate="">Fact.</th>
40          <th i18n:translate="">Cred.</th>
41          <th i18n:translate="">Requ.</th>
42          <th i18n:translate="">Score</th>
43          <th i18n:translate="">CO</th>
44          <th i18n:translate="">Auto</th>
45        </tr>
46      </thead>
47      <tbody>
48        <tr tal:repeat="value view/translated_values" class="gradeC">
49          <td>
50            <input type="checkbox" name="val_id"
51                  tal:attributes="value value/__name__" />
52          </td>
53          <td tal:content="value/semester">SEMESTER</td>
54          <td> <a tal:attributes="href value/__name__">
55          <span tal:content="value/code">CODE</span>
56          </a></td>
57          <td tal:content="value/title">TITLE</td>
58          <td tal:content="value/dcode">DEPARTMENT</td>
59          <td tal:content="value/fcode">FACULTY</td>
60          <td tal:content="value/credits">CREDITS</td>
61          <td tal:content="value/mandatory">MANDATORY</td>
62          <td tal:content="value/score|nothing">SCORE</td>
63          <td tal:content="value/carry_over">CO</td>
64          <td tal:content="value/automatic">AUTO</td>
65        </tr>
66      </tbody>
67      </table>
68
69      <div tal:condition="view/availableActions">
70        <span tal:repeat="action view/actions"
71              tal:omit-tag="">
72          <input tal:condition="python:action.label in view.tabtwoactions"
73                 tal:replace="structure action/render"/>
74        </span>
75      </div>
76
77      <br /><br /><br />
78      <table class="input-table">
79        <tr>
80          <td>
81            <input class="btn primary" type="submit" name="ADD"
82                   i18n:translate=""
83                   value="Add course ticket" />
84          </td>
85          <td>
86            <input type="text" name="course" />
87            <div class="hint" i18n:translate="">
88                Enter valid course code.
89            </div>
90          </td>
91        </tr>
92      </table>
93      <p i18n:translate="">
94        You don't know the course code? Then select a course
95        <a href="add">here</a>.
96      </p>
97
98    </div>
99  </div>
100</form>
101
102
103
Note: See TracBrowser for help on using the repository browser.