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