annotate gis_gui/blocks/map.html.pt @ 103:06309d0702de

changable color for dots in map
author fknauft
date Tue, 01 Feb 2011 16:46:05 +0100
parents 49fb47bbe2e6
children 0a1dee507612
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
1 <tal:block tal:define="layer python:request.get('layer',None);">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
2 <tal:block metal:use-macro="here/template/macros/module">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
3
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
4
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
5 <tal:block metal:fill-slot="icon"> M </tal:block>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
6 <tal:block metal:fill-slot="title"> Map </tal:block>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
7
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
8
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
9 <tal:block metal:fill-slot="menu">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
10 <ul id="account_menu">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
11 <li>Save</li>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
12 <li>Open</li>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
13 </ul>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
14 </tal:block>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
15
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
16 <tal:block metal:fill-slot="content">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
17 <!-- Subscreens: mapping setup, map -->
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
18 <div class="subscreen main">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
19 <div class="map_box">[loading...]</div>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
20
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
21 <div class="mapping_info">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
22 <h3>Map</h3>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
23 <table>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
24 <tr>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
25 <th>Map name</th>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
26 <td><input type="text" class="map_name" tal:attributes="value string:${layer}_map1" /></td>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
27 </tr>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
28 </table>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
29
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
30 <h3>Layers</h3>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
31 <table width="100%" class="map_layer_table">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
32 <tr class="map_layer_header">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
33 <th>show</th>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
34 <th>layer name</th>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
35 </tr>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
36 </table>
64
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
37 <p><input type="button" class="layer_add_button" value="Add layer" /></p>
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
38 <p><input type="button" class="map_update_button" value="Update map" /><br />
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
39 <input type="button" class="map_save_button" value="Save map" /></p>
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
40 </div>
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
41
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
42 </div>
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
43
63
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
44 <!-- template for info table -->
64
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
45 <table style="display:none">
63
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
46 <tbody class="layer_info_tmpl">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
47 <tr class="layer_info">
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
48 <td><input type="checkbox" class="layer_display_${idx}" checked="${display}" /></td>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
49 <td>${layer.name}</td>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
50 <td><input type="button" class="layer_edit_${idx}" value="edit" /></td>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
51 <td><input type="button" class="layer_delete_${idx}" value="del" /></td>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
52 </tr>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
53 </tbody>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
54 </table>
64
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
55 <!-- Dialog for create table -->
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
56 <div class="dialog add_layer_select" title="Select Layer" style="display:none">
68
49fb47bbe2e6 saving and loading maps
casties
parents: 65
diff changeset
57 <form action="javascript:false;">
49fb47bbe2e6 saving and loading maps
casties
parents: 65
diff changeset
58 <p>Select layer to add to map:<br/>
65
2f477270cc0c adding layers to maps works now
casties
parents: 64
diff changeset
59 <select size="5" name="add_layer_select" class="add_layer_select">
2f477270cc0c adding layers to maps works now
casties
parents: 64
diff changeset
60 <option>[loading...]</option>
64
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
61 </select>
68
49fb47bbe2e6 saving and loading maps
casties
parents: 65
diff changeset
62 </p>
49fb47bbe2e6 saving and loading maps
casties
parents: 65
diff changeset
63 </form>
64
3f6e32265c53 working on map block
casties
parents: 63
diff changeset
64 </div>
63
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
65
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
66 </tal:block>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
67 </tal:block>
7f008e782563 add gui files to product via FileSystemSite
casties
parents:
diff changeset
68 </tal:block>