File:  [Repository] / zogiLib / zpt / main_metaData.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Jun 25 11:01:54 2007 UTC (17 years ago) by casties
Branches: MAIN
CVS tags: HEAD
fixed "smaller"-function in templates

    1: <html tal:define="dummy here/storeQuery">
    2: <head tal:content="structure here/head_js">
    3: </head>
    4: <body onload="dl_init()">
    5: <div id="navigation">
    6: <form method="get" tal:attributes="action python:here.zogilibAction('setDLParams')">
    7: <select onchange="setDLParam(event, this, true)" name="ws">
    8:   <option value="+0" selected>Size</option>
    9:   <option value="+0.5">bigger</option>
   10:   <option value="-0.5">smaller</option>
   11:   <option value="1">1 x</option>
   12:   <option value="1.5">1.5 x</option>
   13:   <option value="2">2 x</option>
   14:   <option value="3">3 x</option>
   15: </select> <a href="javascript:setMark()">set a mark</a> <a href="javascript:removeMark()">delete mark</a> <a
   16:   href="javascript:getRefWin()">get reference</a> <a href="javascript:zoomArea()">zoom area</a> <a href="javascript:zoomBy(1.4)">zoom
   17: in</a> <a href="javascript:zoomBy(0.7)">zoom out</a> <a href="javascript:zoomFullpage()">whole page</a> <a
   18:   href="javascript:showOptions(1)">options</a>
   19: </form>
   20: </div>
   21: 
   22: <div tal:replace="structure here/template/img_div" />
   23: <div tal:replace="structure here/template/aux_divs" />
   24: <tal:block tal:define="statics here/getContextStatic; dynamics here/getContextDatabases;">
   25:   <h2 tal:condition="statics">Static Links</h2>
   26:   
   27:   <p tal:repeat="static statics">
   28:     <a tal:attributes="href python:static[1]" tal:content="python:static[0]" />
   29:   </p>
   30: 
   31:   <tal:block tal:condition="python:(dynamics and len(dynamics)>1)">
   32:     <h2>Dynamic Links</h2>
   33: 
   34:     <p tal:repeat="static here/getContextDatabases">
   35:       <a tal:attributes="href python:static[1]" tal:content="python:static[0]" />
   36:     </p>
   37:   </tal:block>
   38:   
   39:   <h2>Data</h2>
   40:   
   41:   <p tal:replace="structure here/getMetaData" />
   42: </tal:block>
   43: 
   44: <div tal:replace="structure here/template/options" />
   45: </body>
   46: </html>

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