source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studyleveleditpage.pt @ 13215

Last change on this file since 13215 was 12473, checked in by Henrik Bettermann, 10 years ago

Use bootstrap css classes.

File size: 2.2 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <h3 i18n:translate="">
5    Course Tickets
6    (Total Credits:
7    <span i18n:name="total_credits"
8      tal:replace="view/context/total_credits">TOTAL</span>)
9  </h3>
10  <table class="kofa-data-table dataTableManage">
11  <thead>
12    <tr>
13      <th>&nbsp;</th>
14      <th i18n:translate="">Term</th>
15      <th i18n:translate="">Code</th>
16      <th i18n:translate="">Title</th>
17      <th i18n:translate="">Department</th>
18      <th i18n:translate="">Faculty</th>
19      <th i18n:translate="">Credits</th>
20      <th i18n:translate="">Score</th>
21      <th i18n:translate="">CO</th>
22    </tr>
23  </thead>
24  <tbody>
25    <tr tal:repeat="value view/translated_values">
26       <td>
27        <input type="checkbox" name="val_id"
28                  tal:attributes="value value/__name__"
29        tal:condition="value/removable_by_student" />
30      </td>
31      <td tal:content="value/semester" nowrap>TERM</td>
32      <td> <a tal:attributes="href value/url">
33      <span tal:content="value/code">CODE</span>
34      </a></td>
35      <td tal:content="value/title">TITLE</td>
36      <td tal:content="value/dcode">DEPARTMENT</td>
37      <td tal:content="value/fcode">FACULTY</td>
38      <td tal:content="value/credits">CREDITS</td>
39      <td tal:content="value/score|nothing">SCORE</td>
40      <td tal:content="value/carry_over">CO</td>
41    </tr>
42  </tbody>
43  </table>
44
45  <div tal:condition="view/availableActions">
46    <span tal:repeat="action view/actions"
47          tal:omit-tag="">
48      <input tal:replace="structure action/render"/>
49    </span>
50  </div>
51  <br /><br /><br />
52  <div class="form-inline">
53    <div class="form-group">
54        <input class="btn btn-primary" type="submit" name="ADD"
55               i18n:translate=""
56               value="Add course ticket" />
57    </div>
58    <div class="form-group">
59        <input type="text" name="course" class="form-control"
60               tal:attributes="placeholder view/placeholder" />
61    </div>
62  </div>
63  <br />
64  <p i18n:translate="">
65    You don't know the course code? Then select a course
66    <a href="ctadd">here</a>.
67  </p>
68</form> 
69
70
71
Note: See TracBrowser for help on using the repository browser.