annotate zpt/viewer_main.zpt @ 496:f83ffab77502 metalify-1

last version from HEAD new zogilib version
author casties
date Fri, 18 Jun 2010 21:41:28 +0200
parents ede0c93de798
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
495
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml"
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
4 tal:define="docinfo options/docinfo; pageinfo options/pageinfo; global viewMode pageinfo/viewMode; tocMode pageinfo/tocMode;
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
5 body_onload nothing">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
6 <head>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
8 <link rel="stylesheet" href="template/docuviewer_css" type="text/css">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
9 <metal:block metal:use-macro="python:path('here/template/page_main_%s/macros/head'%viewMode)"/>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
10 </head>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
11 <body tal:condition="docinfo/numPages" tal:attributes="onload body_onload">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
12 <metal:block metal:use-macro="here/template/head_main/macros/main"/>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
13 <tal:block tal:condition="python:here.isAccessible(docinfo)">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
14 <table border="0" width="100%" height="100%">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
15 <tr>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
16 <td width="300px" valign="top">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
17 <metal:block metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)"/>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
18 </td>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
19 <td width="100%" valign="top">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
20 <metal:block metal:use-macro="python:path('here/template/page_main_%s/macros/main'%viewMode)"/>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
21 </td>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
22 </tr>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
23 </table>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
24 </tal:block>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
25 <tal:block tal:condition="not:python:here.isAccessible(docinfo)">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
26 <div class="errortext">Sorry, access to this document is restricted.</div>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
27 </tal:block>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
28 </body>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
29 <body tal:condition="not:docinfo/numPages">
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
30 <div class="errortext">Sorry, document doesn't exist.</div>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
31 </body>
ede0c93de798 update branch to latest version of HEAD (with modularisierung branch)
casties
parents:
diff changeset
32 </html>