source: main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/browser_templates/studylevelmanagepage.pt

Last change on this file was 17409, checked in by Henrik Bettermann, 19 months ago

Catch traceback

  • Property svn:executable set to *
File size: 3.6 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="">RST Score</th>
49            <th i18n:translate="">RST Grade</th>
50            <th i18n:translate="">OS</th>
51            <th i18n:translate="">Auto</th>
52          </tr>
53        </thead>
54        <tbody>
55          <tr tal:repeat="value view/translated_values">
56            <td>
57              <input type="checkbox" name="val_id"
58                          tal:attributes="value value/__name__" />
59            </td>
60            <td tal:content="value/semester" nowrap>TERM</td>
61            <td> <a tal:attributes="href value/url">
62            <span tal:content="value/code">CODE</span>
63            </a></td>
64            <td tal:content="value/title">TITLE</td>
65            <td tal:content="value/dcode">DEPARTMENT</td>
66            <td tal:content="value/fcode">FACULTY</td>
67            <td tal:content="value/credits">CREDITS</td>
68            <td tal:content="value/mandatory">MANDATORY</td>
69            <td tal:content="value/score|nothing">SCORE</td>
70            <td tal:content="value/carryover_score|nothing">RSTSCORE</td>
71            <td tal:content="value/carryover_grade|nothing">RSTGRADE</td>
72            <td tal:content="value/outstanding">OS</td>
73            <td tal:content="value/automatic">AUTO</td>
74          </tr>
75        </tbody>
76      </table>
77
78      <div tal:condition="view/availableActions">
79        <span tal:repeat="action view/actions"
80              tal:omit-tag="">
81          <input tal:condition="python:action.label in view.tabtwoactions"
82                 tal:replace="structure action/render"/>
83        </span>
84      </div>
85      <br /><br /><br />
86      <div class="form-inline">
87        <div class="form-group">
88            <input class="btn btn-primary" type="submit" name="ADD"
89                   i18n:translate=""
90                   value="Add course ticket" />
91        </div>
92        <div class="form-group">
93            <input type="text" name="course" class="form-control"
94                   tal:attributes="placeholder view/placeholder" />
95        </div>
96      </div>
97      <br />
98      <p i18n:translate="">
99        You don't know the course code? Then select a course
100        <a href="add">here</a>.
101      </p>
102
103    </div>
104  </div>
105</form>
106
107
108
Note: See TracBrowser for help on using the repository browser.