view zpt/viewer_main.zpt @ 31:c6451e8d5d23

more small fixes - now version 0.2.2
author casties
date Mon, 10 Apr 2006 21:51:50 +0200
parents 3ce65220672c
children 0ca99253b4ce
line wrap: on
line source

<html>
<head>
<link rel="stylesheet" href="template/docuviewer_css" type="text/css">
</head>
<body tal:define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="docinfo/numPages">
<div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/>
<table border="0" width="100%" height="100%">
  <tr>
    <td width="300px" valign="top">
		<tal:block replace="structure python:here.template.thumbs_main(docinfo=docinfo,pageinfo=pageinfo)" /> 
    </td>
    <td width="100%" valign="top">
      <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo)" />
    </td>
  </tr>
</table>
</body>
<body tal:define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="not:docinfo/numPages">
<div class="errortext">Sorry, document doesn't exist.</div>
</body>
</html>