Annotation of zogiLib/zpt/optionwindow.zpt, revision 1.13

1.1       dwinter     1: <html>
1.3       casties     2: <head>
1.7       casties     3: <script type="text/javascript" tal:attributes="src python:here.zogilibPath('')+'option_js'"></script>
1.13    ! casties     4: <title>Viewing Options</title>
1.3       casties     5: </head>
1.13    ! casties     6: <body tal:define="dlTarget python:here.REQUEST.get('frametarget', here.getDLTarget())">
        !             7: <a tal:attributes="target dlTarget" href="javascript:digilibWin.zoomArea()">zoom area</a><br/>
        !             8: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_ZoomIn', '')">zoom in</a><br/>
        !             9: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_ZoomOut', '')">zoom out</a><br/>
        !            10: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_WholePage', '')">whole page</a><br/>
        !            11: <a tal:attributes="target dlTarget" href="javascript:digilibWin.moveCenter()">move center</a><br/>
        !            12: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_HMirror', '')">Mirror (h)</a> <span tal:condition="python:here.hasMode('hmir')">yes</span><br/>
        !            13: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_VMirror', '')">Mirror (v)</a> <span tal:condition="python:here.hasMode('vmir')">yes</span><br/>
        !            14: <form tal:attributes="target dlTarget; action python:here.zogilibAction('setDLParams', '')">
        !            15: <input type="hidden" name="wid" tal:attributes="value here/getWID" />
1.4       casties    16: <table>
1.1       dwinter    17:   <tr>
                     18:     <td>
                     19:       Rotate:
                     20:     </td>
                     21:     <td>
1.9       casties    22:       <input type="text" size="5" name="rot" tal:attributes="value python:here.getDLParam('rot') or ''" />
1.4       casties    23:       (0..360) clockwise
1.1       dwinter    24:     </td>
                     25:   </tr>
                     26:   <tr>
                     27:     <td>
1.4       casties    28:       Brightness:
1.1       dwinter    29:     </td>
                     30:     <td>
1.9       casties    31:       <input type="text" size="5" name="brgt" tal:attributes="value python:here.getDLParam('brgt') or ''" />
1.4       casties    32:       (-255..255)
1.1       dwinter    33:     </td>
                     34:   </tr>
                     35:   <tr>
                     36:     <td>
                     37:       Contrast:
                     38:     </td>
                     39:     <td>
1.9       casties    40:       <input type="text" size="5" name="cont" tal:attributes="value python:here.getDLParam('cont') or ''" />
1.4       casties    41:       (0..8)
1.1       dwinter    42:     </td>
                     43:   </tr>
                     44: </table>
1.4       casties    45: <div align="center"><input type="submit" /></div>
1.1       dwinter    46: </form>
1.5       casties    47: <hr/>
1.6       casties    48: <p><b>Experimental:</b></p>
1.13    ! casties    49: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_StaticHTML', '')">switch to static HTML</a><br/>
        !            50: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_MoveUp', '')">move up</a><br/>
        !            51: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_MoveDown', '')">move down</a><br/>
        !            52: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_MoveLeft', '')">move left</a><br/>
        !            53: <a tal:attributes="target dlTarget; href python:here.zogilibAction('dl_MoveRight', '')">move right</a><br/>
1.12      casties    54: 
1.1       dwinter    55: </body>
1.2       casties    56: </html>

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