Mercurial > hg > ChinaGisRestApi
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gis_gui/blocks/map.html.pt Fri Nov 05 18:52:55 2010 +0100 @@ -0,0 +1,57 @@ +<tal:block tal:define="layer python:request.get('layer',None);"> + <tal:block metal:use-macro="here/template/macros/module"> + + + <tal:block metal:fill-slot="icon"> M </tal:block> + <tal:block metal:fill-slot="title"> Map </tal:block> + + + <tal:block metal:fill-slot="menu"> + <ul id="account_menu"> + <li>Save</li> + <li>Open</li> + </ul> + </tal:block> + + <tal:block metal:fill-slot="content"> + <!-- Subscreens: mapping setup, map --> + <div class="subscreen main"> + <div class="map_box">[loading...]</div> + + <div class="mapping_info"> + <h3>Map</h3> + <table> + <tr> + <th>Map name</th> + <td><input type="text" class="map_name" tal:attributes="value string:${layer}_map1" /></td> + </tr> + </table> + + <h3>Layers</h3> + <table width="100%" class="map_layer_table"> + <tr class="map_layer_header"> + <th>show</th> + <th>layer name</th> + </tr> + </table> + <!-- template for info table --> + <table style="display: none"> + <tbody class="layer_info_tmpl"> + <tr class="layer_info"> + <td><input type="checkbox" class="layer_display_${idx}" checked="${display}" /></td> + <td>${layer.name}</td> + <td><input type="button" class="layer_edit_${idx}" value="edit" /></td> + <td><input type="button" class="layer_delete_${idx}" value="del" /></td> + </tr> + </tbody> + </table> + <p><input type="button" class="layer_add_button" value="Add layer" /></p> + <p><input type="button" class="map_update_button" value="Update map" /><br /> + <input type="button" class="map_save_button" value="Save map" /></p> + </div> + + </div> + + </tal:block> + </tal:block> +</tal:block> \ No newline at end of file