Mercurial > hg > MPIWGWeb
diff zpt/editDownloads.zpt @ 0:bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
author | casties |
---|---|
date | Thu, 10 Jan 2013 17:52:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/editDownloads.zpt Thu Jan 10 17:52:13 2013 +0100 @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html metal:use-macro="here/mainEditFile/macros/page"> +<head> +</head> +<body> +<tal:block metal:fill-slot="navsel" tal:define="global menusel string:downloads" /> +<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> +<p>Here you can upload your CV and and publication list to be downloaded from your homepage.</p> +<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 +Word to make it easier for you to create these documents.</p> +<form action="changeDownloads" method="post" enctype="multipart/form-data"> +<h2>Your CV</h2> +<p><input type="file" name="cv_pdf"/></p> +<p>Remember that documents should be in <b>PDF format</b>. <br/><input type="submit" value="Upload the file"/></p> +<p><a href="downloadCV">Download the CV currently stored at the server.</a> (last update:<span tal:content="here/getLastUpdateCV"/>)</p> +<p>publish: <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList( + 'cv_publish', + yes_no_list, + boxType='radio', + checked=getattr(here,'cv_publish','no'))" /></p> + +<h2>Publication list</h2> +<p><input type="file" name="publications_pdf"/></p> +<p>Remember that documents should be in <b>PDF format</b>. <br/><input type="submit" value="Upload the file"/></p> +<p><a href="downloadPublications">Download the publicaton list currently stored at the server. </a>(last update:<span tal:content="here/getLastUpdatePublications"/>)</p> +<p>publish: <tal:x tal:content="structure python:here.ZSQLSelectionFromCRList( + 'publications_publish', + yes_no_list, + boxType='radio', + checked=getattr(here,'publications_publish','no'))" /></p> + +<p><input type="submit" value="Update"/></p> + +</form> +<br/> <br/> +<a name="templates"/><h3>Download Templates:</h3> +<ul> + <li>For OpenOffice Writer: + <ul> + <li><a href="downloads/publications_template.ott">Publication List</a> </li> + <li><a href="downloads/CV_template.ott">CV</a></li> + </ul> + </li> + <li>For Ms Word: + <ul> + <li><a href="downloads/Vorlage_Publikation.dot">Publication List</a></li> + <li><a href="downloads/Beispiel_CV.doc">CV</a></li> + </ul> + </li> +</ul> +</tal:block> + +</body> +</html>