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
|
217
|
7 <tal:block metal:fill-slot="body">
|
|
8 <form tal:attributes="action string:$root/editTalks" method="post"
|
|
9 tal:define="cal here/getTalksCal">
|
|
10
|
|
11 <tal:block tal:condition="not:cal">
|
|
12 <h3>Enter talk events manually</h3>
|
|
13
|
|
14 <input type="hidden" name="key_main" tal:attributes="value here/content/key"/>
|
|
15 <input type="hidden" name="main_fields" value="talks__title"/>
|
|
16 <table tal:define="talks python:here.getTalks(published=False)">
|
|
17 <tr>
|
|
18 <th>Date</th>
|
|
19 <th>Title/Place/Link</th>
|
|
20 <th>Priority</th>
|
|
21 <th>Show</th>
|
|
22 </tr>
|
|
23 <tr tal:repeat="talk talks">
|
|
24 <td valign="top">
|
|
25 <input tal:attributes="name python:'talks__date__'+str(talk.oid); value talk/date" size="10" />
|
|
26 </td>
|
|
27 <td>
|
|
28 <input tal:attributes="name python:'talks__title__'+str(talk.oid); value python:talk.title" size="80" /><br>
|
|
29 <input tal:attributes="name python:'talks__place__'+str(talk.oid); value python:talk.place" size="80" /><br>
|
|
30 <input tal:attributes="name python:'talks__link__'+str(talk.oid); value python:talk.link" size="80" />
|
|
31 </td>
|
|
32 <td valign="top">
|
|
33 <input tal:attributes="name python:'talks__priority__'+str(talk.oid); value talk/priority" size="3" />
|
|
34 </td>
|
|
35 <td valign="top" tal:define="name string:talks__published__${talk/oid}; value talk/published;">
|
|
36 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
|
|
37 </td>
|
|
38 <td>
|
|
39 <a tal:attributes="href string:$root/deleteField?table=talks&key=${talk/oid}">delete</a>
|
|
40 </td>
|
|
41 </tr>
|
|
42 <tr colspan="4">
|
|
43 <th>Add new</th>
|
|
44 </tr>
|
|
45 <tr>
|
|
46 <td valign="top"><input tal:attributes="name python:'talks__date__new'" size="10" /></td>
|
|
47 <td>
|
|
48 <input tal:attributes="name python:'talks__title__new'" size="80"/> <br/>
|
|
49 <input tal:attributes="name python:'talks__place__new'" size="80" /> <br/>
|
|
50 <input tal:attributes="name python:'talks__link__new'" size="80" />
|
|
51 </td>
|
|
52 <td>
|
|
53 <input tal:attributes="name python:'talks__priority__new'" size="3"/>
|
|
54 </td>
|
|
55 <td valign="top" tal:define="name string:talks__published__new; value string:yes;">
|
159
|
56 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
|
217
|
57 </td>
|
|
58 </tr>
|
|
59 </table>
|
|
60 </tal:block>
|
|
61
|
|
62 <h3>Automatic talk events from calendar server</h3>
|
|
63 <p>
|
|
64 Calendar URL: <input name="ics_url" tal:attributes="value cal/url | nothing" size="80"/> <br/>
|
|
65 (public iCalendar ICS calendar format).
|
|
66 </p>
|
|
67 <p>
|
|
68 Remove URL to enter talks manually.
|
|
69 </p>
|
|
70
|
170
|
71 <p>
|
|
72 <input type="submit" value="submit"/>
|
|
73 </p>
|
37
|
74 </form>
|
|
75 </tal:block>
|
|
76 </body>
|
|
77 </html>
|