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
|
|
11
|
|
12
|
|
13 <ul id="account_menu">
|
|
14 <li> Save </li>
|
|
15
|
|
16 <li> Open </li>
|
|
17
|
|
18 <li>
|
|
19 </ul>
|
|
20 </tal:block>
|
|
21
|
|
22 <tal:block metal:fill-slot="content">
|
|
23 <!-- Subscreens: mapping setup, map -->
|
|
24 <div class="subscreen main">
|
|
25 <div class="map_box">
|
|
26 [map loading...]
|
|
27 </div>
|
|
28
|
|
29 <div class="mapping_info">
|
|
30 <h3>Map layer</h3>
|
|
31 <table>
|
|
32 <tr>
|
|
33 <th> Layer Name </th>
|
|
34 <td><input type="text" class="layer_name" tal:attributes="value string:${table}_layer1"/></td>
|
|
35 </tr>
|
|
36 <tr>
|
|
37 <th> Source Table </th>
|
|
38 <td> <span tal:content="table"/> <input type="button" value="Open table" class="layer_open_table_button"/></td>
|
|
39 </tr>
|
|
40 </table>
|
|
41 <h3> Mapping </h3>
|
|
42 <table>
|
|
43 <tr> <th> Position </th> <td> <select class="layer_position_select"><option>None</option></select> </td> </tr>
|
|
44 <tr> <th> Label </th> <td> <select class="layer_label_select"><option>None</option></select> </td> </tr>
|
|
45 <tr> <th> Size </th> <td> <select class="layer_size_select"><option>None</option></select></td> </tr>
|
|
46 <tr> <th> Color </th> <td> <select class="layer_color_select"><option>None</option></select></td> </tr>
|
|
47 <tr> <th> Shape </th> <td> <select class="layer_shape_select"><option>None</option></select> </td> </tr>
|
|
48 <tr> <td colspan="2"> <input class="layer_line_checkbox" type="checkbox"/> connect markers with a line </td></tr>
|
|
49 </table>
|
|
50 <br/>
|
|
51 <input type="button" value="Update layer" class="layer_update_button"/>
|
|
52 <br/>
|
|
53 <input type="button" value="Save layer" class="layer_save_button"/>
|
|
54 <br/>
|
|
55 <input type="button" value="Create map with this layer" class="map_create_button"/>
|
|
56 </div>
|
|
57 </div>
|
|
58 </tal:block>
|
|
59
|
|
60
|
|
61
|
|
62 </tal:block>
|
|
63 </tal:block> |