<html>
<head>
<script type="text/javascript" tal:attributes="src python:here.REQUEST['URL1']+'/baselib_js'"></script>
<script type="text/javascript" tal:attributes="src python:here.REQUEST['URL1']+'/hl_lib_js'"></script>
<script type="text/javascript" tal:attributes="src python:here.REQUEST['URL1']+'/hl_add_js'"></script>
<script type="text/javascript" tal:content="structure python:here.createJSAreas(here.getMapAreas())"/>
</head>
<body onload="mapadd_init()">
<h2>Change Map Coordinates for <span tal:replace="here/getId"/></h2>
<form name="form" action="ECHO_addCoords">
<table>
<tr>
<th>label</th><th>coordinates</th><th>angle</th><th>area</th><th>arrow</th>
</tr>
<tr tal:repeat="area here/getMapAreas">
<td><a tal:replace="structure python:here.createMapLink(area)"/></td>
<!-- <td><span tal:content="area/getId"/></td> -->
<td><input type="text" tal:attributes="name python:'coords.'+area.getId(); value area/getCoordString" size="30"/></td>
<td><input type="text" tal:attributes="name python:'angle.'+area.getId(); value area/getAngle" size="3"/></td>
<td><input type="radio" value="area" tal:attributes="name python:'type.'+area.getId(); checked python:area.getType()=='area'"/></td>
<td><input type="radio" value="arrow" tal:attributes="name python:'type.'+area.getId(); checked python:area.getType()!='area'"/></td>
<td><input type="submit" value="change"/></td>
<td><input type="submit" tal:attributes="name python:'del.'+area.getId()" value="delete"/></td>
</tr>
<tr>
<td></td>
<!-- <td></td> -->
<td><input type="text" id="coordstr" name="coords.new" size="30"/></td>
<td><input type="text" id="angle" name="angle.new" size="3"/></td>
<td><input type="radio" name="type.new" value="area" checked /></td>
<td><input type="radio" name="type.new" value="arrow" /></td>
<td><input type="submit" name="add" value="add"/></td>
</tr>
</table>
</form>
<div tal:replace="structure here/createMapImg"/>
<!-- auxiliary image block -->
<tal:block tal:repeat="ob here/getMapAreas">
<a tal:replace="structure python:here.createMapAux(ob)"/>
</tal:block>
<!-- end of auxiliary image block -->
<div id="newarea" style="position:absolute; top:-100px; left:-100px;"> </div>
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>