source: main/waeup.kofa/branches/uli-upgrade-dependencies/src/waeup/kofa/students/browser_templates/studylevelmanagepage.pt @ 13621

Last change on this file since 13621 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

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