Changeset 489:55e3398e395e in documentViewer for zpt


Ignore:
Timestamp:
Aug 25, 2011, 3:05:22 PM (13 years ago)
Author:
casties
Branch:
elementtree
Message:

more new templates. monkey-patch for App.ImageFile?.

Location:
zpt
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • zpt/head_main.zpt

    r480 r489  
    1313               bib docinfo/bib | nothing; bibType docinfo/bibType | nothing;
    1414               formattedLabel python:here.metadataService.getBibFormattedLabel(bibdata=bib);">
    15     <span tal:condition="not:formattedLabel"
     15    <div tal:condition="not:formattedLabel"
    1616      tal:content="string:(no bibliographical information for ${bibType})" />
    17     <span tal:condition="formattedLabel" tal:content="structure formattedLabel" />
     17    <div tal:condition="formattedLabel" tal:content="structure formattedLabel" />
    1818  </metal:block>
    1919</body>
  • zpt/toc_figures.zpt

    r488 r489  
    77<body>
    88  <!-- block used for main content area -->
    9   <div class="col-left" metal:define-macro="main"
     9  <div class="toc-figures" metal:define-macro="main"
    1010    tal:define="start pageinfo/start; tocsize docinfo/tocSize_figures; grpsize pageinfo/tocPageSize;
    1111                batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
  • zpt/toc_text.zpt

    r488 r489  
    77<body>
    88  <!-- block used for main content area -->
    9   <div class="col-left" metal:define-macro="main"
     9  <div class="toc-text" metal:define-macro="main"
    1010    tal:define="start pageinfo/start; tocsize docinfo/tocSize_text; grpsize pageinfo/tocPageSize;
    1111                batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
  • zpt/toc_thumbs.zpt

    r488 r489  
    77<body>
    88  <!-- block used for main content area -->
    9   <div class="col-left" metal:define-macro="main"
     9  <div class="toc-thumbs" metal:define-macro="main"
    1010    tal:define="start pageinfo/start;
    1111                grpsize pageinfo/groupsize;
  • zpt/viewer_images.zpt

    r485 r489  
    5454    <div class="page-body" tal:condition="python:here.isAccessible(docinfo)">
    5555      <!--table of contents-->
    56       <div class="col-left" metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" />
     56      <div class="col-left">
     57        <metal:block metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" />
     58      </div>
    5759      <!-- text page -->
    5860      <div class="col-main">
  • zpt/viewer_text.zpt

    r485 r489  
    2222  <div class="page-body" tal:condition="python:here.isAccessible(docinfo)">
    2323    <!--table of contents-->
    24     <div class="col-left"
    25       metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" />
     24    <div class="col-left">
     25      <metal:block metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" />
     26    </div>
    2627
    2728    <!-- text page -->
Note: See TracChangeset for help on using the changeset viewer.