1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html metal:use-macro="options/maintemplate/macros/page">
5 <div metal:fill-slot="body">
7 <div class="examplenavigations">
8 <a class="examplenavigation" tal:attributes="href python: options['mkrellink'](options['next'], options)">next</a>
10 <h1 tal:condition="python: options['subtype'] == 'examples'">PyX — Examples</h1>
11 <h1 tal:condition="python: options['subtype'] == 'gallery'">PyX — Gallery</h1>
13 <tal:block content="structure options/text"/>
15 <span class="example" tal:repeat="example options/examples">
16 <div class="exampleseparator"></div>
17 <div class="exampledownloads">
18 <div tal:repeat="download example/downloads" class="exampledownload">
19 <div><a tal:attributes="href download/filename" tal:content="download/suffixname">.xxx</a></div>
20 <div class="exampledownloadsize" tal:content="download/filesize"/>
23 <h2 tal:content="example/title">title</h2>
24 <div class="exampleimage">
25 <img tal:attributes="alt example/png; src example/png; width example/width; height example/height">
27 <div class="examplecode" tal:content="structure example/code">Code</div>
28 <tal:block tal:condition="example/text">
30 <div class="exampletext" tal:content="structure example/text">Code</div>
34 <div class="exampleseparator"></div>
35 <h2 tal:condition="python: options['subtype'] == 'examples'">Further examples</h2>
36 <h2 tal:condition="python: options['subtype'] == 'gallery'">Gallery sections</h2>
38 <li tal:repeat="subpage options/subpages">
39 <a tal:attributes="href string:${subpage/dir}/index.html" tal:content="subpage/title">Examples</a>
46 <!-- vim:set syntax=html: -->