Diff for /MPIWGWeb/zpt/Attic/MPIWGProject_manageImagesForm.zpt between versions 1.1.2.2 and 1.1.2.3

version 1.1.2.2, 2005/09/15 13:50:55 version 1.1.2.3, 2005/10/19 15:35:04
Line 1 Line 1
 <html>  <!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/edit_MPIWGProject_main/macros/page">
 <head>  <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  
 <style type="text/css">  
 <!--  
 .add-nav {  
 font-weight:bold;  
 padding-left:8px;  
 }  
 -->  
 </head>  </head>
 <body>  <body>
   <tal:block metal:fill-slot="navsel" tal:define="global menusel string:basis" />
 <h2>Edit: <i tal:content="python:here.getContent('WEB_title')"/></h2>  <tal:block metal:fill-slot="body">
 <p><a class="add-nav" href="edit">Project Description</a> <a class="add-nav" href="managePublications">Publications</a><a class="add-nav" >Images at the margin</a><a class="add-nav" href="editMPIWGDisciplinesThemesEditor">Themes and disciplines</a><a class="add-nav" href="editMPIWGBasisEditor"  
 >Additional information</a></p>  
 <hr>  
 <h3>Manage Images</h3>  
 <p>(if your current marginal image is not occuring in this list, click <a href="copyImageToMargin">here</a>)</p>  
 <table>  <table>
       <tr><th/><th>Image</th><th>Caption</th><th/></tr>
 <tal:block tal:repeat="image here/getImages">  <tal:block tal:repeat="image here/getImages">
 <tr>  <tr>
 <td tal:content="structure python:image[1].tag(scale=250.0 / image[1].height)"/>  
 <td tal:content="structure python:getattr(image[1],'caption','')"/>  
 <td>  <td>
 <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=up'">up</a><br>  <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=up'">up</a><br>
 <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=down'">down</a><br>            <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=down'">down</a>
 </td>  </td>
 </tr>          <td tal:content="structure python:image[1].tag(scale=250.0 / image[1].height)" />
 <tr colspan="3">          <td tal:content="structure python:getattr(image[1],'caption','')" />
 <td><a tal:attributes="href python:image[1].getId()+'/editImage'">Edit</a>          <td>
             <a tal:attributes="href python:image[1].getId()+'/editImage'">Edit</a><br/>
 <a tal:attributes="href python:'deleteImage?id='+image[1].getId()">Delete</a>  <a tal:attributes="href python:'deleteImage?id='+image[1].getId()">Delete</a>
 </td>  </td>
         </tr>
 </tal:block>  </tal:block>
 </table>  </table>
 <h4>Add an Image</h4>    
     <h3>Add an Image</h3>
     
 <form action="addImage" method="post" enctype="multipart/form-data">  <form action="addImage" method="post" enctype="multipart/form-data">
 <input name="fileHd" type="file" len="50">  <input name="fileHd" type="file" len="50">
 <textarea name="caption" rows="3" cols="80"></textarea>  <textarea name="caption" rows="3" cols="80"></textarea>
 <input type="submit" value="submit">      <p><input type="submit" value="submit"/></p>
 </form>  </form>
     
     <p>(if the marginal image from your current project description is not occuring in this list, click <a href="copyImageToMargin">here</a>.)</p>
   </tal:block>
 </body>  </body>
 </html>  </html>

Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>