unicodestring decoding by default in T1text
[PyX.git] / www / exampleindex.pt
bloba739b000f1f8d01b9445bb46ce237ff5fce5a1f4
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>
9     </div>
10     <h1 tal:condition="python: options['subtype'] == 'examples'">PyX - Examples</h1>
11     <h1 tal:condition="python: options['subtype'] == 'gallery'">PyX - Gallery</h1>
13     <tal:block content="structure options/text"/>
15     <span class="example" tal:repeat="example options/examples">
16       <div class="exampleseparator"></div>
17       <div class="exampledownloads">
18         <div tal:repeat="download example/downloads" class="exampledownload">
19           <div><a tal:attributes="href download/filename" tal:content="download/suffixname">.xxx</a></div>
20           <div class="exampledownloadsize" tal:content="download/filesize"/>
21         </div>
22       </div>
23       <h2 tal:content="example/title">title</h2>
24       <div class="exampleimage">
25         <img tal:attributes="alt example/png; src example/png; width example/width; height example/height">
26       </div>
27       <div class="examplecode" tal:content="structure example/code">Code</div>
28       <tal:block tal:condition="example/text">
29           <h3>Description</h3>
30           <div class="exampletext" tal:content="structure example/text">Code</div>
31       </tal:block>
32     </span>
34     <div class="exampleseparator"></div>
35     <h2 tal:condition="python: options['subtype'] == 'examples'">Further examples</h2>
36     <h2 tal:condition="python: options['subtype'] == 'gallery'">Gallery sections</h2>
37     <ul>
38       <li tal:repeat="subpage options/subpages">
39         <a tal:attributes="href string:${subpage/dir}/index.html" tal:content="subpage/title">Examples</a>
40       </li>
41     </ul>
43   </div>
45 </html>
46 <!-- vim:set syntax=html: -->