63
|
1 <tal:block tal:define="table python:request.get('table',None);">
|
|
2 <tal:block metal:use-macro="here/template/macros/module">
|
|
3
|
|
4
|
|
5 <tal:block metal:fill-slot="icon"> L </tal:block>
|
|
6 <tal:block metal:fill-slot="title"> Map layer for table <i tal:content="table"/></tal:block>
|
|
7
|
|
8
|
|
9 <tal:block metal:fill-slot="menu">
|
|
10 <ul id="account_menu">
|
90
|
11 <li> Save </li>
|
63
|
12 <li> Open </li>
|
90
|
13 <li> </li>
|
63
|
14 </ul>
|
|
15 </tal:block>
|
|
16
|
|
17 <tal:block metal:fill-slot="content">
|
|
18 <!-- Subscreens: mapping setup, map -->
|
|
19 <div class="subscreen main">
|
|
20 <div class="map_box">
|
|
21 [map loading...]
|
|
22 </div>
|
|
23
|
202
|
24 <div class="mapping_info" id="map_info">
|
63
|
25 <h3>Map layer</h3>
|
|
26 <table>
|
|
27 <tr>
|
|
28 <th> Layer Name </th>
|
|
29 <td><input type="text" class="layer_name" tal:attributes="value string:${table}_layer1"/></td>
|
|
30 </tr>
|
|
31 <tr>
|
|
32 <th> Source Table </th>
|
|
33 <td> <span tal:content="table"/> <input type="button" value="Open table" class="layer_open_table_button"/></td>
|
|
34 </tr>
|
|
35 </table>
|
|
36 <h3> Mapping </h3>
|
101
|
37
|
63
|
38 <table>
|
|
39 <tr> <th> Position </th> <td> <select class="layer_position_select"><option>None</option></select> </td> </tr>
|
215
|
40 <tr> <th> Color </th> <td> <select class="layer_color_select"><option>red</option><option>red_big</option><option>green</option><option>green_big</option><option>black</option><option>black_big</option><option>violett</option><option>violett_big</option><option>blue</option><option>blue_big</option></select></td> </tr>
|
155
|
41 <tr> <th> Geometry </th> <td> <select class="layer_geom_select"><option>point</option><option>poly</option><option>line</option></select></td> </tr>
|
63
|
42 <tr> <th> Label </th> <td> <select class="layer_label_select"><option>None</option></select> </td> </tr>
|
|
43 <tr> <th> Size </th> <td> <select class="layer_size_select"><option>None</option></select></td> </tr>
|
|
44 <tr> <th> Shape </th> <td> <select class="layer_shape_select"><option>None</option></select> </td> </tr>
|
|
45 <tr> <td colspan="2"> <input class="layer_line_checkbox" type="checkbox"/> connect markers with a line </td></tr>
|
|
46 </table>
|
|
47 <br/>
|
|
48 <input type="button" value="Update layer" class="layer_update_button"/>
|
|
49 <br/>
|
|
50 <input type="button" value="Save layer" class="layer_save_button"/>
|
|
51 <br/>
|
|
52 <input type="button" value="Create map with this layer" class="map_create_button"/>
|
|
53 </div>
|
|
54 </div>
|
|
55 </tal:block>
|
|
56
|
|
57
|
|
58
|
|
59 </tal:block>
|
|
60 </tal:block> |