File:  [Repository] / ECHO_content / vlp / library_transcriptionTemplate.zpt
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Tue Jan 9 16:58:09 2007 UTC (17 years, 6 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
minor

    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: 	
    8: 		/* background colors d7d7d7*/
    9: 		.vario { background-color: #B8C0CB; }
   10: 		.stage, .stageSpacer, .stageNav  {background-color:#e6e6e6;}
   11: 		
   12: 		/* navigation in vario area */
   13: 		.liseNav td,.menu p, .liseNav a, select {
   14: 			font-family: verdana;
   15: 			font-weight: normal;
   16: 			font-size: 10px;
   17: 		}
   18: 		.liseNav {color: #777;}
   19: 		.liseNav a {color: #333; text-decoration:underline;}
   20: 		.liseNav a:hover {color: white;}
   21: 		
   22: 		select.pageMenu {width:120px; background-color:#d7d7d7}
   23: 		
   24: 	</style>
   25: 	
   26:     <!-- SLOT: additional scripts-->
   27:     <tal:block metal:fill-slot="script">
   28:       <tal:block tal:define="dummy python:here.zogilib.storeQuery('fn=/permanent/vlp/'+here.resourceID+'/'+here.imagePath)"/>
   29: 		<script language="javascript" type="text/javascript">
   30: 		<!--
   31: 	    function formgo(box) {
   32: 		    if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value != "nil")) {
   33: 	    		val = box.options[box.selectedIndex].value;
   34: 	    		window.open(val, "_top");
   35: 	    	}
   36: 	    	return true;
   37: 	    }
   38: 	    // -->
   39: 		</script>
   40: 	</tal:block>
   41: 	
   42: 
   43:   
   44:    </head>
   45: 
   46: <tal:block  metal:fill-slot="nav">
   47:     	<!-- new search -->
   48: 	<p><a style="text-decoration:underline;" href="../library/search"
   49: 			tal:attributes="href python:here.search.absolute_url()">New Search</a><br><br></p>
   50: 
   51: 	<!-- bibliographic data and link to transcription -->
   52: 	<p tal:define="
   53: 		id python:here.getId();
   54: 		lit python:here.ZSQLSimpleSearch('
   55: 			SELECT fullreference 
   56: 			FROM vl_literature 
   57: 			WHERE reference = \'' + id + '\'')[0]" 
   58: 		tal:content="python:lit.fullreference">Aeby, Chr. 1883. Schema des 
   59: 		Faserverlaufes im menschlichen Gehirn und Rueckenmark. Bern: Verlag der 
   60: 		J. Dalp'schen Buchhandlung (K. Schmid)</p>
   61: 		
   62: 		<p>[<a tal:attributes="href python: '/library/download.php?litID=' + here.getId()">download as PDF file</a>]</p>
   63: 		 
   64: 	<!-- page navigation -->
   65: 	<p><br><br>
   66: 	  <form>
   67: 	    <select size="1" onchange="formgo(this)" style="background-color:#d7d7cc">
   68: 	      <tal:block tal:omit-tag="" tal:repeat="page here/readIndexFile">
   69: 		<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]"/>
   70: 		<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]"/>
   71: 	      </tal:block>
   72: 	    </select>
   73: 	 </form>
   74: 	  <table width="80" class="liseNav" border="0" cellspacing="0" cellpadding="8">
   75: 	    
   76: 	    <tr>
   77: 	      <td tal:content="structure here/firstPage"/>
   78: 	      <td tal:content="structure here/prevPage"/>
   79: 	      <td tal:content="structure here/nextPage"/>
   80: 	      <td tal:content="structure here/lastPage"/>
   81: 	   </tr>
   82: 	   <!--<tr colspan="4">
   83: 	     <td tal:content="structure python:here.fulltext.getPage(here.REQUEST.get('pn','1'))"/>
   84: 	   </tr>-->
   85: 		</table>
   86:       </tal:block>
   87: 
   88: <body>
   89: <div id="navigation">
   90:   <tal:block metal:fill-slot="body">
   91:   
   92:   	     <b><a tal:attributes="href python:here.REQUEST['URL1']+'?'+here.REQUEST['QUERY_STRING']">facsimile</a></b>
   93: 	     <b><a tal:attributes="href python:'../zogilib?fn=/permanent/vlp/'+here.getId()+'/pagesHi&pn='+here.REQUEST.get('pn','1')" target='_blank'>image</a></b>
   94: 	     <span tal:replace="structure python:here.fulltext.getPage(here.REQUEST.get('pn','1'))"/>
   95: </tal:block> <!-- end fill-slot body-->
   96: </body>
   97: </html>												      
   98: 										 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>