Mercurial > hg > documentViewer
comparison 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 |
comparison
equal
deleted
inserted
replaced
30:c43d3cd16238 | 31:c6451e8d5d23 |
---|---|
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <link rel="stylesheet" href="template/docuviewer_css" type="text/css"> | 3 <link rel="stylesheet" href="template/docuviewer_css" type="text/css"> |
4 </head> | 4 </head> |
5 <body tal:define="docinfo options/docinfo; pageinfo options/pageinfo"> | 5 <body tal:define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="docinfo/numPages"> |
6 <div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/> | 6 <div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/> |
7 <table border="0" width="100%" height="100%"> | 7 <table border="0" width="100%" height="100%"> |
8 <tr> | 8 <tr> |
9 <td width="300px" valign="top"> | 9 <td width="300px" valign="top"> |
10 <tal:block replace="structure python:here.template.thumbs_main(docinfo=docinfo,pageinfo=pageinfo)" /> | 10 <tal:block replace="structure python:here.template.thumbs_main(docinfo=docinfo,pageinfo=pageinfo)" /> |
13 <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo)" /> | 13 <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo)" /> |
14 </td> | 14 </td> |
15 </tr> | 15 </tr> |
16 </table> | 16 </table> |
17 </body> | 17 </body> |
18 <body tal:define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="not:docinfo/numPages"> | |
19 <div class="errortext">Sorry, document doesn't exist.</div> | |
20 </body> | |
18 </html> | 21 </html> |