diff 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
line wrap: on
line diff
--- a/zpt/viewer_text.zpt	Tue Aug 16 18:27:08 2011 +0200
+++ b/zpt/viewer_text.zpt	Wed Aug 17 17:00:31 2011 +0200
@@ -6,6 +6,7 @@
               numPages docinfo/numPages | nothing;">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+  <title tal:content="python:docinfo.get('creator',' ') + ' - ' + docinfo.get('title',' ')"/>
   <link rel="stylesheet" href="template/docuviewer_css" type="text/css">
 </head>
 <body tal:condition="numPages">
@@ -46,7 +47,13 @@
         <a tal:condition="rightest" tal:attributes="href python:here.getLink('pn',rightest)">&gt;|</a>
         <span tal:condition="not:rightest">&gt;|</span>
         </form>
-      </div>
+      </div> <!-- ruler -->
+      <ul class="switcher">
+        <li>
+            <a tal:attributes="href python:here.getLink('viewMode','images')">Image</a>
+        </li>
+        <li class="sel">Text</li>
+      </ul>
       <div class="content">
         <div class="pageHeaderTitle" tal:condition="exists:pageinfo/pageHeaderTitle" tal:content="structure pageinfo/pageHeaderTitle"/>
         <tal:block tal:replace="structure textPage"/>