File:  [Repository] / OSAS / OSA_system / zpt / processViewerIndex.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed Mar 3 13:02:55 2004 UTC (20 years, 4 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
moved templates to zpt

    1: <html metal:use-macro="here/main_template/macros/page">
    2:   <head>
    3:     <title metal:fill-slot="title">Running Processes</title>
    4: <meta metal:fill-slot="meta" http-equiv="refresh" content="30; URL=/mpiwg/storage/processes" />
    5:   </head>
    6:   <body metal:fill-slot="body" tal:define="check python:here.getoverview('/var/tmp/archiver')">
    7: <h2>Last and ongoing archiving processes</h2>
    8: <table tal:define="retlist python:check.messages()">
    9: <div tal:omit-tag tal:repeat="ret retlist">
   10: <tr>
   11: <td>
   12: <span tal:replace="python:ret.getError()[0]"/>
   13: </td>
   14: <td>
   15: <td tal:condition="python:ret.getError()[1][1]=='ok'">
   16: <img src="images/ok.gif">
   17: </td>
   18: <td tal:condition="python:ret.getError()[1][1]=='error'">
   19: <img src="images/fail.gif">
   20: </td>
   21: <td tal:condition="python:ret.getError()[1][1]=='running'">
   22: <b>running</b>
   23: </td>
   24: <td>
   25: <!--<div tal:omit-tag tal:define="dummy python:here.storeFile(retlist)"/>
   26: 
   27: <p tal:replace="python:retlist"/>-->
   28: <a target="_blank" tal:attributes="href python:'view?number='+str(retlist.index(ret))">view status</a>
   29: </td>
   30: </tr>
   31: 
   32:   
   33:     </div>
   34: </table>
   35:    </body>
   36: </html>

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