Changeset 528:f8a5f63eafc0 in documentViewer for zpt/toc_thumbs.zpt


Ignore:
Timestamp:
Apr 13, 2012, 2:55:16 PM (12 years ago)
Author:
casties
Branch:
default
Message:

new viewMode=thumbs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/toc_thumbs.zpt

    r526 r528  
    1919    <div class="content">
    2020      <div class="ruler">
    21         <form class="autosubmit" tal:attributes="action viewerUrl">
    22           <input type="hidden" tal:define="params python:here.getParams('start',None)"
    23             tal:repeat="param params"
    24             tal:attributes="name param; value python:params[param]" />
    25           <a tal:condition="left" tal:attributes="href python:here.getLink('start',left)">&lt;</a>
    26           <span tal:condition="not:left">&lt;</span>
    27           <select class="autosubmit" name="start"
    28             tal:define="ofs python:test(pageinfo['pageZero'],0,1)">
    29             <tal:block >
    30               <option tal:repeat="grp pageBatch/batches"
    31                 tal:attributes="selected python:start==grp['start']; value grp/start;"
    32                 tal:content="string:${grp/start} - ${grp/end}" />
    33             </tal:block>
    34           </select>
    35           <input type="submit" value="Go" />
    36           <a tal:condition="right" tal:attributes="href python:here.getLink('start',right)">&gt;</a>
    37           <span tal:condition="not:right">&gt;</span>
    38         </form>
     21        <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs"/>
    3922      </div>
    4023
Note: See TracChangeset for help on using the changeset viewer.