source: WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt @ 1149

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

result view beautified

  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1<metal:html tal:define="student options/student;
2            results options/results"
3            >
4  <metal:body use-macro="here/main_template/macros/master">
5    <metal:main fill-slot="main">
6      <div style="text-align: right">
7        <a href="" target="slip" tal:attributes="href string:session_results_anon_slip?nr=${student/matric_no}"
8           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')">
9          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
10          Session Result Slip
11        </a>
12      </div>
13      <h3>Session Results of <span tal:content="student/Firstname" />
14        <span tal:content="student/Middlename" />
15        <span tal:content="student/Lastname" />
16      </h3>
17      <br />
18      <table>
19        <tr>
20          <th width="150px">Matriculation Number:</th><td tal:content="student/matric_no" />                     
21        </tr>
22        <tr>
23          <th>Sex:</th><td tal:content="student/Sex" />                     
24        </tr>
25        <tr>
26          <th>Course of Study:</th><td tal:content="student/Coursemajor" />                     
27        </tr>
28        <tr>
29          <th>Level:</th><td tal:content="student/Level" />                     
30        </tr>
31      </table>
32       
33       <table>
34          <tr>
35            <th width="150px">Verdict:</th><td tal:content="python:results[0]['Verdict']" />
36          </tr>
37          <tr> 
38            <th>Session:</th><td tal:content="python:results[0]['Session']" />
39          </tr>       
40       </table>
41
42       <br />
43                     
44       <table>
45        <span tal:repeat="result results">
46          <tr tal:condition="repeat/result/start">
47            <th width="150px">Course</th><th>Grade</th>
48          </tr>
49          <tr><td tal:content="result/CosCode" />
50            <td tal:content="result/GRADE" />
51          </tr>
52        </span>
53      </table>
54    </metal:main>
55  </metal:body>
56</metal:html>
Note: See TracBrowser for help on using the repository browser.