48
|
1 <html tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode options/viewMode">
|
24
|
2 <head>
|
|
3 <link rel="stylesheet" href="template/docuviewer_css" type="text/css">
|
38
|
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
24
|
5 </head>
|
34
|
6 <body tal:condition="docinfo/numPages">
|
24
|
7 <div tal:replace="structure python:here.template.head_main(docinfo=docinfo)"/>
|
36
|
8 <tal:block tal:condition="python:here.isAccessible(docinfo)">
|
24
|
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>
|
27
|
14 <td width="100%" valign="top">
|
48
|
15 <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode)" />
|
24
|
16 </td>
|
|
17 </tr>
|
|
18 </table>
|
34
|
19 </tal:block>
|
36
|
20 <tal:block tal:condition="not:python:here.isAccessible(docinfo)">
|
34
|
21 <div class="errortext">Sorry, access to this document is restricted.</div>
|
|
22 </tal:block>
|
24
|
23 </body>
|
34
|
24 <body tal:condition="not:docinfo/numPages">
|
31
|
25 <div class="errortext">Sorry, document doesn't exist.</div>
|
|
26 </body>
|
24
|
27 </html>
|