Annotation of OSAS/OSA_system/archiveSelected.zpt, revision 1.3

1.1       dwinter     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">
1.2       dwinter    29: <a href="errors" tal:attributes="href python:here.storeerror(ret,here.REQUEST.SESSION['path'],here,i)">(view result)</a>
1.1       dwinter    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>
1.3     ! dwinter    41: <form tal:condition="python:here.isArray(here.REQUEST['path'])" action="archiver" method="post">
        !            42: <input tal:repeat="path python:here.REQUEST['path']" type="hidden" name="path" tal:attributes="value path">
        !            43: <input type="submit" value="Click here for archiving">
        !            44: </form>
        !            45: 
        !            46: <form tal:condition="not:python:here.isArray(here.REQUEST['path'])" action="archiver" method="post">
        !            47: <input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']">
        !            48: <input type="submit" value="Click here for archiving">
        !            49: </form>
        !            50: 
        !            51: <!--<p><a tal:attributes="href python:'archiver?path='+here.REQUEST['path']">Click here for archiving</a></p>-->
1.1       dwinter    52: 
                     53: 
                     54: </div>
                     55:   </body>
                     56: </html>

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