1: <html metal:use-macro="here/main_template/macros/page">
2: <head>
3: <title metal:fill-slot="title">Archive</title>
4: </head>
5: <body>
6: <div tal:omit-tag metal:fill-slot="nav_title">
7: <div tal:omit-tag metal:define-macro="navigation">
8:
9: Archiving
10: <p><a class="map" href="processes">Show archiving processes</a></p>
11:
12:
13: </div>
14: </div>
15: <div metal:fill-slot="body">
16: <h2>First Step:Checking Metafiles</h2>
17:
18:
19:
20: <span tal:define="global i python:0">
21: <table tal:define="check python:here.metachecker(here.REQUEST['path'])">
22: <tr tal:repeat="ret python:check.messages()">
23: <td tal:define="global i python:i+1">
24: <span tal:replace="python:ret.getError()[0]"/>
25: </td>
26: <td>
27: <td tal:condition="python:ret.getError()[1][1]=='ok'">
28: <img src="images/ok.gif">
29: <a href="errors" tal:attributes="href python:here.storeerror(ret,here.REQUEST.SESSION['path'],here,i)">(view result)</a>
30: </td>
31: <td tal:condition="python:ret.getError()[1][1]=='error'">
32: <img src="images/fail.gif">
33: <a href="errors" tal:attributes="href python:here.storeerror(ret,here.REQUEST['path'],here,i)">(view errors)</a>
34: </td>
35:
36: </tr>
37: </table>
38: </span>
39:
40: <h2>Second step: Archiving</h2>
41: <p><a tal:attributes="href python:'archiver?path='+here.REQUEST['path']">Click here for archiving</a></p>
42:
43:
44: </div>
45: </body>
46: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>