Mercurial > hg > ChinaGisRestApi
diff gis_gui/blocks/layer.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/layer.html.pt Fri Nov 05 18:52:55 2010 +0100 @@ -0,0 +1,63 @@ +<tal:block tal:define="table python:request.get('table',None);"> +<tal:block metal:use-macro="here/template/macros/module"> + + + <tal:block metal:fill-slot="icon"> L </tal:block> + <tal:block metal:fill-slot="title"> Map layer for table <i tal:content="table"/></tal:block> + + + <tal:block metal:fill-slot="menu"> + + + + <ul id="account_menu"> + <li> Save </li> + + <li> Open </li> + + <li> + </ul> + </tal:block> + + <tal:block metal:fill-slot="content"> + <!-- Subscreens: mapping setup, map --> + <div class="subscreen main"> + <div class="map_box"> + [map loading...] + </div> + + <div class="mapping_info"> + <h3>Map layer</h3> + <table> + <tr> + <th> Layer Name </th> + <td><input type="text" class="layer_name" tal:attributes="value string:${table}_layer1"/></td> + </tr> + <tr> + <th> Source Table </th> + <td> <span tal:content="table"/> <input type="button" value="Open table" class="layer_open_table_button"/></td> + </tr> + </table> + <h3> Mapping </h3> + <table> + <tr> <th> Position </th> <td> <select class="layer_position_select"><option>None</option></select> </td> </tr> + <tr> <th> Label </th> <td> <select class="layer_label_select"><option>None</option></select> </td> </tr> + <tr> <th> Size </th> <td> <select class="layer_size_select"><option>None</option></select></td> </tr> + <tr> <th> Color </th> <td> <select class="layer_color_select"><option>None</option></select></td> </tr> + <tr> <th> Shape </th> <td> <select class="layer_shape_select"><option>None</option></select> </td> </tr> + <tr> <td colspan="2"> <input class="layer_line_checkbox" type="checkbox"/> connect markers with a line </td></tr> + </table> + <br/> + <input type="button" value="Update layer" class="layer_update_button"/> + <br/> + <input type="button" value="Save layer" class="layer_save_button"/> + <br/> + <input type="button" value="Create map with this layer" class="map_create_button"/> + </div> + </div> + </tal:block> + + + +</tal:block> +</tal:block> \ No newline at end of file