1: <html>
2: <head>
3: <meta http-equiv="content-type" content="text/html; charset=utf-8">
4: </head>
5: <body>
6: <h2><span tal:replace="structure here/getTitle"/></h2>
7: <h3>Import objects</h3>
8: Select a file to import:
9: <form action="importObjects" method="post"
10: enctype="multipart/form-data">
11: <input type="file" name="zfile" size="80">
12: <br>
13: <input type="submit" value="upload">
14: </form>
15: <hr>
16: <h3>Export objects</h3>
17: <p>Select the objects you want to export:</p>
18: <form action="exportObjects">
19: <table>
20:
21: <tr tal:repeat="obj python:here.getSubCols()">
22: <td><input type="checkbox" tal:attributes="value python:obj.getId()" name="ids"></td>
23: <td tal:content="obj/getId"/>
24: <td tal:content="structure obj/getTitle"/>
25: </tr>
26: </table>
27: <input type="submit" value="export">
28: </form>
29: </body>
30: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>