Changeset 532:0b8bed1223ad in documentViewer for zpt/viewer_images.zpt


Ignore:
Timestamp:
Jul 25, 2012, 7:28:31 PM (12 years ago)
Author:
casties
Branch:
default
Message:

new layout and styles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer_images.zpt

    r514 r532  
    2525
    2626  <script type="text/javascript"
    27     tal:content="string:
     27    tal:content="python:'''
    2828       var dlOpts = {
    2929            'interactionMode' : 'fullscreen',
    30             'digilibBaseUrl' : '$dlBaseUrl',
    31             'fn' : '${docinfo/imagePath}',
    32             'pn' : '${pageinfo/pn}',
     30            'digilibBaseUrl' : '%s',
     31            'fn' : '%s',
     32            'pn' : '%s',
    3333            'suppressParamNames' : ['fn'],
    3434            'scalerInsets' : {'x' : 140, 'y' : 100}
    35         };"></script>
     35        };'''%(dlBaseUrl,docinfo.get('imagePath',''),pageinfo.get('pn','1'))"></script>
    3636
    3737  <script type="text/javascript">
     
    7070          <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" />
    7171        </div>
    72         <ul class="switcher">
    73           <li class="sel">Image</li>
    74           <li tal:condition="docpath">
    75             <a tal:attributes="href python:here.getLink('viewMode','text')">Text</a>
    76           </li>
    77         </ul>
    78         <!-- /switcher -->
    7972        <div class="content">
    8073          <div id="scaler">
Note: See TracChangeset for help on using the changeset viewer.