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

1.7       dwinter     1: <html tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode options/viewMode">
1.1       casties     2: <head>
                      3: <link rel="stylesheet" href="template/docuviewer_css" type="text/css">
1.6       casties     4: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
1.1       casties     5: </head>
1.4       casties     6: <body tal:condition="docinfo/numPages">
1.8     ! dwinter     7: <div tal:replace="structure python:here.template.head_main(docinfo=docinfo,viewMode=viewMode,pageinfo=pageinfo)"/>
1.5       casties     8: <tal:block tal:condition="python:here.isAccessible(docinfo)">
1.1       casties     9: <table border="0" width="100%" height="100%">
                     10:   <tr>
                     11:     <td width="300px" valign="top">
                     12:        <tal:block replace="structure python:here.template.thumbs_main(docinfo=docinfo,pageinfo=pageinfo)" /> 
                     13:     </td>
1.2       casties    14:     <td width="100%" valign="top">
1.7       dwinter    15:       <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode)" />
1.1       casties    16:     </td>
                     17:   </tr>
                     18: </table>
1.4       casties    19: </tal:block>
1.5       casties    20: <tal:block tal:condition="not:python:here.isAccessible(docinfo)">
1.4       casties    21: <div class="errortext">Sorry, access to this document is restricted.</div>
                     22: </tal:block>
1.1       casties    23: </body>
1.4       casties    24: <body tal:condition="not:docinfo/numPages">
1.3       casties    25: <div class="errortext">Sorry, document doesn't exist.</div>
                     26: </body>
1.1       casties    27: </html>

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