File:  [Repository] / ECHO_content / vlp / subCollection_template.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Mar 1 11:30:57 2005 UTC (19 years, 4 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
subcollection template changed

    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: 		<script language="javascript" type="text/javascript">
   29: 		<!--
   30: 	    function formgo(box) {
   31: 		    if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value != "nil")) {
   32: 	    		val = box.options[box.selectedIndex].value;
   33: 	    		window.open(val, "_top");
   34: 	    	}
   35: 	    	return true;
   36: 	    }
   37: 	    // -->
   38: 		</script>
   39: 	</tal:block>
   40: 	
   41: 
   42:   
   43:    </head>
   44: 
   45: 
   46: <body>
   47: <div id="navigation">
   48:   <tal:block metal:fill-slot="body">
   49:   <table tal:repeat="header python:here.ZSQLSimpleSearch('select * from vl_literature where reference like \'%s\' '%here.getId())">
   50:    <tr>
   51: 	<th class="thead"><span tal:replace="python:header.shortreference.decode('latin-1')"/> 
   52: 	</th>
   53:    </tr>
   54:   </table>
   55: 
   56:   <p class="TOClist" tal:repeat="item python:here.ZSQLSimpleSearch('select * from vl_literature where volumeid like \'%s\' order by startpages'%here.getId())">
   57: 
   58:      <a tal:condition="python:item.reference==here.getId()" tal:attributes="href python:'../references?id='+item.reference">FRONT MATTER</a>
   59:      <a tal:condition="not:python:item.reference==here.getId()" tal:attributes="href python:'../references?id='+item.reference">
   60:      <span tal:replace="python:item.fullreference.decode('latin-1')"/></a></p>
   61: </tal:block> 
   62: </body>
   63: </html>												      
   64: 										 

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