1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html metal:use-macro="options/maintemplate/macros/page">
<div metal:fill-slot="body">
<div class="examplenavigations">
<a class="examplenavigation" tal:attributes="href python: options['mkrellink'](options['prev'], options)">prev</a>
<a class="examplenavigation" href="../index.html">up</a>
<a class="examplenavigation" tal:attributes="href python: options['mkrellink'](options['next'], options)">next</a>
</div>
<h1 tal:condition="not: options/gallery">PyX — Examples: <tal:block content="options/title"/></h1>
<h1 tal:condition="options/gallery">PyX — Gallery: <tal:block content="options/title"/></h1>
<tal:block tal:content="structure options/text"/>
<div class="exampleseparator" tal:condition="options/text"></div>
<h2>Overview for this section</h2>
<span class="example" tal:repeat="example options/examples">
<div class="exampleseparator" tal:condition="not: repeat/example/start"></div>
<div class="examplethumbnail">
<a tal:attributes="href example/html"><img tal:attributes="alt example/png; src example/thumbpng; width example/thumbwidth; height example/thumbheight" border=0></a>
</div>
<a tal:attributes="href example/html"><h3 tal:content="example/title">title</h3></a>
<tal:block content="structure example/shorttext"/>
<tal:block condition="python: example.shorttext != example.text">
<a tal:attributes="href example/html" tal:condition="example/shorttext">more ...</a>
<tal:block content="structure string:</p>" condition="example/shorttext"/>
</tal:block>
</span>
<div style="clear: both;"></div>
</div>
</html>
<!-- vim:set syntax=html: -->
|