1 | <form action="." tal:attributes="action request/URL" method="POST"
|
---|
2 | enctype="multipart/form-data">
|
---|
3 |
|
---|
4 | <ul class="tabs" data-tabs="tabs">
|
---|
5 | <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Study Level Data</span></a></li>
|
---|
6 | <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Course Tickets</span></a></li>
|
---|
7 | </ul>
|
---|
8 |
|
---|
9 | <div class="tab-content">
|
---|
10 | <div id="tab-1" tal:attributes="class view/tab1">
|
---|
11 | <table class="form-table">
|
---|
12 | <tbody>
|
---|
13 | <tal:block repeat="widget view/widgets">
|
---|
14 | <tr>
|
---|
15 | <td class="fieldname">
|
---|
16 | <span class="required" tal:condition="widget/required">*</span>
|
---|
17 | <span i18n:translate="" tal:content="widget/label">label</span>:
|
---|
18 | </td>
|
---|
19 | <td>
|
---|
20 | <span tal:content="structure widget">
|
---|
21 | <input type="text" />
|
---|
22 | </span>
|
---|
23 | <tal:error tal:condition="widget/error">
|
---|
24 | <span tal:replace="structure widget/error">error</span>
|
---|
25 | </tal:error>
|
---|
26 | <tal:hint tal:condition="widget/hint">
|
---|
27 | <span tal:content="structure widget/hint">hint</span>
|
---|
28 | </tal:hint>
|
---|
29 | </td>
|
---|
30 | </tr>
|
---|
31 | </tal:block>
|
---|
32 | </tbody>
|
---|
33 | </table>
|
---|
34 | <div tal:condition="view/availableActions">
|
---|
35 | <span tal:repeat="action view/actions"
|
---|
36 | tal:omit-tag="">
|
---|
37 | <input tal:condition="python:action.label in view.taboneactions"
|
---|
38 | tal:replace="structure action/render"/>
|
---|
39 | </span>
|
---|
40 | </div>
|
---|
41 | </div>
|
---|
42 |
|
---|
43 | <div id="tab-2" tal:attributes="class view/tab2">
|
---|
44 | <h3>Course Tickets</h3>
|
---|
45 | <table class="display dataTableManage">
|
---|
46 | <thead>
|
---|
47 | <tr>
|
---|
48 | <th> </th>
|
---|
49 | <th>Sem.</th>
|
---|
50 | <th>Code</th>
|
---|
51 | <th>Title</th>
|
---|
52 | <th>Department</th>
|
---|
53 | <th>Faculty</th>
|
---|
54 | <th>Credits</th>
|
---|
55 | <th>Mandatory</th>
|
---|
56 | <th>Score</th>
|
---|
57 | <th>Auto</th>
|
---|
58 | </tr>
|
---|
59 | </thead>
|
---|
60 | <tbody>
|
---|
61 | <tr tal:repeat="value context/values" class="gradeC">
|
---|
62 | <td>
|
---|
63 | <input type="checkbox" name="val_id"
|
---|
64 | tal:attributes="value value/__name__" />
|
---|
65 | </td>
|
---|
66 | <td tal:content="value/semester">SEMESTER</td>
|
---|
67 | <td> <a tal:attributes="href value/__name__">
|
---|
68 | <span tal:content="value/code">CODE</span>
|
---|
69 | </a></td>
|
---|
70 | <td tal:content="value/title">TITLE</td>
|
---|
71 | <td tal:content="value/dcode">DEPARTMENT</td>
|
---|
72 | <td tal:content="value/fcode">FACULTY</td>
|
---|
73 | <td tal:content="value/credits">CREDITS</td>
|
---|
74 | <td tal:content="value/core_or_elective">MANDATORY</td>
|
---|
75 | <td tal:content="value/score">SCORE</td>
|
---|
76 | <td tal:content="value/automatic">AUTO</td>
|
---|
77 | </tr>
|
---|
78 | </tbody>
|
---|
79 | </table>
|
---|
80 |
|
---|
81 | <div tal:condition="view/availableActions">
|
---|
82 | <span tal:repeat="action view/actions"
|
---|
83 | tal:omit-tag="">
|
---|
84 | <input tal:condition="python:action.label in view.tabtwoactions"
|
---|
85 | tal:replace="structure action/render"/>
|
---|
86 | </span>
|
---|
87 | </div>
|
---|
88 |
|
---|
89 | </div>
|
---|
90 | </div>
|
---|
91 | </form>
|
---|
92 |
|
---|
93 |
|
---|
94 |
|
---|