Annotation of MPIWGWeb/zpt/editMPIWGStaff.zpt, revision 1.1.2.3
1.1.2.2 casties 1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1.1.2.1 dwinter 3: <html metal:use-macro="here/mainEditFile/macros/page">
1.1.2.2 casties 4: <head>
5: </head>
6: <body>
7: <tal:block metal:fill-slot="navsel" tal:define="global selected python:'research'"/>
1.1.2.1 dwinter 8: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
9:
10: <form action="changeResearch" method="post">
11: <input type="hidden" name="id_main" tal:attributes="value person/id">
12: <input type="hidden" name="main_fields" value="current_work__current,research_interest__interest">
1.1.2.3 ! casties 13: <h3>Current work</h3>
1.1.2.1 dwinter 14: <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',id_main=person.id)">
1.1.2.3 ! casties 15: <tr><th/><th>Priority</th><th>Show</th></tr>
! 16: <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
1.1.2.1 dwinter 17: <td>
18: <input tal:attributes="name python:'current_work__current__'+str(found2.oid);
19: value found2/current" size="80"/>
20: </td>
21: <td>
22: <input tal:attributes="name python:'current_work__priority__'+str(found2.oid);
23: value found2/priority" size="3"/>
24: </td>
25: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
26: 'current_work__publish__'+str(found2.oid),
27: yes_no_list,
28: boxType='radio',
29: checked=found2.publish)"/>
30: <td>
31: <a tal:attributes="href python:'deleteField?table=current_work&oid=%s'%found2.oid">delete</a>
32: </td>
33: </tr>
34: <tr colspan="4">
35: <td>Add new</td>
36: </tr>
37: <tr>
38: <td>
39: <input tal:attributes="name python:'current_work__current__new'" size="80">
40: </td>
41: <td>
42: <input tal:attributes="name python:'current_work__priority__new'" size="3">
43: </td>
44: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
45: 'current_work__publish__new',
46: yes_no_list,
47: boxType='radio',
48: checked='yes')"/>
49: </tr>
50: </table>
51: <input type="submit" value="submit">
1.1.2.3 ! casties 52:
! 53: <h3>Research interests</h3>
! 54:
1.1.2.1 dwinter 55: <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',id_main=person.id)">
1.1.2.3 ! casties 56: <tr><th/><th>Priority</th><th>Show</th></tr>
! 57: <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
1.1.2.1 dwinter 58: <td>
59: <input tal:attributes="name python:'research_interest__interest__'+str(found2.oid);
60: value found2/interest" size="80"/>
61: </td>
62: <td>
63: <input tal:attributes="name python:'research_interest__priority__'+str(found2.oid);
64: value found2/priority" size="3"/>
65: </td>
66: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
67: 'research_interest__published__'+str(found2.oid),
68: yes_no_list,
69: boxType='radio',
70: checked=found2.published)"/>
71: <td>
72: <a tal:attributes="href python:'deleteField?table=research_interest&oid=%s'%found2.oid">delete</a>
73: </td>
74:
75: </tr>
76: <tr colspan="3">
77: <td>Add new</td>
78: </tr>
79: <tr>
80: <td>
81: <input tal:attributes="name python:'research_interest__interest__new'" size="80">
82: </td>
83: <td>
84: <input tal:attributes="name python:'research_interest__priority__new'" size="3">
85: </td>
86: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
87: 'research_interest__published__new',
88: yes_no_list,
89: boxType='radio',
90: checked='yes')"/>
91: </tr>
92: </table>
93: <input type="submit" value="submit">
94: </form>
95: <h3>Projects</h3>
96: <p>Projects cannot be edited from this pages. Entries are automatically generated.</p>
97: </tal:block>
1.1.2.2 casties 98: </body>
1.1.2.1 dwinter 99: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>