Annotation of OSA_system2/zpt/storeOnline_index_html.zpt, revision 1.3

1.1       dwinter     1: <!--Template for browser environment -->
                      2: <html>
                      3: <table border="1">
                      4:   <!-- Kopf -->
                      5:   <tr >
                      6:     <td colspan="2" align="center"><h2>OSAS Browser</h2></td>
                      7:   </tr>
                      8:   <tr >
                      9:     <td colspan="2"><p tal:content="structure python:here.path_to_link(here.REQUEST.get('path',''))"/></td>
                     10:   </tr>
                     11:   <tr>
                     12:     <!-- Navigation -->
                     13:     <td valign="top" width="30%">
                     14:       <table>
                     15:       <tr tal:repeat="link python:here.generateTree(here.REQUEST.get('path',''))">
                     16:    <td>
                     17:      <tal:block tal:replace="structure python:link[0]"/>
                     18:      <tal:block tal:repeat="handler python:link[1]" tal:content="structure handler"/>
1.2       dwinter    19:       </td>
1.1       dwinter    20:    <td>
                     21:    <tal:block tal:replace="structure python:link[2]"/>
                     22:    </td>
                     23:       </tr>
                     24:       </table>
                     25:     </td>
                     26:     <!-- Body -->
1.3     ! dwinter    27:     <td valign="top" tal:define="metaHtml python:here.getMetaFile(here.REQUEST.get('path',''))">
        !            28:        
        !            29:       <tal:block tal:condition="not:python:metaHtml==''" tal:replace="structure metaHtml"/>
        !            30:       <tal:block tal:condition="python:metaHtml==''" tal:replace="structure here/addMetadata">Add metadata</tal:block>
        !            31:       <tal:block tal:repeat="files python:here.readObjectsFromPath(here.REQUEST['path']).keys()">
        !            32:    <tal:block tal:replace="python:files"/>
        !            33:    <tal:block tal:replace="python:here.getMetaInfoFromIndexMeta(files)"/>
        !            34:      </tal:block>
1.1       dwinter    35:     </td>
                     36:   </tr>
1.3     ! dwinter    37:  
        !            38:  
1.1       dwinter    39:    </table>
                     40: </html>

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