source: WAeUP_SRP/trunk/skins/waeup_student/session_results_view.pt @ 1171

Last change on this file since 1171 was 1171, checked in by Henrik Bettermann, 18 years ago

made login after createReturningStudent work
session_result_view is not yet ready

File size: 2.8 KB
Line 
1<metal:html>
2  <metal:body use-macro="here/main_template/macros/master">
3    <metal:main fill-slot="main">
4      <div tal:condition="nothing" style="text-align: right">
5        <a href="" target="slip" tal:attributes="href string:session_results_anon_slip?nr=${student/matric_no}"
6           onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
7          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
8          Session Result Slip
9        </a>
10      </div>
11      <h3>Session Results of <span tal:content="student/Firstname" />
12        <span tal:content="student/Middlename" />
13        <span tal:content="student/Lastname" />
14      </h3>
15      <br />
16      <table>
17        <tr>
18          <td width="180px"><span class="dlabel">Student ID</span>:
19          </td>
20          <td>
21            <span tal:replace="python:here.aq_parent.aq_parent.id" />
22          </td>     
23        </tr>     
24     
25        <tr>
26          <th width="150px">Matriculation Number:</th><td tal:content="student/matric_no" />                     
27        </tr>
28        <tr>
29          <th>Sex:</th><td tal:content="student/Sex" />                     
30        </tr>
31        <tr>
32          <th>Course of Study:</th><td tal:content="student/Coursemajor" />                     
33        </tr>
34        <tr>
35          <th>Level:</th><td tal:content="student/Level" />                     
36        </tr>
37      </table>
38       
39       <table>
40          <tr>
41            <th width="150px">Verdict:</th><td tal:content="python:results[0][0]['Verdict']" />
42          </tr>
43          <tr> 
44            <th>Session:</th><td tal:content="python:results[0][0]['Session']" />
45          </tr>       
46       </table>
47
48       <br />
49                     
50       <table>
51         <span tal:repeat="semester results">
52            <span tal:repeat="result semester">
53             <tr tal:condition="repeat/result/start">
54              <th colspan="5">
55                <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester
56              </th>
57             </tr>
58            <tr>     
59            <td width="80px" tal:content="result/CosCode" />
60            <td tal:content="result/title" />
61            <td width="50px" align="center" tal:content="result/GRADE" />
62          </tr>
63        </span>
64        </span>
65      </table>
66      <br />
67      <form action="" method="post"
68            tal:attributes="action string:${context/portal_url}/personal_edit_form">
69        <input type="submit"
70               class="standalone"
71               value="Continue to Personal Data Page!"
72               name="submit" />
73      </form>
74    </metal:main>
75  </metal:body>
76</metal:html>
Note: See TracBrowser for help on using the repository browser.