Changeset 571:f1906951be2a in documentViewer for zpt
- Timestamp:
- Oct 12, 2012, 3:02:40 PM (13 years ago)
- Branch:
- default
- Location:
- zpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/common_template.zpt
r543 r571 78 78 tal:attributes="href python:here.getLink(startParam,batch['prevStart'])"><</a> <span tal:condition="not:batch/prevStart"><</span> 79 79 <select class="autosubmit" tal:attributes="name startParam"> 80 <option tal:repeat="grp batch/batches" tal:attributes="selected python:(start ==grp['start']); value grp/start"80 <option tal:repeat="grp batch/batches" tal:attributes="selected python:(start>=grp['start'] and start<=grp['end']); value grp/start" 81 81 tal:content="string:${grp/start} - ${grp/end}" /> 82 <option tal:condition="python:start>batch['last']" selected="selected" value="1">[out of range]</option> 82 83 </select> <input type="submit" value="Go" /> <a tal:condition="batch/nextStart" 83 84 tal:attributes="href python:here.getLink(startParam,batch['nextStart'])">></a> <span tal:condition="not:batch/nextStart">></span> … … 93 94 class="autosubmit" name="start" tal:define="ofs python:test(pageinfo['pageZero'],0,1)"> 94 95 <tal:block> 95 <option tal:repeat="grp pageBatch/batches" tal:attributes="selected python: start==grp['start']; value grp/start;"96 <option tal:repeat="grp pageBatch/batches" tal:attributes="selected python:(start>=grp['start'] and start<=grp['end']); value grp/start;" 96 97 tal:content="string:${grp/start} - ${grp/end}" /> 98 <option tal:condition="python:start>pageBatch['last']" selected="selected" value="1">[out of range]</option> 97 99 </tal:block> 98 100 </select> <input type="submit" value="Go" /> <a tal:condition="right" tal:attributes="href python:here.getLink('start',right)">></a> -
zpt/viewer_text.zpt
r570 r571 59 59 tal:content="structure pageinfo/pageHeaderTitle" /> 60 60 <tal:block tal:condition="textPage" tal:replace="structure textPage"/> 61 <div class="emptyPage" tal:condition="not:textPage">[Error: no page]</div>61 <div class="emptyPage" tal:condition="not:textPage">[Error: no text]</div> 62 62 </div> 63 63 </div>
Note: See TracChangeset
for help on using the changeset viewer.