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

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

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