comparison gis_gui/blocks/map.html.pt @ 64:3f6e32265c53

working on map block
author casties
date Tue, 09 Nov 2010 16:29:56 +0100
parents 7f008e782563
children 2f477270cc0c
comparison
equal deleted inserted replaced
63:7f008e782563 64:3f6e32265c53
32 <tr class="map_layer_header"> 32 <tr class="map_layer_header">
33 <th>show</th> 33 <th>show</th>
34 <th>layer name</th> 34 <th>layer name</th>
35 </tr> 35 </tr>
36 </table> 36 </table>
37 <p><input type="button" class="layer_add_button" value="Add layer" /></p>
38 <p><input type="button" class="map_update_button" value="Update map" /><br />
39 <input type="button" class="map_save_button" value="Save map" /></p>
40 </div>
41
42 </div>
43
37 <!-- template for info table --> 44 <!-- template for info table -->
38 <table style="display: none"> 45 <table style="display:none">
39 <tbody class="layer_info_tmpl"> 46 <tbody class="layer_info_tmpl">
40 <tr class="layer_info"> 47 <tr class="layer_info">
41 <td><input type="checkbox" class="layer_display_${idx}" checked="${display}" /></td> 48 <td><input type="checkbox" class="layer_display_${idx}" checked="${display}" /></td>
42 <td>${layer.name}</td> 49 <td>${layer.name}</td>
43 <td><input type="button" class="layer_edit_${idx}" value="edit" /></td> 50 <td><input type="button" class="layer_edit_${idx}" value="edit" /></td>
44 <td><input type="button" class="layer_delete_${idx}" value="del" /></td> 51 <td><input type="button" class="layer_delete_${idx}" value="del" /></td>
45 </tr> 52 </tr>
46 </tbody> 53 </tbody>
47 </table> 54 </table>
48 <p><input type="button" class="layer_add_button" value="Add layer" /></p> 55 <!-- Dialog for create table -->
49 <p><input type="button" class="map_update_button" value="Update map" /><br /> 56 <div class="dialog add_layer_select" title="Select Layer" style="display:none">
50 <input type="button" class="map_save_button" value="Save map" /></p> 57 <p>Select layer to add to map:<br>
51 </div> 58 <form action="javascript:null">
52 59 <select>
53 </div> 60 <option>some layer</option>
61 </select>
62 <input type="button" value"Select"/>
63 </p>
64 </div>
54 65
55 </tal:block> 66 </tal:block>
56 </tal:block> 67 </tal:block>
57 </tal:block> 68 </tal:block>