Annotation of MPIWGWeb/zpt/editTeaching.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: <body>
1.1.2.4   casties     5: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:teaching" />
1.1.2.1   dwinter     6: 
                      7: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
1.1.2.3   casties     8:   <form action="changeResearch" method="post">
1.1.2.5 ! dwinter     9:   <input type="hidden" name="key_main" tal:attributes="value person/key">
1.1.2.3   casties    10:   <input type="hidden" name="main_fields" value="teaching__title">
1.1.2.5 ! dwinter    11:   <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='teaching',key_main=person.key)">
1.1.2.3   casties    12:     <tr>
                     13:       <th>Date</th>
                     14:       <th>Title/Place/Link</th>
                     15:       <th>Priority</th>
                     16:       <th>Show</th>
                     17:     </tr>
                     18:     <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
                     19:       <td valign="top"><input tal:attributes="name python:'teaching__date__'+str(found2.oid); 
                     20:                     value found2/date" size="10" />
                     21:       </td>
                     22: 
                     23:       <td><input tal:attributes="name python:'teaching__title__'+str(found2.oid); 
                     24:                     value found2/title" size="80" /> <br>
                     25:       <input tal:attributes="name python:'teaching__place__'+str(found2.oid); 
                     26:                     value found2/place" size="80" /> <br>
                     27:       <input tal:attributes="name python:'teaching__link__'+str(found2.oid); 
                     28:                     value found2/link" size="80" /></td>
                     29: 
                     30:       <td valign="top"><input tal:attributes="name python:'teaching__priority__'+str(found2.oid);
                     31:                     value found2/priority"
                     32:         size="3" /></td>
                     33:       <td valign="top"
                     34:         tal:content="structure python:here.ZSQLSelectionFromCRList(
1.1.2.1   dwinter    35:                 'teaching__published__'+str(found2.oid),
                     36:                 yes_no_list,
                     37:                 boxType='radio',
1.1.2.3   casties    38:                 checked=found2.published)" />
                     39:       <td><a tal:attributes="href python:'deleteField?table=teaching&oid=%s'%found2.oid">delete</a></td>
                     40:     </tr>
                     41:     <tr colspan="4">
                     42:       <td>Add new</td>
                     43:     </tr>
                     44:     <tr>
                     45:       <td valign="top"><input tal:attributes="name python:'teaching__date__new'" size="10" /></td>
                     46:       <td><input tal:attributes="name python:'teaching__title__new'" size="80"> <br>
                     47:       <input tal:attributes="name python:'teaching__place__new'" size="80" /> <br>
                     48:       <input tal:attributes="name python:'teaching__link__new'" size="80" /></td>
                     49:       <td><input tal:attributes="name python:'teaching__priority__new'" size="3"></td>
                     50:       <td valign="top"
                     51:         tal:content="structure python:here.ZSQLSelectionFromCRList(
1.1.2.1   dwinter    52:                 'teaching__published__new',
                     53:                 yes_no_list,
                     54:                 boxType='radio',
1.1.2.3   casties    55:                 checked='yes')" />
                     56:     </tr>
                     57:   </table>
                     58:   <input type="submit" value="submit">
                     59: 
                     60:   </form>
1.1.2.1   dwinter    61: </tal:block>
1.1.2.2   casties    62: </body>
1.1.2.1   dwinter    63: </html>

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