[1380] | 1 | <metal:html> |
---|
[723] | 2 | <metal:body use-macro="here/waeup_content_master/macros/master"> |
---|
[1380] | 3 | <metal:block fill-slot="header" |
---|
| 4 | tal:define="global info context/getStudyLevelInfo; |
---|
| 5 | global is_so context/isSectionOfficer;" |
---|
| 6 | > |
---|
[723] | 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> |
---|
[740] | 12 | <h3> |
---|
[1417] | 13 | <span tal:condition="is_so"> |
---|
[1380] | 14 | <span tal:content="info/student/name" />: |
---|
| 15 | </span> |
---|
| 16 | <span tal:content="here/title_or_id" /> |
---|
[740] | 17 | </h3> |
---|
[772] | 18 | <br /> |
---|
[723] | 19 | </metal:block> |
---|
| 20 | <metal:main fill-slot="main" tal:condition="python:1"> |
---|
[1496] | 21 | |
---|
[1380] | 22 | <form action="." method="post" class="group"> |
---|
[1495] | 23 | <span tal:condition="info/carry_overs" tal:omit-tag=""> |
---|
[1380] | 24 | <h3>Carryover Courses</h3> |
---|
[1496] | 25 | <br /> |
---|
[723] | 26 | <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
[1380] | 27 | <tr tal:repeat="row info/carry_overs" |
---|
| 28 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
| 29 | <td align="left" valign="middle" style="width: 5px;"> |
---|
| 30 | <input type="checkbox" name="ids:list" value="" id="" class="noborder" |
---|
[1494] | 31 | tal:define="id row/id" |
---|
[1380] | 32 | tal:attributes="value id; |
---|
| 33 | id python:'cb_' + id; |
---|
| 34 | checked python:id in info['choosen_ids'];" |
---|
| 35 | /> |
---|
| 36 | </td> |
---|
[1496] | 37 | <td width="78%" tal:content="row/title"></td> |
---|
| 38 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
| 39 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
| 40 | <td align="center" width="2%" tal:content="row/credits"></td> |
---|
| 41 | <td align="center" width="8%" tal:content="row/grade|string:"></td> |
---|
[1380] | 42 | </tr> |
---|
| 43 | </table> |
---|
[1495] | 44 | </span> |
---|
[1380] | 45 | <h3>Session Courses</h3> |
---|
[1496] | 46 | <br /> |
---|
[1380] | 47 | <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
| 48 | <tr tal:repeat="row info/normal" |
---|
| 49 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
| 50 | <td align="left" valign="middle" style="width: 5px;"> |
---|
| 51 | <input type="checkbox" name="ids:list" value="" id="" class="noborder" |
---|
[1494] | 52 | tal:define="id row/id" |
---|
[1380] | 53 | tal:attributes="value id; |
---|
| 54 | id python:'cb_' + id; |
---|
| 55 | checked python:id in info['choosen_ids'];" |
---|
| 56 | /> |
---|
| 57 | </td> |
---|
[1496] | 58 | <td width="78%" tal:content="row/title"></td> |
---|
| 59 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
| 60 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
| 61 | <td align="center" width="2%" tal:content="row/credits"></td> |
---|
| 62 | <td align="center" width="8%" tal:content="row/coe|nothing"></td> |
---|
[1380] | 63 | </tr> |
---|
[1482] | 64 | <tr> |
---|
| 65 | <td colspan="1"></td> |
---|
[1496] | 66 | <td colspan="1"></td> |
---|
| 67 | <th colspan="2">Total Credits:</th> |
---|
| 68 | <td align="center" width="2%" tal:content="info/credits_total"></td> |
---|
[1482] | 69 | </tr> |
---|
[1380] | 70 | </table> |
---|
[723] | 71 | <table width="100%" cellspacing="0" cellpadding="2" |
---|
| 72 | class="folderButtons"> |
---|
| 73 | <tr> |
---|
| 74 | <td align="left" valign="top" rowspan="3"></td> |
---|
| 75 | <td align="left" valign="top"> |
---|
[1380] | 76 | <span tal:condition="python:1"> |
---|
[723] | 77 | <input type="button" value="button_select_all" class="context" |
---|
| 78 | onclick="someJavaScriptFunctionThatWillBeReplaced" |
---|
| 79 | i18n:attributes="value" |
---|
| 80 | tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' |
---|
| 81 | % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" |
---|
| 82 | /> |
---|
[1482] | 83 | <input tal:condition="python:0" type="submit" name="register_checked:method" |
---|
[1380] | 84 | class="context" value="Register" /> |
---|
[731] | 85 | <input tal:condition="python:0" type="submit" name="retract_checked:method" |
---|
[723] | 86 | class="context" value="Retract" /> |
---|
[1482] | 87 | <input type="submit" name="course_result_delete:method" value="button_delete" |
---|
[723] | 88 | class="destructive" i18n:attributes="value" |
---|
| 89 | tal:attributes="onclick python:'return window.confirm(\'%s\')' % |
---|
| 90 | (cpsmcat('description_confirm_delete'), )" |
---|
| 91 | /> |
---|
[731] | 92 | <input tal:condition="python: 0" |
---|
[723] | 93 | type="submit" name="id_rename_form:method" |
---|
| 94 | class="context" value="Change Object ID" i18n:attributes="value" |
---|
| 95 | /> |
---|
| 96 | </span> |
---|
| 97 | </td> |
---|
| 98 | </tr> |
---|
| 99 | </table> |
---|
| 100 | </form> |
---|
[1496] | 101 | <br /> |
---|
| 102 | <form action="add_course_result" method="post" class="group"> |
---|
| 103 | <table> |
---|
| 104 | <tr> |
---|
| 105 | <th>Course Id</th> |
---|
| 106 | <td><input type="text" name="course_id" |
---|
| 107 | tal:attributes="value request/course_id|nothing"/></td> |
---|
| 108 | <td tal:condition="request/error|nothing" |
---|
| 109 | tal:content="request/error" /> |
---|
| 110 | </tr> |
---|
| 111 | <tr> |
---|
| 112 | <th></th> |
---|
| 113 | <td colspan="2"> |
---|
| 114 | <input type="submit" name="add" |
---|
| 115 | class="context" value="Add Course" |
---|
| 116 | /> |
---|
| 117 | </td> |
---|
| 118 | </tr> |
---|
| 119 | </table> |
---|
| 120 | </form> |
---|
[723] | 121 | </metal:main> |
---|
| 122 | </metal:body> |
---|
| 123 | </metal:html> |
---|
[1482] | 124 | |
---|