Mercurial > hg > documentViewer
comparison zpt/viewer_text.zpt @ 483:ab9b34a1c62a elementtree
more new templates
author | casties |
---|---|
date | Wed, 17 Aug 2011 17:00:31 +0200 |
parents | 0a0f7f570f90 |
children | 1e51d440f08b |
comparison
equal
deleted
inserted
replaced
482:7ca8ac7db06e | 483:ab9b34a1c62a |
---|---|
4 tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode pageinfo/viewMode; | 4 tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode pageinfo/viewMode; |
5 tocMode pageinfo/tocMode; viewType pageinfo/viewType; viewerUrl docinfo/viewerUrl; | 5 tocMode pageinfo/tocMode; viewType pageinfo/viewType; viewerUrl docinfo/viewerUrl; |
6 numPages docinfo/numPages | nothing;"> | 6 numPages docinfo/numPages | nothing;"> |
7 <head> | 7 <head> |
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
9 <title tal:content="python:docinfo.get('creator',' ') + ' - ' + docinfo.get('title',' ')"/> | |
9 <link rel="stylesheet" href="template/docuviewer_css" type="text/css"> | 10 <link rel="stylesheet" href="template/docuviewer_css" type="text/css"> |
10 </head> | 11 </head> |
11 <body tal:condition="numPages"> | 12 <body tal:condition="numPages"> |
12 <tal:block tal:define="docpath docinfo/textURLPath; | 13 <tal:block tal:define="docpath docinfo/textURLPath; |
13 pn pageinfo/pn; | 14 pn pageinfo/pn; |
44 <a tal:condition="right" tal:attributes="href python:here.getLink('pn',right)">></a> | 45 <a tal:condition="right" tal:attributes="href python:here.getLink('pn',right)">></a> |
45 <span tal:condition="not:right">></span> | 46 <span tal:condition="not:right">></span> |
46 <a tal:condition="rightest" tal:attributes="href python:here.getLink('pn',rightest)">>|</a> | 47 <a tal:condition="rightest" tal:attributes="href python:here.getLink('pn',rightest)">>|</a> |
47 <span tal:condition="not:rightest">>|</span> | 48 <span tal:condition="not:rightest">>|</span> |
48 </form> | 49 </form> |
49 </div> | 50 </div> <!-- ruler --> |
51 <ul class="switcher"> | |
52 <li> | |
53 <a tal:attributes="href python:here.getLink('viewMode','images')">Image</a> | |
54 </li> | |
55 <li class="sel">Text</li> | |
56 </ul> | |
50 <div class="content"> | 57 <div class="content"> |
51 <div class="pageHeaderTitle" tal:condition="exists:pageinfo/pageHeaderTitle" tal:content="structure pageinfo/pageHeaderTitle"/> | 58 <div class="pageHeaderTitle" tal:condition="exists:pageinfo/pageHeaderTitle" tal:content="structure pageinfo/pageHeaderTitle"/> |
52 <tal:block tal:replace="structure textPage"/> | 59 <tal:block tal:replace="structure textPage"/> |
53 </div> | 60 </div> |
54 </div> | 61 </div> |