File: Index.zpts

package info (click to toggle)
plastex 3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,132 kB
  • sloc: python: 23,341; xml: 18,076; javascript: 7,755; ansic: 46; makefile: 40; sh: 26
file content (46 lines) | stat: -rw-r--r-- 1,826 bytes parent folder | download | duplicates (8)
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
39
40
41
42
43
44
45
46
name: theindex printindex
<h1 tal:content="self/title"></h1>

<div tal:define="groups self/groups">

<div align="center"><span tal:repeat="group groups"><a tal:attributes="href string:#IDXGROUP.${group/id}" tal:content="group/title"></a><span tal:condition="not:repeat/group/end"> | </span></span></div>

<div tal:condition="self" tal:repeat="group groups" class="theindex">

<h2 tal:content="group/title" tal:attributes="id string:IDXGROUP.${group/id}"></h2>

<table width="100%">
<tr>
<td tal:attributes="width python:'%s%%'%int(100.0/len(path('group')))" 
    tal:repeat="column group">
<ul tal:condition="column">
<li tal:repeat="item column">
    <span tal:replace="item/key">item</span>,
    <span tal:repeat="page item/pages"><a tal:attributes="href page/url; title stripped:page/currentSection/title" tal:content="page"></a><span tal:condition="not:repeat/page/end">, </span></span>
    <ul tal:condition="item">
    <li tal:repeat="subitem item">
        <span tal:replace="subitem/key">subitem</span>,
        <span tal:repeat="page subitem/pages"><a tal:attributes="href page/url; title stripped:page/currentSection/title" tal:content="page"></a><span tal:condition="not:repeat/page/end">, </span></span>
        <ul tal:condition="subitem">
        <li tal:repeat="subsubitem subitem">
            <span tal:replace="subsubitem/key">subsubitem</span>,
            <span tal:repeat="page subsubitem/pages"><a tal:attributes="href page/url; title stripped:page/currentSection/title" tal:content="page"></a><span tal:condition="not:repeat/page/end">, </span></span>
        </li>
        </ul>
    </li>
    </ul>
</li>
</ul>
</td>
</tr>
</table>

</div>

</div>

name: index
<a tal:attributes="name self/id; id self/id"></a>

name: see seealso
<i tal:content="self/captionName"></i> <span tal:replace="self"></span>