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>PyX - Examples</h1>
12 <p tal:condition="options/abstract" tal:content="structure options/abstract">
13 A short introduction about the example pages.
16 <span class="example" tal:repeat="example options/examples">
17 <div class="exampleseparator" tal:condition="python: options['abstract'] or not repeat['example'].start()"></div>
18 <div class="exampledownloads">
19 <div tal:repeat="download example/downloads" class="exampledownload">
20 <div><a tal:attributes="href download/filename" tal:content="download/suffixname">.xxx</a></div>
21 <div class="exampledownloadsize" tal:content="download/filesize"/>
24 <h2 tal:content="example/title">title</h2>
25 <div class="exampleimage">
26 <img tal:attributes="alt example/png; src example/png; width example/width; height example/height">
28 <div class="examplecode" tal:content="structure example/code">Code</div>
29 <tal:block tal:condition="example/text">
31 <div class="exampletext" tal:content="structure example/text">Code</div>
35 <div class="exampleseparator"></div>
36 <h2>Further examples</h2>
38 Further examples are available on separate pages:
41 <li tal:repeat="item options/examplepages">
42 <a tal:attributes="href python:item+'/index.html'" tal:content="python: item.title()">Examples</a>
49 <!-- vim:set syntax=html: -->