source: WAeUP_SRP/base/skins/waeup_pins/pins_view.pt @ 2849

Last change on this file since 2849 was 2766, checked in by joachim, 17 years ago

M skins/waeup_student/create_level.py
use course_results for carry_overs

M skins/waeup_pins/pins_view.pt
M skins/waeup_pins/search_pins.py
sort batches in select-box

M Widgets.py
M WAeUPTables.py
M WAeUPTool.py
mass_(create,edit)_courseresults edits verdict in level.

M profiles/default/layouts/application_cest.xml
M profiles/default/applicants_catalog.xml
new meta_data field "serial", index must be added manually

  • Property svn:keywords set to Id
File size: 2.7 KB
RevLine 
[1062]1<metal:html tal:define="info options/info;
2                        rendered options/rendered;
3                        mtool here/portal_membership;
4                        member mtool/getAuthenticatedMember;
5                        ">
[535]6  <metal:body use-macro="here/main_template/macros/master">
7    <metal:main fill-slot="main">
8      <span tal:condition="isAnon">
9      </span> 
[1064]10      <h3>Search PIN Section</h3>
11      <br />     
[535]12      <span tal:condition="not:isAnon">
[1062]13        <span tal:replace="structure rendered" />
14      <form action="." method="post">
15        <table>
16          <tr tal:repeat="pin info/used">
17            <td>
18              <input type="checkbox" name="ids:list" value="" id="" class="noborder"
19                     tal:define="id string:${pin/serial}_${pin/prefix}"
20                     tal:attributes="value id;
21                     id python:'cb_' + id;"
22                     />
23            </td>
24            <td width="50px"> <span tal:content="pin/serial" />: </td>
25            <td tal:content="pin/pin" />
26            <td tal:content="pin/student_id" />
[2140]27            <td>
[1062]28              <a tal:condition="pin/student_url" href="" tal:content="pin/student"
29                 tal:attributes="href pin/student_url"></a>
[2140]30              <span tal:condition="python: not pin['student_url'] and not pin['student'].startswith('disabled')" tal:content="pin/student" />
[1062]31            </td>
32          </tr>
33        </table>
[1064]34
35        <span tal:condition="info/used">
36        <br />
37        <input type="submit" name="disable_pins:method"
38               value="disable pins"
39               class="destructive"
40               tal:attributes="onclick python:'return window.confirm(\'%s\')' %
41               (cpsmcat('really disable ?'), )"
42               />
43 
44        &nbsp;
45       
46        <input type="submit" name="enable_pins:method"
47               value="enable pins"
48               class="destructive"
49               tal:attributes="onclick python:'return window.confirm(\'%s\')' %
50               (cpsmcat('really enable ?'), )"
51               />
52         <br />     
53         </span>
54
[1062]55      </form>
[1064]56      <br />
57      <h3>PIN Batches</h3>
58      <br />
[1062]59      <form action="." method="get">
60        <select class="form-element" name=":action"
61                tal:attributes="onChange string:location.href='${context/absolute_url}/'+this.options[this.selectedIndex].value"
62                >
63          <option value="--">Goto Batch ...</option>
[2766]64          <option tal:repeat="batch info/batches"
[1062]65                  tal:attributes="value batch"
66                  tal:content="batch">
67          </option>
68        </select>
69      </form>
[535]70      </span>
71    </metal:main>
72  </metal:body>
73</metal:html>
Note: See TracBrowser for help on using the repository browser.