Annotation of MPIWGWeb/zpt/editMPIWGStaff.zpt, revision 1.1.2.5

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>