Annotation of MPIWGWeb/zpt/editMPIWGStaff.zpt, revision 1.1.2.2
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">
13: <h4>Current work</h4>
14: <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',id_main=person.id)">
15: <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
16: <td>
17: <input tal:attributes="name python:'current_work__current__'+str(found2.oid);
18: value found2/current" size="80"/>
19: </td>
20: <td>
21: <input tal:attributes="name python:'current_work__priority__'+str(found2.oid);
22: value found2/priority" size="3"/>
23: </td>
24: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
25: 'current_work__publish__'+str(found2.oid),
26: yes_no_list,
27: boxType='radio',
28: checked=found2.publish)"/>
29: <td>
30: <a tal:attributes="href python:'deleteField?table=current_work&oid=%s'%found2.oid">delete</a>
31: </td>
32: </tr>
33: <tr colspan="4">
34: <td>Add new</td>
35: </tr>
36: <tr>
37: <td>
38: <input tal:attributes="name python:'current_work__current__new'" size="80">
39: </td>
40: <td>
41: <input tal:attributes="name python:'current_work__priority__new'" size="3">
42: </td>
43: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
44: 'current_work__publish__new',
45: yes_no_list,
46: boxType='radio',
47: checked='yes')"/>
48: </tr>
49: </table>
50: <input type="submit" value="submit">
51: <h4>Research interests</h4>
52: <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',id_main=person.id)">
53: <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
54: <td>
55: <input tal:attributes="name python:'research_interest__interest__'+str(found2.oid);
56: value found2/interest" size="80"/>
57: </td>
58: <td>
59: <input tal:attributes="name python:'research_interest__priority__'+str(found2.oid);
60: value found2/priority" size="3"/>
61: </td>
62: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
63: 'research_interest__published__'+str(found2.oid),
64: yes_no_list,
65: boxType='radio',
66: checked=found2.published)"/>
67: <td>
68: <a tal:attributes="href python:'deleteField?table=research_interest&oid=%s'%found2.oid">delete</a>
69: </td>
70:
71: </tr>
72: <tr colspan="3">
73: <td>Add new</td>
74: </tr>
75: <tr>
76: <td>
77: <input tal:attributes="name python:'research_interest__interest__new'" size="80">
78: </td>
79: <td>
80: <input tal:attributes="name python:'research_interest__priority__new'" size="3">
81: </td>
82: <td tal:content="structure python:here.ZSQLSelectionFromCRList(
83: 'research_interest__published__new',
84: yes_no_list,
85: boxType='radio',
86: checked='yes')"/>
87: </tr>
88: </table>
89: <input type="submit" value="submit">
90: </form>
91: <h3>Projects</h3>
92: <p>Projects cannot be edited from this pages. Entries are automatically generated.</p>
93: </tal:block>
1.1.2.2 ! casties 94: </body>
1.1.2.1 dwinter 95: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>