aboutsummaryrefslogtreecommitdiff
blob: f8785740c1ae7048982413c6ae3bda08967a2e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<?python from genshi import HTML ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html 
  xmlns="http://www.w3.org/1999/xhtml"   
  xmlns:py="http://genshi.edgewall.org/"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xml:lang="en" lang="en">
  <xi:include href="layout.html" />
  <head>
  </head>

  <body>
    <leftcontent/>

    <div id="centercontent" class="centercategories">
        <div class="centercats"> 
            <table class="centercats">
                <tr py:for="row in center_categories">
                    <span py:for="cell in row" py:strip="True">
                        <td py:if="cell[0] is not None">
                            <a href="${relurl('/category/'+cell[0])}">${HTML(cell[0], encoding='utf-8')}</a> (${cell[1]}/${cell[2]})
                        </td>
                    </span>
                </tr>
            </table>
            <div class="stats">Categories: ${sums['cats']} Packages: ${sums['pkgs']} Ebuilds: ${sums['ebuilds']}</div>
        </div>
    </div>

    <rightcontent/>
    <footer/>

  </body>

</html>