source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt @ 7327

Last change on this file since 7327 was 7310, checked in by Henrik Bettermann, 13 years ago

Export course registration slip on two pages.
Set columns width of each column.
Show semester on all course registration view.

ToDo?: Sort course tickets by semester on course registration slip.

File size: 3.1 KB
Line 
1<h2 i18n:translate=""
2tal:condition="view/label"
3tal:content="view/label">Label</h2>
4
5<div class="form-status"
6    tal:define="status view/status"
7    tal:condition="status">
8    Form Status:
9    <span i18n:translate="" tal:content="view/status">
10      Form status summary
11    </span>
12</div>
13
14<form action="." tal:attributes="action request/URL" method="POST"
15      class="edit-form" enctype="multipart/form-data">
16
17<div id="tabs">
18<ul>
19  <li><a href="#tab-1"><span>Study Level Data</span></a></li>
20  <li><a href="#tab-2"><span>Course Tickets</span></a></li>
21</ul>
22   
23<div id="tab-1">        
24  <table class="zebra">
25  <tbody>
26  <tal:block repeat="widget view/widgets">
27    <tr>
28      <td class="label">
29        <label tal:attributes="for widget/name">
30          <span class="required" tal:condition="widget/required">*</span>
31          <span i18n:translate="" tal:content="widget/label">label</span>:
32        </label>
33      </td>
34      <td class="field">
35        <span class="widget" tal:content="structure widget">
36          <input type="text" />
37        </span>
38        <tal:error tal:condition="widget/error">
39          <span tal:replace="structure widget/error">error</span>
40        </tal:error>
41        <tal:hint tal:condition="widget/hint">
42          <span class="hint" tal:content="structure widget/hint">hint</span>
43        </tal:hint>
44      </td>
45    </tr>
46  </tal:block>
47  </tbody>
48  </table>
49  <div class="actionButtons" tal:condition="view/availableActions">
50    <span tal:repeat="action view/actions"
51          tal:omit-tag="">
52      <input tal:condition="python:action.label in view.taboneactions"
53             tal:replace="structure action/render"/>
54    </span>
55  </div>
56</div>   
57   
58<div id="tab-2">
59  <h3>Course Tickets</h3>
60  <table class="display dataTableManage">
61  <thead>
62    <tr>
63      <th>&nbsp;</th>
64      <th>Sem.</th>
65      <th>Code</th>
66      <th>Title</th>
67      <th>Department</th>
68      <th>Faculty</th>
69      <th>Credits</th>
70      <th>Mandatory</th>
71      <th>Score</th>
72      <th>Auto</th>
73    </tr>
74  </thead>
75  <tbody>
76    <tr tal:repeat="value context/values">
77      <td>
78        <input type="checkbox" name="val_id"
79                  tal:attributes="value value/__name__" />
80      </td>
81      <td tal:content="value/semester">SEMESTER</td>
82      <td> <a tal:attributes="href value/__name__">
83      <span tal:content="value/code">CODE</span>
84      </a></td>
85      <td tal:content="value/title">TITLE</td>
86      <td tal:content="value/department">DEPARTMENT</td>
87      <td tal:content="value/faculty">FACULTY</td>
88      <td tal:content="value/credits">CREDITS</td>
89      <td tal:content="value/core_or_elective">MANDATORY</td>
90      <td tal:content="value/score">SCORE</td>
91      <td tal:content="value/automatic">AUTO</td>
92    </tr>
93  </tbody>
94  </table>
95
96  <div class="actionButtons" tal:condition="view/availableActions">
97    <span tal:repeat="action view/actions"
98          tal:omit-tag="">
99      <input tal:condition="python:action.label in view.tabtwoactions"
100             tal:replace="structure action/render"/>
101    </span>
102  </div>
103
104</div>
105</div>
106</form> 
107
108
109
Note: See TracBrowser for help on using the repository browser.