Annotation of documentViewer/zpt/viewer_main.zpt, revision 1.3

1.1       casties     1: <html>
                      2: <head>
                      3: <link rel="stylesheet" href="template/docuviewer_css" type="text/css">
                      4: </head>
1.3     ! casties     5: <body tal:define="docinfo options/docinfo; pageinfo options/pageinfo" tal:condition="docinfo/numPages">
1.1       casties     6: <div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/>
                      7: <table border="0" width="100%" height="100%">
                      8:   <tr>
                      9:     <td width="300px" valign="top">
                     10:        <tal:block replace="structure python:here.template.thumbs_main(docinfo=docinfo,pageinfo=pageinfo)" /> 
                     11:     </td>
1.2       casties    12:     <td width="100%" valign="top">
1.1       casties    13:       <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo)" />
                     14:     </td>
                     15:   </tr>
                     16: </table>
                     17: </body>
1.3     ! casties    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>
1.1       casties    21: </html>

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