view zpt/staff/edit_downloads.zpt @ 194:45984e00665f

upload and download cv and publicationlist
author dwinter
date Thu, 20 Jun 2013 14:00:13 +0200
parents 485bf377913a
children b67bfb997079
line wrap: on
line source

<!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">
    <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 tal:attributes="action string:$root/changeDownloads" method="post" enctype="multipart/form-data">
      <h2>Your CV</h2>
      <p>
        <input type="hidden" name="key" tal:attributes="value here/getKey" />
      </p>
      <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 tal:attributes="href string:$root/downloadCV">Download the CV currently stored at the server.</a> (last update:<span
          tal:content="here/getLastUpdateCV" />)
      </p>
      <p>
        publish:
        <span tal:define="name string:cv_publish; value here/content/cv_p | nothing;">
          <tal:block metal:use-macro="here/common_template/macros/yesno_input_radio"/>
        </span>
      </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 tal:attributes="href string:$root/downloadPublications">Download the publication list currently stored at the server. </a>(last update:<span
          tal:content="here/getLastUpdatePublications" />)
      </p>
      <p>
        publish:
        <span tal:define="name string:publications_publish; value here/content/publications_p | nothing;">
          <tal:block metal:use-macro="here/common_template/macros/yesno_input_radio"/>
        </span>
      </p>

      <p>
        <input type="submit" value="Update" />
      </p>

    </form>
    <br />
    <br />
    <a id="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>