disable build of extension modules by default
[PyX.git] / www / maintemplate.pt
blobfee33c2524097d184847bb779e3d36ac48eda43a
1 <span metal:define-macro="navlink" tal:omit-tag="">
2   <span tal:condition="python: options['pagename'] != htmlname" tal:omit-tag="">
3     <a tal:attributes="href python: options['mkrellink'](htmlname, options)" tal:content="navname">navname</a>
4   </span>
5   <span tal:condition="python: options['pagename'] == htmlname" tal:omit-tag="">
6     <span tal:content="navname">navname</span>
7   </span>
8 </span>
10 <html metal:define-macro="page">
12   <head>
13     <title>PyX - Python graphics package</title>
14     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
15     <link rel="shortcut icon" type="image/x-icon" tal:attributes="href python: options['mkrellink']('pyx.ico', options)">
16     <link rel="stylesheet" type="text/css" tal:attributes="href python: options['mkrellink']('main.css', options)">
17   </head>
19   <body>
21     <div id="background"></div>
23     <div id="navigation">
25       <div class="logo">
26         <a href="http://pyx.sourceforge.net/"><img alt="PyX" width=121 height=65 tal:attributes="src python: options['mkrellink']('pyxlogo.png', options)"></a>
27       </div>
29       <div class="box">
30         <div class="title">Navigation</div>
31         <div class="link" tal:define="htmlname python: 'index.html'; navname python: 'Home'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
32         <div class="link" tal:define="htmlname python: 'news.html'; navname python: 'News'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
33         <div class="link" tal:define="htmlname python: 'roadmap.html'; navname python: 'Roadmap'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
34         <div class="link" tal:define="htmlname python: 'documentation.html'; navname python: 'Documentation'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
35         <div class="link" tal:define="htmlname python: 'examples/index.html'; navname python: 'Examples'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
36         <tal:block repeat="subpage options/subpages" tal:condition="python: options['subtype'] == 'examples'">
37           <div class="sublink" tal:define="htmlname string:examples/${subpage/dir}/index.html; navname subpage/title">- <span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
38         </tal:block>
39         <div class="link" tal:define="htmlname python: 'gallery/index.html'; navname python: 'Gallery'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
40         <tal:block repeat="subpage options/subpages" tal:condition="python: options['subtype'] == 'gallery'">
41           <div class="sublink" tal:define="htmlname string:gallery/${subpage/dir}/index.html; navname subpage/title">- <span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
42         </tal:block>
43         <div class="link" tal:define="htmlname python: 'license.html'; navname python: 'License'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
44       </div>
46       <div class="box">
47         <div class="title">SourceForge</div>
48         <div class="link"><a href="http://sourceforge.net/projects/pyx/">Project page</a></div>
49         <div class="link"><a href="http://sourceforge.net/project/showfiles.php?group_id=45430">Downloads</a></div>
50         <div class="link"><a href="http://sourceforge.net/mail/?group_id=45430">Mailing lists</a></div>
51         <div class="link"><a href="http://pyx.svn.sourceforge.net/viewcvs.cgi/pyx/trunk/pyx/CHANGES?view=markup">ChangeLog</a></div>
52       </div>
54       <div class="box">
55         <div class="title">Links</div>
56         <div class="link"><a href="http://www.python.org/">Python</a></div>
57         <div class="link"><a href="http://www.tug.org/">TeX</a></div>
58         <div class="link"><a href="http://partners.adobe.com/public/developer/ps/index_specs.html">PostScript</a></div>
59         <div class="link"><a href="http://www.adobe.com/devnet/pdf/pdf_reference.html">PDF</a></div>
60       </div>
62       <div class="sflink">
63         <a href="http://sourceforge.net/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=45430&amp;type=1" width=88 height=31 alt="SourceForge Logo"></a>
64       </div>
66       <div class="w3clink">
67         <a href="http://validator.w3.org/check/referer"><img alt="Valid HTML 4.01!" width=88 height=31 tal:attributes="src python: options['mkrellink']('valid-html401.png', options)"></a>
68       </div>
70       <div class="w3clink">
71         <a href="http://jigsaw.w3.org/css-validator/check/referer"><img alt="Valid CSS!" width=88 height=31 tal:attributes="src python: options['mkrellink']('vcss.png', options)"></a>
72       </div>
73     </div>
76     <div id="contentwrapper">
77       <div id="content">
78         <div metal:define-slot="body">Content</div>
79       </div>
80     </div>
82   </body>
83 </html>
84 <!-- vim:set syntax=html: -->