Mercurial > hg > documentViewer
annotate zpt/viewer_main.zpt @ 87:a0fbc9a42be8
first version with new full-text infrastructure and slightly changed templates
author | casties |
---|---|
date | Fri, 19 Mar 2010 12:42:40 +0100 |
parents | 47d76f050883 |
children | 3d95ba1bf535 |
rev | line source |
---|---|
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"> |
49
a10fff6199b0
verbesserung f?r text unterst?tzung, text kann jetzt aus url kommen, sprache bisher nur deutsch
dwinter
parents:
48
diff
changeset
|
7 <div tal:replace="structure python:here.template.head_main(docinfo=docinfo,viewMode=viewMode,pageinfo=pageinfo)"/> |
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"> |
76
47d76f050883
minorCVS: ----------------------------------------------------------------------
dwinter
parents:
74
diff
changeset
|
15 <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode,mk=options['mk'])" /> |
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> |