source: WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt @ 1476

Last change on this file since 1476 was 1417, checked in by joachim, 18 years ago

Edit student_study course added
verdicts vocabulary added
new levels are only created, when no level there,
allow loggin for returning students, which have been created with add_student

  • Property svn:keywords set to Id
File size: 4.4 KB
Line 
1<metal:html>
2  <metal:body use-macro="here/waeup_content_master/macros/master">
3    <metal:block fill-slot="header"
4                 tal:define="global info context/getStudyLevelInfo;
5                 global is_so context/isSectionOfficer;"
6                 >
7      <a href=""
8         tal:attributes="href string:${here/academicsParent}">
9        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
10        Up one level
11      </a>
12      <h3>
13        <span tal:condition="is_so">
14          <span tal:content="info/student/name" />:
15        </span>
16        <span tal:content="here/title_or_id" />
17      </h3>
18      <br />
19    </metal:block>
20    <metal:main fill-slot="main" tal:condition="python:1">
21      <form action="." method="post" class="group">
22        <h3>Carryover Courses</h3>
23        <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content">     
24          <tr tal:repeat="row info/carry_overs"
25              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
26            <td align="left" valign="middle" style="width: 5px;">
27              <input type="checkbox" name="ids:list" value="" id="" class="noborder"
28                     tal:define="id row/code"
29                     tal:attributes="value id;
30                     id python:'cb_' + id;
31                     checked python:id in info['choosen_ids'];"
32                     />
33            </td>
34            <td width="80%" tal:content="row/title"></td>
35            <td width="8%" tal:content="row/code"></td>
36            <td width="2%" tal:content="row/semester"></td>
37            <td width="2%" tal:content="row/credits"></td>
38            <td width="8%" tal:content="row/grade|nothing"></td>
39          </tr>
40        </table>
41        <h3>Session Courses</h3>
42        <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content">     
43          <tr tal:repeat="row info/normal"
44              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
45            <td align="left" valign="middle" style="width: 5px;">
46              <input type="checkbox" name="ids:list" value="" id="" class="noborder"
47                     tal:define="id row/code"
48                     tal:attributes="value id;
49                     id python:'cb_' + id;
50                     checked python:id in info['choosen_ids'];"
51                     />
52            </td>
53            <td width="80%" tal:content="row/title"></td>
54            <td width="8%" tal:content="row/code"></td>
55            <td width="2%" tal:content="row/semester"></td>
56            <td width="2%" tal:content="row/credits"></td>
57            <td width="8%" tal:content="row/coe|nothing"></td>
58          </tr>
59        </table>
60        <table width="100%" cellspacing="0" cellpadding="2"
61               class="folderButtons">
62          <tr>
63            <td align="left" valign="top" rowspan="3"></td>
64            <td align="left" valign="top">
65              <span tal:condition="python:1">
66                <input type="button" value="button_select_all" class="context"
67                       onclick="someJavaScriptFunctionThatWillBeReplaced"
68                       i18n:attributes="value"
69                       tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')'
70                       % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))"
71                       />
72                <input tal:condition="python:1" type="submit" name="register_checked:method"
73                       class="context" value="Register" />
74                <input tal:condition="python:0" type="submit" name="retract_checked:method"
75                       class="context" value="Retract" />
76                <input type="submit" name="folder_delete:method" value="button_delete"
77                       class="destructive" i18n:attributes="value"
78                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
79                       (cpsmcat('description_confirm_delete'), )"
80                       />
81                <input tal:condition="python: 0"
82                       type="submit" name="id_rename_form:method"
83                       class="context" value="Change Object ID" i18n:attributes="value"
84                       />
85              </span>
86            </td>
87          </tr>
88        </table>
89      </form>
90    </metal:main>
91   
92    <metal:sub fill-slot="sub"/>
93  </metal:body>
94</metal:html>
Note: See TracBrowser for help on using the repository browser.