File:  [Repository] / MPIWGWeb / zpt / Attic / MPIWGProject_manageImagesForm.zpt
Revision 1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Thu Sep 15 13:50:55 2005 UTC (18 years, 9 months ago) by dwinter
Branches: r2
latin modus for emergency editing in edit addedCVS: ----------------------------------------------------------------------

<html>
<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>
<body>

<h2>Edit: <i tal:content="python:here.getContent('WEB_title')"/></h2>
<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>
<tal:block tal:repeat="image here/getImages">
<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>
<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>
</td>
</tr>
<tr colspan="3">
<td><a tal:attributes="href python:image[1].getId()+'/editImage'">Edit</a>
<a tal:attributes="href python:'deleteImage?id='+image[1].getId()">Delete</a>
</td>
</tal:block>
</table>
<h4>Add an Image</h4>
<form action="addImage" method="post" enctype="multipart/form-data">
<input name="fileHd" type="file" len="50">
<textarea name="caption" rows="3" cols="80"></textarea>
<input type="submit" value="submit">
</form>
</body>
</html>

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