typo
[PyX.git] / www / examples.pt
blob35d2e7ca9315afdafac5a140badfc726882cb6ce
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)">next</a>
11     </div>
12     <h1 tal:condition="python: options['subtype'] == 'examples'">PyX — Examples: <tal:block content="options/title"/></h1>
13     <h1 tal:condition="python: options['subtype'] == 'gallery'">PyX — Gallery: <tal:block content="options/title"/></h1>
15     <tal:block tal:content="structure options/text"/>
17     <div class="exampleseparator" tal:condition="options/text"></div>
18     <h2 tal:condition="python: options['subtype'] == 'examples'">Example overview for this section</h2>
19     <h2 tal:condition="python: options['subtype'] == 'gallery'">Overview for this section</h2>
20     <span class="example" tal:repeat="example options/examples">
21       <div class="exampleseparator" tal:condition="not: repeat/example/start"></div>
22       <div class="examplethumbnail">
23         <a tal:attributes="href example/html"><img tal:attributes="alt example/png; src example/thumbpng; width example/thumbwidth; height example/thumbheight" border=0></a>
24       </div>
25       <a tal:attributes="href example/html"><h3 tal:content="example/title">title</h3></a>
26       <tal:block content="structure example/shorttext"/>
27       <tal:block condition="python: example.shorttext != example.text">
28         <a tal:attributes="href example/html" tal:condition="example/shorttext">more&nbsp;...</a>
29         <tal:block content="structure string:</p>" condition="example/shorttext"/>
30       </tal:block>
31     </span>
32     <div style="clear: both;"></div>
34   </div>
36 </html>
37 <!-- vim:set syntax=html: -->