source: main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser_templates/studylevelmanagepage.pt @ 17026

Last change on this file since 17026 was 17026, checked in by Henrik Bettermann, 2 years ago

Show total score on studylevel pages.

File size: 3.5 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 nav nav-tabs" data-tabs="tabs">
5    <li class="active">
6      <a href="#tab1" data-toggle="tab">
7        <span i18n:translate="">Study Level Data</span>
8      </a>
9    </li>
10    <li>
11      <a href="#tab2" data-toggle="tab">
12        <span i18n:translate="">Course Tickets</span>
13      </a>
14    </li>
15  </ul>
16
17  <div class="tab-content">
18    <div id="tab1" class="active tab-pane">
19      <br />
20      <table class="form-table">
21      <tbody>
22        <tal:widgets content="structure provider:widgets" />
23      </tbody>
24      </table>
25      <div tal:condition="view/availableActions">
26        <span tal:repeat="action view/actions"
27              tal:omit-tag="">
28          <input tal:condition="python:action.label in view.taboneactions"
29                 tal:replace="structure action/render"/>
30        </span>
31      </div>
32    </div>
33
34    <div id="tab2" class="tab-pane">
35      <br /><br />
36      <table class="kofa-data-table dataTableManage">
37        <thead>
38          <tr>
39            <th>&nbsp;</th>
40            <th i18n:translate="">Term</th>
41            <th i18n:translate="">Code</th>
42            <th i18n:translate="">Title</th>
43            <th i18n:translate="">Dept.</th>
44            <th i18n:translate="">Fact.</th>
45            <th i18n:translate="">Cred.</th>
46            <th i18n:translate="">Requ.</th>
47            <th i18n:translate="">Score</th>
48            <th i18n:translate="">CO</th>
49            <th i18n:translate="">OS</th>
50            <th i18n:translate="">Auto</th>
51          </tr>
52        </thead>
53        <tbody>
54          <tr tal:repeat="value view/translated_values">
55            <td>
56              <input type="checkbox" name="val_id"
57                          tal:attributes="value value/__name__" />
58            </td>
59            <td tal:content="value/semester" nowrap>TERM</td>
60            <td> <a tal:attributes="href value/url">
61            <span tal:content="value/code">CODE</span>
62            </a></td>
63            <td tal:content="value/title">TITLE</td>
64            <td tal:content="value/dcode">DEPARTMENT</td>
65            <td tal:content="value/fcode">FACULTY</td>
66            <td tal:content="value/credits">CREDITS</td>
67            <td tal:content="value/mandatory">MANDATORY</td>
68            <td tal:content="value/total_score|nothing">SCORE</td>
69            <td tal:content="value/carry_over">CO</td>
70            <td tal:content="value/outstanding">OS</td>
71            <td tal:content="value/automatic">AUTO</td>
72          </tr>
73        </tbody>
74      </table>
75
76      <div tal:condition="view/availableActions">
77        <span tal:repeat="action view/actions"
78              tal:omit-tag="">
79          <input tal:condition="python:action.label in view.tabtwoactions"
80                 tal:replace="structure action/render"/>
81        </span>
82      </div>
83      <br /><br /><br />
84      <div class="form-inline">
85        <div class="form-group">
86            <input class="btn btn-primary" type="submit" name="ADD"
87                   i18n:translate=""
88                   value="Add course ticket" />
89        </div>
90        <div class="form-group">
91            <input type="text" name="course" class="form-control"
92                   tal:attributes="placeholder view/placeholder" />
93        </div>
94      </div>
95      <br />
96      <p i18n:translate="">
97        You don't know the course code? Then select a course
98        <a href="add">here</a>.
99      </p>
100
101    </div>
102  </div>
103</form>
104
105
106
Note: See TracBrowser for help on using the repository browser.