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

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

Implement AddStudyLevelFormPage? for students which add the current study level including course tickets. The page can only be called in state 'school fee paid'.

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>Code</th>
65      <th>Title</th>
66      <th>Department</th>
67      <th>Faculty</th>
68      <th>Credits</th>
69      <th>Mandatory</th>
70      <th>Score</th>
71      <th>Auto</th>
72    </tr>
73  </thead>
74  <tbody>
75    <tr tal:repeat="value context/values">
76       <td>
77        <input type="checkbox" name="val_id"
78                  tal:attributes="value value/__name__" />
79      </td>
80      <td> <a tal:attributes="href value/__name__">
81      <span tal:content="value/code">CODE</span>
82      </a></td>
83      <td tal:content="value/title">TITLE</td>
84      <td tal:content="value/department">DEPARTMENT</td>
85      <td tal:content="value/faculty">FACULTY</td>
86      <td tal:content="value/credits">CREDITS</td>
87      <td tal:content="value/core_or_elective">MANDATORY</td>
88      <td tal:content="value/score">SCORE</td>
89      <td tal:content="value/automatic">AUTO</td>
90    </tr>
91  </tbody>
92  </table>
93
94  <div class="actionButtons" tal:condition="view/availableActions">
95    <span tal:repeat="action view/actions"
96          tal:omit-tag="">
97      <input tal:condition="python:action.label in view.tabtwoactions"
98             tal:replace="structure action/render"/>
99    </span>
100  </div>
101
102</div>
103</div>
104</form> 
105
106
107
Note: See TracBrowser for help on using the repository browser.