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