Annotation of MPIWGWeb/zpt/MPIWGProject_manageImagesForm.zpt, revision 1.1.2.4

1.1.2.3   casties     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/edit_MPIWGProject_main/macros/page">
1.1.2.1   dwinter     4: <head>
                      5: </head>
                      6: <body>
1.1.2.4 ! casties     7: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:images" />
1.1.2.3   casties     8: <tal:block metal:fill-slot="body">
1.1.2.4 ! casties     9:   <table tal:condition="python:here.getImages()">
1.1.2.3   casties    10:     <tr><th/><th>Image</th><th>Caption</th><th/></tr>
                     11:     <tal:block tal:repeat="image here/getImages">
                     12:       <tr>
                     13:         <td>
                     14:           <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=up'">up</a><br>
                     15:           <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=down'">down</a>
                     16:         </td>
                     17:         <td tal:content="structure python:image[1].tag(scale=250.0 / image[1].height)" />
                     18:         <td tal:content="structure python:getattr(image[1],'caption','')" />
                     19:         <td>
                     20:           <a tal:attributes="href python:image[1].getId()+'/editImage'">Edit</a><br/>
                     21:           <a tal:attributes="href python:'deleteImage?id='+image[1].getId()">Delete</a>
                     22:         </td>
                     23:       </tr>
                     24:     </tal:block>
                     25:   </table>
                     26:   
                     27:   <h3>Add an Image</h3>
                     28:   
                     29:   <form action="addImage" method="post" enctype="multipart/form-data">
                     30:     <input name="fileHd" type="file" len="50">
                     31:     <textarea name="caption" rows="3" cols="80"></textarea>
                     32:     <p><input type="submit" value="submit"/></p>
                     33:   </form>
                     34:   
                     35:   <p>(if the marginal image from your current project description is not occuring in this list, click <a href="copyImageToMargin">here</a>.)</p>
1.1.2.1   dwinter    36: </tal:block>
                     37: </body>
                     38: </html>

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