update mkipynb to notebook version 4
[PyX.git] / www / example.pt
blob663c4bb20c56e660aa05a28f30eadd5886cafa03
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>
11     </div>
12     <h1>PyX — Example: <tal:block content="options/example/filename"/></h1>
14     <div class="exampledownloads">
15       <div tal:repeat="download options/example/downloads" class="exampledownload">
16         <div><a tal:attributes="href download/filename" tal:content="download/suffixname">.xxx</a></div>
17         <div class="exampledownloadsize" tal:content="download/filesize"/>
18       </div>
19     </div>
20     <h2 tal:content="options/example/title">filename</h2>
21     <div class="exampleimage">
22       <img tal:attributes="alt options/example/png; src options/example/png; width options/example/width; height options/example/height">
23     </div>
24     <div class="examplecode" tal:content="structure options/example/code">Code</div>
25     <tal:block tal:condition="options/example/text">
26         <h3>Description</h3>
27         <div class="exampletext" tal:content="structure options/example/text">Code</div>
28     </tal:block>
30   </div>
32 </html>
33 <!-- vim:set syntax=html: -->