remove the pre-defined smooth instances
[PyX/mjg.git] / www / examples.pt
blob93fea04800100be57fa6937daa7ea9dcfc761aeb
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     <h1>PyX - Examples</h1>
9     <p tal:condition="options/abstract" tal:content="structure options/abstract">
10       We might have a short abstract about the examples shown on this page.
11     </p>
13     <span class="example" tal:repeat="example options/examples">
14       <div class="exampleseparator" tal:condition="python: options['abstract'] or not repeat['example'].start()"></div>
15       <div class="exampledownloads">
16         <div tal:repeat="download 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"/>
19         </div>
20       </div>
21       <h2 tal:content="example/title">title</h2>
22       <div class="exampleimage">
23         <img tal:attributes="alt example/png; src example/png; width example/width; height example/height">
24       </div>
25       <div class="examplecode" tal:content="structure example/code">Code</div>
26     </span>
28     <span tal:condition="python: options['pagename'] == 'examples/index.html'" tal:omit-tag="">
29       <div class="exampleseparator"></div>
30       <h2>Further examples</h2>
31       <p>
32         Further examples are available on separate pages:
33         <span tal:repeat="item options/examplepages" tal:omit-tag=""><a tal:attributes="href python:item+'/index.html'" tal:content="python: item.title()">Examples</a><span tal:omit-tag="" tal:condition="not: repeat/item/end">,</span></span>.
34       </p>
35     </span>
37   </div>
39 </html>
40 <!-- vim:set syntax=html: -->