Changeset 510:4fb35343d2e7 in documentViewer for zpt
- Timestamp:
- Feb 28, 2012, 9:39:21 AM (12 years ago)
- Branch:
- elementtree
- Location:
- zpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer_images.zpt
r503 r510 61 61 <div class="page-body" tal:condition="python:here.isAccessible(docinfo)"> 62 62 <!-- table of contents --> 63 <div class="col -left">63 <div class="col toc"> 64 64 <metal:block 65 65 metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" /> 66 66 </div> 67 67 <!-- col-main: text page --> 68 <div class="col -main">68 <div class="col main"> 69 69 <div class="ruler"> 70 70 <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" /> … … 86 86 </div> 87 87 <!-- /col-main --> 88 <div class="col -right">88 <div class="col buttons"> 89 89 <div class="digilib-buttons"> 90 90 <div> -
zpt/viewer_text.zpt
r509 r510 39 39 <div class="page-body" tal:condition="python:here.isAccessible(docinfo)"> 40 40 <!--table of contents--> 41 <div class="col -left">41 <div class="col toc"> 42 42 <metal:block 43 43 metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" /> … … 45 45 46 46 <!-- text page --> 47 <div class="col -main">47 <div class="col main"> 48 48 <div class="ruler"> 49 49 <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" /> … … 63 63 <!-- end of col-main --> 64 64 65 <!-- right-side search results --> 66 <div class="col search" tal:condition="query"> 67 <!--"BEGIN SEARCH RESULTS" --> 68 <div class="options"> 69 <h4>Search results</h4> 70 <div tal:content="structure python:here.getResultsPage(mode=queryType,query=query,pn=1,pageinfo=pageinfo,docinfo=docinfo)"/> 71 </div> 72 </div> 73 65 74 <!-- right-side options --> 66 <div class="col -right">75 <div class="col buttons"> 67 76 <!--"BEGIN TEXT DISPLAY" --> 68 77 <div class="options"> 69 78 <h4>Text display</h4> 70 <pre tal:content="python:repr(viewLayers)" />71 <pre tal:content="python:repr(viewLayer)" />72 79 <form tal:attributes="action viewerUrl" class="autosubmit"> 73 80 <input type="hidden" … … 230 237 <!-- /col-right --> 231 238 232 <!-- right-side options -->233 <div class="col-veryright" tal:condition="query">234 <!--"BEGIN SEARCH RESULTS" -->235 <div class="options">236 <h4>Search results</h4>237 <div tal:content="structure python:here.getResultsPage(mode=queryType,query=query,pn=1,pageinfo=pageinfo,docinfo=docinfo)"/>238 </div>239 </div>240 241 239 </div> 242 240 <!-- /page-body -->
Note: See TracChangeset
for help on using the changeset viewer.