1: <html metal:use-macro="here/main_template/macros/page">
2: <body>
3: <metal:x fill-slot="body">
4: <h2>Locked Objects</h2>
5: <p>Some of the Objects are already locked by somebody else (see list below).</p>
6: <p>What do you want to do?</p>
7: <form action="downloadObjectsAsOneFile" method="post">
8: <input type="radio" name="procedure" value="downloadAll">
9: Download all files and lock the files which are not locked yet.<br>
10: <input type="radio" name="procedure" value="downloadOnlyFree">
11: Download only not locked files and lock them.<br>
12: <input type="hidden" name="lock" value="yes">
13: <input type="submit" value="go on">
14: </form>
15: <h3>Locked files</h3>
16: <table>
17: <tr tal:repeat="i python:here.REQUEST.SESSION['lockedObjects'].items()">
18: <td tal:content="python:i[0]"/>
19: <td tal:content="python:i[1]"/>
20: </tr>
21: </metal:x>
22: </body>
23: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>