<!--Template for browser environment -->
<html>
<table border="1">
<!-- Kopf -->
<tr >
<td colspan="2" align="center"><h2>OSAS Browser</h2></td>
</tr>
<tr >
<td colspan="2"><p tal:content="structure python:here.path_to_link(here.REQUEST.get('path',''))"/></td>
</tr>
<tr>
<!-- Navigation -->
<td valign="top" width="30%">
<table>
<tr tal:repeat="link python:here.generateTree(here.REQUEST.get('path',''))">
<td>
<tal:block tal:replace="structure python:link[0]"/>
<tal:block tal:repeat="handler python:link[1]" tal:content="structure handler"/>
</td>
<td>
<tal:block tal:replace="structure python:link[2]"/>
</td>
</tr>
</table>
</td>
<!-- Body -->
<td valign="top" tal:define="metaHtml python:here.getMetaFile(here.REQUEST.get('path',''))">
<tal:block tal:condition="not:python:metaHtml==''" tal:replace="structure metaHtml"/>
<tal:block tal:condition="python:metaHtml==''" tal:replace="structure here/addMetadata">Add metadata</tal:block>
<tal:block tal:repeat="files python:here.readObjectsFromPath(here.REQUEST['path']).keys()">
<tal:block tal:replace="python:files"/>
<tal:block tal:replace="python:here.getMetaInfoFromIndexMeta(files)"/>
</tal:block>
</td>
</tr>
</table>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>