diff zpt/toc_thumbs.zpt @ 528:f8a5f63eafc0

new viewMode=thumbs.
author casties
date Fri, 13 Apr 2012 16:55:16 +0200
parents 3f375a048402
children 0b8bed1223ad
line wrap: on
line diff
--- a/zpt/toc_thumbs.zpt	Thu Apr 12 14:27:37 2012 +0200
+++ b/zpt/toc_thumbs.zpt	Fri Apr 13 16:55:16 2012 +0200
@@ -18,24 +18,7 @@
 
     <div class="content">
       <div class="ruler">
-        <form class="autosubmit" tal:attributes="action viewerUrl">
-          <input type="hidden" tal:define="params python:here.getParams('start',None)"
-            tal:repeat="param params"
-            tal:attributes="name param; value python:params[param]" /> 
-          <a tal:condition="left" tal:attributes="href python:here.getLink('start',left)">&lt;</a>
-          <span tal:condition="not:left">&lt;</span>
-          <select class="autosubmit" name="start"
-            tal:define="ofs python:test(pageinfo['pageZero'],0,1)">
-            <tal:block >
-              <option tal:repeat="grp pageBatch/batches"
-                tal:attributes="selected python:start==grp['start']; value grp/start;"
-                tal:content="string:${grp/start} - ${grp/end}" />
-            </tal:block>
-          </select>
-          <input type="submit" value="Go" /> 
-          <a tal:condition="right" tal:attributes="href python:here.getLink('start',right)">&gt;</a>
-          <span tal:condition="not:right">&gt;</span>
-        </form>
+        <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs"/>
       </div>
 
       <table class="thumbs">