1: <html metal:use-macro="here/main_template/macros/page">
2: <head>
3: <title tal:content="here/title">VL Literature [lit25146 a0001]</title>
4:
5: <!-- SLOT: additional stylesheet -->
6: <style metal:fill-slot="additionalStyles" type="text/css"
7: tal:content="python:'.vario {background-color: ' + here.library.varioColor + ';}'">
8: /* background colors */
9: .vario {background-color: libraryProperty.varioColor;}
10: </style>
11: </head>
12:
13:
14: <body>
15:
16: <tal:block metal:fill-slot="body">
17:
18: <table
19: tal:repeat="header python:here.ZSQLSimpleSearch('
20: SELECT * FROM vl_literature
21: WHERE reference = \'' + here.getId() + '\'')">
22:
23: <tr
24: tal:define="global sort python:here.collectionSort(header.referencetype)">
25: <th class="thead">
26: <span tal:replace="python:header.shortreference.decode('latin-1')"/>
27: </th>
28: </tr>
29: </table>
30:
31: <p class="TOClist"
32: tal:repeat="item python:here.ZSQLSimpleSearch('
33: SELECT * FROM vl_literature
34: WHERE volumeid = \'' + here.getId() + '\'
35: AND online = 1
36: ORDER BY ' + sort)">
37: <a
38: tal:condition="python:here.checkForFrontMatter(item.reference)"
39: tal:attributes="href python:here.vlp_root() + '/library/data/'+item.reference+'/'+item.reference">Table of Contents, Tables, ...</a
40: ><a
41: tal:condition="not:python:item.reference==here.getId()"
42: tal:attributes="href python:here.vlp_root() + '/references?id='+item.reference"><span
43: tal:replace="python:item.fullreference.decode('latin-1')"/></a></p>
44: </tal:block>
45:
46: </body>
47: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>