Mercurial > hg > ChinaGisRestApi
comparison gis_gui/blocks/map.html.pt @ 248:fcb7876178d1
Reload-Button
author | fknauft |
---|---|
date | Fri, 16 Sep 2011 10:59:10 +0200 |
parents | 35c3d0ce2914 |
children | 52b1247140b7 |
comparison
equal
deleted
inserted
replaced
247:47bba001d718 | 248:fcb7876178d1 |
---|---|
1 <tal:block tal:define="layer python:request.get('layer',None);"> | 1 <tal:block tal:define="layer python:request.get('layer',None);"> |
2 <tal:block metal:use-macro="here/template/macros/module"> | 2 <tal:block metal:use-macro="here/template/macros/module"> |
3 | 3 |
4 | 4 |
5 <tal:block metal:fill-slot="icon"> M </tal:block> | 5 <tal:block metal:fill-slot="icon"> M </tal:block> |
6 <tal:block metal:fill-slot="title"> Map </tal:block> | 6 <tal:block metal:fill-slot="title"> Multi-layer Map </tal:block> |
7 | 7 |
8 | 8 |
9 <tal:block metal:fill-slot="menu"> | 9 <tal:block metal:fill-slot="menu"> |
10 <ul id="account_menu"> | 10 <ul id="account_menu"> |
11 <li>Save</li> | 11 <li onclick="">Save</li> |
12 <li>Open</li> | 12 <li onclick="">Open</li> |
13 </ul> | |
14 </tal:block> | 13 </tal:block> |
15 | 14 |
16 <tal:block metal:fill-slot="content"> | 15 <tal:block metal:fill-slot="content"> |
17 <!-- Subscreens: mapping setup, map --> | 16 <!-- Subscreens: mapping setup, map --> |
18 <div class="subscreen main"> | 17 <div class="subscreen main"> |
34 --> | 33 --> |
35 | 34 |
36 <div class="map_box">[loading...]</div> | 35 <div class="map_box">[loading...]</div> |
37 | 36 |
38 <div class="mapping_info"> | 37 <div class="mapping_info"> |
39 <h3>Map</h3> | |
40 <table> | 38 <table> |
41 <tr> | 39 <tr> |
42 <th>Map name</th> | 40 <th>Map name</th> |
43 <td><input type="text" class="map_name" tal:attributes="value string:${layer}_map1" /></td> | 41 <td><input type="text" class="map_name" tal:attributes="value string:${layer}_map1" /></td> |
44 </tr> | 42 </tr> |
45 </table> | 43 </table> |
46 | 44 <p><input type="button" class="map_save_button" value="Save map" /></p> |
47 <h3>Layers</h3> | 45 <br> |
46 | |
47 <h4>Layers</h4> | |
48 <table width="100%" class="map_layer_table"> | 48 <table width="100%" class="map_layer_table"> |
49 <tr class="map_layer_header"> | 49 <tr class="map_layer_header"> |
50 <th>show</th> | 50 <th>show</th> |
51 <th>layer name</th> | 51 <th>layer name</th> |
52 </tr> | 52 </tr> |
53 </table> | 53 </table> |
54 <p><input type="button" class="layer_add_button" value="Add layer" /></p> | 54 <p><input type="button" class="layer_add_button" value="Add layer" /></p> |
55 | 55 |
56 <p><input type="button" class="map_update_button" value="Update map" /><br /> | 56 <p><input type="button" class="map_update_button" value="Update map" /><br /> |
57 <input type="button" class="map_reload_button" value="Reload map" /><br /> </p> | |
58 <!-- <input type="button" class="map_newwindow_button" value="Open map in new Window" /></p> | 57 <!-- <input type="button" class="map_newwindow_button" value="Open map in new Window" /></p> |
59 --> | 58 --> |
60 <p><input type="button" class="map_save_button" value="Save map" /></p> | |
61 </div> | 59 </div> |
62 | 60 |
63 </div> | 61 </div> |
64 | 62 |
65 <!-- template for info table --> | 63 <!-- template for info table --> |