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['prev'], options)">prev</a>
9 <a class="examplenavigation" href="index.html">up</a>
10 <a class="examplenavigation" tal:attributes="href python: options['mkrellink'](options['next'], options)" tal:condition="options/next">next</a>
12 <h1 tal:condition="python: options['subtype'] == 'examples'">PyX — Example: <tal:block content="options/example/filename"/></h1>
13 <h1 tal:condition="python: options['subtype'] == 'gallery'">PyX — Gallery: <tal:block content="options/example/filename"/></h1>
15 <div class="exampledownloads">
16 <div tal:repeat="download options/example/downloads" class="exampledownload">
17 <div><a tal:attributes="href download/filename" tal:content="download/suffixname">.xxx</a></div>
18 <div class="exampledownloadsize" tal:content="download/filesize"/>
21 <h2 tal:content="options/example/title">filename</h2>
22 <div class="exampleimage">
23 <img tal:attributes="alt options/example/png; src options/example/png; width options/example/width; height options/example/height">
25 <div class="examplecode" tal:content="structure options/example/code">Code</div>
26 <tal:block tal:condition="options/example/text">
28 <div class="exampletext" tal:content="structure options/example/text">Code</div>
34 <!-- vim:set syntax=html: -->