Mercurial > hg > ChinaGisRestApi
comparison gis_gui/blocks/map.html.pt @ 63:7f008e782563
add gui files to product via FileSystemSite
author | casties |
---|---|
date | Fri, 05 Nov 2010 18:52:55 +0100 |
parents | |
children | 3f6e32265c53 |
comparison
equal
deleted
inserted
replaced
62:3905385c8854 | 63:7f008e782563 |
---|---|
1 <tal:block tal:define="layer python:request.get('layer',None);"> | |
2 <tal:block metal:use-macro="here/template/macros/module"> | |
3 | |
4 | |
5 <tal:block metal:fill-slot="icon"> M </tal:block> | |
6 <tal:block metal:fill-slot="title"> Map </tal:block> | |
7 | |
8 | |
9 <tal:block metal:fill-slot="menu"> | |
10 <ul id="account_menu"> | |
11 <li>Save</li> | |
12 <li>Open</li> | |
13 </ul> | |
14 </tal:block> | |
15 | |
16 <tal:block metal:fill-slot="content"> | |
17 <!-- Subscreens: mapping setup, map --> | |
18 <div class="subscreen main"> | |
19 <div class="map_box">[loading...]</div> | |
20 | |
21 <div class="mapping_info"> | |
22 <h3>Map</h3> | |
23 <table> | |
24 <tr> | |
25 <th>Map name</th> | |
26 <td><input type="text" class="map_name" tal:attributes="value string:${layer}_map1" /></td> | |
27 </tr> | |
28 </table> | |
29 | |
30 <h3>Layers</h3> | |
31 <table width="100%" class="map_layer_table"> | |
32 <tr class="map_layer_header"> | |
33 <th>show</th> | |
34 <th>layer name</th> | |
35 </tr> | |
36 </table> | |
37 <!-- template for info table --> | |
38 <table style="display: none"> | |
39 <tbody class="layer_info_tmpl"> | |
40 <tr class="layer_info"> | |
41 <td><input type="checkbox" class="layer_display_${idx}" checked="${display}" /></td> | |
42 <td>${layer.name}</td> | |
43 <td><input type="button" class="layer_edit_${idx}" value="edit" /></td> | |
44 <td><input type="button" class="layer_delete_${idx}" value="del" /></td> | |
45 </tr> | |
46 </tbody> | |
47 </table> | |
48 <p><input type="button" class="layer_add_button" value="Add layer" /></p> | |
49 <p><input type="button" class="map_update_button" value="Update map" /><br /> | |
50 <input type="button" class="map_save_button" value="Save map" /></p> | |
51 </div> | |
52 | |
53 </div> | |
54 | |
55 </tal:block> | |
56 </tal:block> | |
57 </tal:block> |