Annotation of MPIWGWeb/zpt/MPIWGProject_manageImagesForm.zpt, revision 1.1.2.2
1.1.2.1 dwinter 1: <html>
2: <head>
1.1.2.2 ! dwinter 3: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
1.1.2.1 dwinter 4: <style type="text/css">
5: <!--
6: .add-nav {
7: font-weight:bold;
8: padding-left:8px;
9: }
10: -->
11: </head>
12: <body>
13:
14: <h2>Edit: <i tal:content="python:here.getContent('WEB_title')"/></h2>
15: <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"
16: >Additional information</a></p>
17: <hr>
18: <h3>Manage Images</h3>
19: <p>(if your current marginal image is not occuring in this list, click <a href="copyImageToMargin">here</a>)</p>
20: <table>
21: <tal:block tal:repeat="image here/getImages">
22: <tr>
23: <td tal:content="structure python:image[1].tag(scale=250.0 / image[1].height)"/>
24: <td tal:content="structure python:getattr(image[1],'caption','')"/>
25: <td>
26: <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=up'">up</a><br>
27: <a tal:attributes="href python:here.absolute_url()+'/manageImages?imageName='+image[0]+'&op=down'">down</a><br>
28: </td>
29: </tr>
30: <tr colspan="3">
31: <td><a tal:attributes="href python:image[1].getId()+'/editImage'">Edit</a>
32: <a tal:attributes="href python:'deleteImage?id='+image[1].getId()">Delete</a>
33: </td>
34: </tal:block>
35: </table>
36: <h4>Add an Image</h4>
37: <form action="addImage" method="post" enctype="multipart/form-data">
38: <input name="fileHd" type="file" len="50">
39: <textarea name="caption" rows="3" cols="80"></textarea>
40: <input type="submit" value="submit">
41: </form>
42: </body>
43: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>