Annotation of ECHO_content/zpt/ECHO_draw.zpt, revision 1.11

1.1       dwinter     1: <html>
                      2: <head>
1.10      casties     3:   <meta http-equiv="content-type" content="text/html;charset=utf-8">
                      4:   <link rel="stylesheet" type="text/css" href="/manage_page_style.css">
1.8       casties     5:   <link rel="stylesheet" type="text/css" href="mapstyle_css">
1.7       dwinter     6: <script type="text/javascript" tal:attributes="src python:here.REQUEST['URL2']+'/baselib_js'"></script>
                      7: <script type="text/javascript" tal:attributes="src python:here.REQUEST['URL2']+'/hl_lib_js'"></script>
                      8: <script type="text/javascript" tal:attributes="src python:here.REQUEST['URL2']+'/hl_add_js'"></script>
1.5       casties     9: <script type="text/javascript" tal:content="structure python:here.createJSAreas(here.getMapAreas())"/>
                     10: </head>
                     11: <body onload="mapadd_init()">
1.10      casties    12: <!-- ZOPE management tabs -->
                     13: <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
                     14:     tal:replace="structure here/manage_tabs">Tabs</h2>
                     15: <!-- end of ZOPE management tabs -->
1.5       casties    16:     <form name="form" action="ECHO_addCoords">
                     17:       <table>
                     18:    <tr>
1.9       casties    19:      <th>label</th><th>coordinates</th><th>angle</th><th>area</th><th>arrow</th><th>text</th><th>permanent</th>
1.5       casties    20:    </tr>
                     21:    <tr tal:repeat="area here/getMapAreas">
                     22:      <td><a tal:replace="structure python:here.createMapLink(area)"/></td>
                     23:      <!-- <td><span tal:content="area/getId"/></td> -->
                     24:      <td><input type="text" tal:attributes="name python:'coords.'+area.getId(); value area/getCoordString" size="30"/></td>
                     25:      <td><input type="text" tal:attributes="name python:'angle.'+area.getId(); value area/getAngle" size="3"/></td>
1.8       casties    26:      <td><input type="radio" value="area" tal:attributes="name python:'type.'+area.getId(); checked area/isTypeArea"/></td>
                     27:      <td><input type="radio" value="arrow" tal:attributes="name python:'type.'+area.getId(); checked area/isTypeArrow"/></td>
                     28:      <td><input type="radio" value="text" tal:attributes="name python:'type.'+area.getId(); checked area/isTypeText"/></td>
1.9       casties    29:      <td><input type="checkbox" value="permanent" tal:attributes="name python:'permanent.'+area.getId(); checked area/isPermanent"/></td>
1.5       casties    30:      <td><input type="submit" value="change"/></td>
                     31:      <td><input type="submit" tal:attributes="name python:'del.'+area.getId()" value="delete"/></td>
                     32:    </tr>
                     33:    <tr>
                     34:      <td></td>
                     35:      <!-- <td></td> -->
                     36:      <td><input type="text" id="coordstr" name="coords.new" size="30"/></td>
                     37:      <td><input type="text" id="angle" name="angle.new" size="3"/></td>
                     38:      <td><input type="radio" name="type.new" value="area" checked /></td>
                     39:      <td><input type="radio" name="type.new" value="arrow" /></td>
1.8       casties    40:      <td><input type="radio" name="type.new" value="text" /></td>
1.11    ! casties    41:      <td><input type="checkbox" name="permanent.new" value="True" /></td>
1.5       casties    42:      <td><input type="submit" name="add" value="add"/></td>
                     43:    </tr>
                     44:       </table>
                     45:     </form>
1.6       casties    46: <div tal:replace="structure here/createParentMapImg"/>
1.5       casties    47: <!-- auxiliary image block -->
                     48: <tal:block tal:repeat="ob here/getMapAreas">
                     49: <a tal:replace="structure python:here.createMapAux(ob)"/>
                     50: </tal:block>
                     51: <!-- end of auxiliary image block -->
                     52: <div id="newarea" style="position:absolute; top:-100px; left:-100px;"> </div>
1.1       dwinter    53: 
                     54: </body>
                     55: </html>

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