comparison zpt/staff/edit_downloads.zpt @ 159:ee79f6ba8d01

clean up staff editing and some zpt forms.
author casties
date Thu, 06 Jun 2013 15:34:20 +0200
parents 9b38ba45773b
children 485bf377913a
comparison
equal deleted inserted replaced
158:86a5b3c4af4b 159:ee79f6ba8d01
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html metal:use-macro="here/mainEditFile/macros/page"> 3 <html metal:use-macro="here/mainEditFile/macros/page">
4 <head> 4 <head>
5 </head> 5 </head>
6 <body> 6 <body>
7 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:downloads" /> 7 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:downloads" />
8 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> 8 <tal:block metal:fill-slot="body">
9 <p>Here you can upload your CV and and publication list to be downloaded from your homepage.</p> 9 <p>Here you can upload your CV and and publication list to be downloaded from your homepage.</p>
10 <p>The documents should be in <b>PDF format</b>. Add the add bottom of this page you find <a href="#templates">templates</a> for OpenOffice and 10 <p>
11 Word to make it easier for you to create these documents.</p> 11 The documents should be in <b>PDF format</b>. Add the add bottom of this page you find <a href="#templates">templates</a> for
12 <form action="changeDownloads" method="post" enctype="multipart/form-data"> 12 OpenOffice and Word to make it easier for you to create these documents.
13 <h2>Your CV</h2> 13 </p>
14 <p><input type="hidden" name="key" tal:attributes="value here/getKey"/></p> 14 <form action="changeDownloads" method="post" enctype="multipart/form-data">
15 <p><input type="file" name="cv_pdf"/></p> 15 <h2>Your CV</h2>
16 <p>Remember that documents should be in <b>PDF format</b>. <br/><input type="submit" value="Upload the file"/></p> 16 <p>
17 <p><a href="downloadCV">Download the CV currently stored at the server.</a> (last update:<span tal:content="here/getLastUpdateCV"/>)</p> 17 <input type="hidden" name="key" tal:attributes="value here/getKey" />
18 <p>publish: <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList( 18 </p>
19 'cv_publish', 19 <p>
20 yes_no_list, 20 <input type="file" name="cv_pdf" />
21 boxType='radio', 21 </p>
22 checked=getattr(here,'cv_publish','no'))" /></p> 22 <p>
23 Remember that documents should be in <b>PDF format</b>. <br />
24 <input type="submit" value="Upload the file" />
25 </p>
26 <p>
27 <a href="downloadCV">Download the CV currently stored at the server.</a> (last update:<span
28 tal:content="here/getLastUpdateCV" />)
29 </p>
30 <p>
31 publish:
32 <span tal:define="name string:cv_publish; value here/content/cv_p | nothing;">
33 <tal:block metal:use-macro="here/common_template/macros/yesno_input_radio"/>
34 </span>
35 </p>
23 36
24 <h2>Publication list</h2> 37 <h2>Publication list</h2>
25 <p><input type="file" name="publications_pdf"/></p> 38 <p>
26 <p>Remember that documents should be in <b>PDF format</b>. <br/><input type="submit" value="Upload the file"/></p> 39 <input type="file" name="publications_pdf" />
27 <p><a href="downloadPublications">Download the publicaton list currently stored at the server. </a>(last update:<span tal:content="here/getLastUpdatePublications"/>)</p> 40 </p>
28 <p>publish: <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList( 41 <p>
29 'publications_publish', 42 Remember that documents should be in <b>PDF format</b>. <br />
30 yes_no_list, 43 <input type="submit" value="Upload the file" />
31 boxType='radio', 44 </p>
32 checked=getattr(here,'publications_publish','no'))" /></p> 45 <p>
46 <a href="downloadPublications">Download the publication list currently stored at the server. </a>(last update:<span
47 tal:content="here/getLastUpdatePublications" />)
48 </p>
49 <p>
50 publish:
51 <span tal:define="name string:publications_publish; value here/content/publications_p | nothing;">
52 <tal:block metal:use-macro="here/common_template/macros/yesno_input_radio"/>
53 </span>
54 </p>
33 55
34 <p><input type="submit" value="Update"/></p> 56 <p>
57 <input type="submit" value="Update" />
58 </p>
35 59
36 </form> 60 </form>
37 <br/> <br/> 61 <br />
38 <a name="templates"/><h3>Download Templates:</h3> 62 <br />
39 <ul> 63 <a name="templates" />
40 <li>For OpenOffice Writer: 64 <h3>Download Templates:</h3>
41 <ul> 65 <ul>
42 <li><a href="downloads/publications_template.ott">Publication List</a> </li> 66 <li>For OpenOffice Writer:
43 <li><a href="downloads/CV_template.ott">CV</a></li> 67 <ul>
44 </ul> 68 <li><a href="downloads/publications_template.ott">Publication List</a></li>
45 </li> 69 <li><a href="downloads/CV_template.ott">CV</a></li>
46 <li>For Ms Word: 70 </ul>
47 <ul> 71 </li>
48 <li><a href="downloads/Vorlage_Publikation.dot">Publication List</a></li> 72 <li>For Ms Word:
49 <li><a href="downloads/Beispiel_CV.doc">CV</a></li> 73 <ul>
74 <li><a href="downloads/Vorlage_Publikation.dot">Publication List</a></li>
75 <li><a href="downloads/Beispiel_CV.doc">CV</a></li>
76 </ul>
77 </li>
50 </ul> 78 </ul>
51 </li> 79 </tal:block>
52 </ul>
53 </tal:block>
54 80
55 </body> 81 </body>
56 </html> 82 </html>