Annotation of documentViewer/zpt/toc_figures.zpt, revision 1.3.2.3
1.3.2.1 casties 1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3: <html xmlns="http://www.w3.org/1999/xhtml">
4: <head>
5: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6: </head>
7: <body>
8: <!-- block used for main content area -->
1.3.2.3 ! casties 9: <div class="col-left" metal:define-macro="main"
1.3.2.2 casties 10: tal:define="start pageinfo/start; tocsize docinfo/tocSize_figures; grpsize pageinfo/tocPageSize;
11: batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
1.3.2.1 casties 12: <ul class="switcher">
13: <li><a
14: tal:attributes="href python:here.getLink('tocMode','thumbs')">Thumbnails</a>
15: </li>
16: <li
17: tal:condition="python:docpath and docinfo.get('numTocEntries', None)">
18: <a tal:attributes="href python:here.getLink('tocMode','text')">Content</a>
19: </li>
1.3.2.2 casties 20: <li class="sel"
1.3.2.1 casties 21: tal:condition="python:docpath and docinfo.get('numFigureEntries', None)">
22: <a
23: tal:attributes="href python:here.getLink('tocMode','figures')">Figures</a>
24: </li>
25: <li><a
26: tal:attributes="href python:here.getLink('tocMode','none')">None</a>
27: </li>
28: </ul>
29: <div class="ruler">
30: <form class="autosubmit" tal:attributes="action viewerUrl">
31: <input type="hidden"
1.3.2.2 casties 32: tal:define="params python:here.getParams('start', None)"
1.3.2.1 casties 33: tal:repeat="param params"
34: tal:attributes="name param; value python:params[param]" />
1.3.2.2 casties 35: <a tal:condition="batch/prevStart"
36: tal:attributes="href python:here.getLink('start',batch['prevStart'])"><</a>
37: <span tal:condition="not:batch/prevStart"><</span>
38: <select class="autosubmit" name="start">
39: <option tal:repeat="grp batch/batches"
40: tal:attributes="selected python:(start==grp['start']); value grp/start"
41: tal:content="string:${grp/start} - ${grp/end}" />
1.3.2.1 casties 42: </select>
43: <input type="submit" value="Go" />
1.3.2.2 casties 44: <a tal:condition="batch/nextStart"
45: tal:attributes="href python:here.getLink('start',batch['nextStart'])">></a>
46: <span tal:condition="not:batch/nextStart">></span>
1.3.2.1 casties 47: </form>
48: </div>
49: <div class="content"
1.3.2.2 casties 50: tal:content="structure python:here.getTocPage(mode='figures',start=start,pageinfo=pageinfo,docinfo=docinfo)" />
1.3.2.1 casties 51: </div>
52: <!-- toc -->
53: </body>
54: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>