37
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
3 <html metal:use-macro="here/mainEditFile/macros/page">
|
|
4 <body>
|
|
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:talks" />
|
|
6
|
|
7 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
|
170
|
8 <form tal:attributes="action string:$root/editTalks" method="post">
|
37
|
9 <input type="hidden" name="key_main" tal:attributes="value python:here.content.key">
|
|
10 <input type="hidden" name="main_fields" value="talks__title">
|
170
|
11 <table tal:define="talks python:here.getTalks(published=False)">
|
37
|
12 <tr>
|
|
13 <th>Date</th>
|
|
14 <th>Title/Place/Link</th>
|
|
15 <th>Priority</th>
|
|
16 <th>Show</th>
|
|
17 </tr>
|
170
|
18 <tr tal:repeat="talk talks">
|
37
|
19 <td valign="top">
|
170
|
20 <input tal:attributes="name python:'talks__date__'+str(talk.oid); value talk/date" size="10" />
|
37
|
21 </td>
|
|
22 <td>
|
170
|
23 <input tal:attributes="name python:'talks__title__'+str(talk.oid); value python:talk.title" size="80" /><br>
|
|
24 <input tal:attributes="name python:'talks__place__'+str(talk.oid); value python:talk.place" size="80" /><br>
|
|
25 <input tal:attributes="name python:'talks__link__'+str(talk.oid); value python:talk.link" size="80" />
|
37
|
26 </td>
|
|
27 <td valign="top">
|
170
|
28 <input tal:attributes="name python:'talks__priority__'+str(talk.oid); value talk/priority" size="3" />
|
37
|
29 </td>
|
170
|
30 <td valign="top" tal:define="name string:talks__published__${talk/oid}; value talk/published;">
|
159
|
31 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
|
|
32 </td>
|
37
|
33 <td>
|
170
|
34 <a tal:attributes="href string:$root/deleteField?table=talks&key=${talk/oid}">delete</a>
|
37
|
35 </td>
|
|
36 </tr>
|
|
37 <tr colspan="4">
|
170
|
38 <th>Add new</th>
|
37
|
39 </tr>
|
|
40 <tr>
|
|
41 <td valign="top"><input tal:attributes="name python:'talks__date__new'" size="10" /></td>
|
170
|
42 <td>
|
|
43 <input tal:attributes="name python:'talks__title__new'" size="80"/> <br/>
|
|
44 <input tal:attributes="name python:'talks__place__new'" size="80" /> <br/>
|
|
45 <input tal:attributes="name python:'talks__link__new'" size="80" />
|
|
46 </td>
|
|
47 <td>
|
|
48 <input tal:attributes="name python:'talks__priority__new'" size="3">
|
|
49 </td>
|
159
|
50 <td valign="top" tal:define="name string:talks__published__new; value string:yes;">
|
170
|
51 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
|
159
|
52 </td>
|
37
|
53 </tr>
|
|
54 </table>
|
170
|
55 <p>
|
|
56 <input type="submit" value="submit"/>
|
|
57 </p>
|
37
|
58 </form>
|
|
59 </tal:block>
|
|
60 </body>
|
|
61 </html>
|