Mercurial > hg > VLP_extensions
view zpt/library_transcriptionTemplate.zpt @ 1:c6ed58ab0786 default tip
ignore Eclipse files.
author | casties |
---|---|
date | Wed, 17 Apr 2013 16:17:49 +0200 |
parents | 88009fd07d31 |
children |
line wrap: on
line source
<html metal:use-macro="here/main_template/macros/page"> <head> <title tal:content="here/title">VL Literature [lit25146 a0001]</title> <!-- SLOT: additional stylesheet --> <style metal:fill-slot="additionalStyles" type="text/css"> /* background colors d7d7d7*/ .vario { background-color: #B8C0CB; } .stage, .stageSpacer, .stageNav {background-color:#e6e6e6;} /* navigation in vario area */ .liseNav td,.menu p, .liseNav a, select { font-family: verdana; font-weight: normal; font-size: 10px; } .liseNav {color: #777;} .liseNav a {color: #333; text-decoration:underline;} .liseNav a:hover {color: white;} select.pageMenu {width:120px; background-color:#d7d7d7} </style> <!-- SLOT: additional scripts--> <tal:block metal:fill-slot="script"> <tal:block tal:define="dummy python:here.zogilib.storeQuery('fn=/permanent/vlp/'+here.resourceID+'/'+here.imagePath)"/> <script language="javascript" type="text/javascript"> <!-- function formgo(box) { if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value != "nil")) { val = box.options[box.selectedIndex].value; window.open(val, "_top"); } return true; } // --> </script> </tal:block> </head> <tal:block metal:fill-slot="nav"> <!-- new search --> <p><a style="text-decoration:underline;" href="../library/search" tal:attributes="href python:here.search.absolute_url()">New Search</a><br><br></p> <!-- bibliographic data and link to transcription --> <p tal:define=" id python:here.getId(); lit python:here.ZSQLSimpleSearch(' SELECT fullreference FROM vl_literature WHERE reference = \'' + id + '\'')[0]" tal:content="python:lit.fullreference">Aeby, Chr. 1883. Schema des Faserverlaufes im menschlichen Gehirn und Rueckenmark. Bern: Verlag der J. Dalp'schen Buchhandlung (K. Schmid)</p> <p>[<a tal:attributes="href python: '/library/download.php?litID=' + here.getId()">download as PDF file</a>]</p> <!-- page navigation --> <p><br><br> <form> <select size="1" onchange="formgo(this)" style="background-color:#d7d7cc"> <tal:block tal:omit-tag="" tal:repeat="page here/readIndexFile"> <option tal:condition="python:here.REQUEST.get('pn')==page[0]" selected tal:attributes="value python:here.REQUEST['URL']+'?pn='+page[0]" tal:content="python:page[1]"/> <option tal:condition="not:python:here.REQUEST.get('pn')==page[0]" tal:attributes="value python:here.REQUEST['URL']+'?pn='+page[0]" tal:content="python:page[1]"/> </tal:block> </select> </form> <table width="80" class="liseNav" border="0" cellspacing="0" cellpadding="8"> <tr> <td tal:content="structure here/firstPage"/> <td tal:content="structure here/prevPage"/> <td tal:content="structure here/nextPage"/> <td tal:content="structure here/lastPage"/> </tr> <!--<tr colspan="4"> <td tal:content="structure python:here.fulltext.getPage(here.REQUEST.get('pn','1'))"/> </tr>--> </table> </tal:block> <body> <div id="navigation"> <tal:block metal:fill-slot="body"> <b><a tal:attributes="href python:here.REQUEST['URL1']+'?'+here.REQUEST['QUERY_STRING']">facsimile</a></b> <b><a tal:attributes="href python:'../zogilib?fn=/permanent/vlp/'+here.getId()+'/pagesHi&pn='+here.REQUEST.get('pn','1')" target='_blank'>image</a></b> <span tal:replace="structure python:here.fulltext.getPage(here.REQUEST.get('pn','1'))"/> </tal:block> <!-- end fill-slot body--> </body> </html>