File:  [Repository] / versionedFile / zpt / manageImage.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Jul 4 10:59:04 2005 UTC (19 years ago) by dwinter
Branches: MAIN
CVS tags: HEAD
imagemanagment added

<html>
<body>
<h2>Manage Images</h2>
<h3>Add an Image</h3>
<form method="post" action="manageImages">
<p>Add url from imageserver (either drag and drop the thumb from the thumb display (recommended) or
 the image from the display at the right):<br>
<input name="imageUrl" size=150>
<p><i>Caption:</i>
<textarea name="caption" rows=3 cols="100"></textarea>
</p>
<input type="submit">
</form>
<form tal:repeat="image here/getImages" action="changeImages" method="post">
<table>
<tr>
<td tal:content="structure python:image[1].thumb()"/>
<td><textarea rows=3 cols="50" name="caption"  tal:content="python:getattr(image[1],'caption','')"/></td>
<td><input type="hidden" name="id" tal:attributes="value python:image[1].getId()"><input type="submit" value="delete" name="submit"><input type="submit" value="change caption" name="submit"></td>
</tr>
</form>
</body>
</html>

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