63
|
1 <tal:block tal:define="layer python:request.get('layer',None);">
|
|
2 <tal:block metal:use-macro="here/template/macros/module">
|
|
3
|
|
4
|
|
5 <tal:block metal:fill-slot="icon"> M </tal:block>
|
|
6 <tal:block metal:fill-slot="title"> Map </tal:block>
|
|
7
|
|
8
|
|
9 <tal:block metal:fill-slot="menu">
|
|
10 <ul id="account_menu">
|
|
11 <li>Save</li>
|
|
12 <li>Open</li>
|
|
13 </ul>
|
|
14 </tal:block>
|
|
15
|
|
16 <tal:block metal:fill-slot="content">
|
|
17 <!-- Subscreens: mapping setup, map -->
|
|
18 <div class="subscreen main">
|
226
|
19
|
|
20 <!--
|
|
21 <span jstcache="0" style="display: none;" id="view_rss">
|
|
22 <a jstcache="0" href="javascript:void(0)" id="view_rss_link"> <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon view-as-rss"> <span jstcache="0" class="link-text">RSS</span> </a>
|
|
23 <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon-divider bar-divider"> </span>
|
|
24 <span jstcache="0" style="display: none;" id="view_kml">
|
|
25 <a jstcache="0" href="javascript:void(0)" id="view_kml_link"> <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon view-as-kml"> <span jstcache="0" class="link-text">In Google Earth anzeigen</span> </a>
|
|
26 <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon-divider bar-divider"> </span>
|
|
27 <a jstcache="0" style="display: none;" href="http://www.google.com/mapmaker?ll=51.151786,10.415039&spn=19.842079,51.899414&t=h&z=5&source=gm_el" id="mapmaker-link" jsaction="rmi.open-mapmaker"> <img jstcache="0" class="bar-icon" src="http://maps.gstatic.com/mapfiles/gw_link.png"> <span jstcache="0" class="link-text">Bearbeiten</span> </a>
|
|
28 <img jstcache="0" style="display: none;" id="mapmaker-link-sep" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon-divider bar-divider">
|
|
29 <a jstcache="0" href="javascript:void(0);" jsaction="print.show" id="print"> <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon bar-icon-print2"> <span jstcache="0" class="link-text">Drucken</span> </a>
|
|
30 <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon-divider bar-divider">
|
|
31 <a jstcache="0" id="showsendtox" href="javascript:void(0);" jsaction="stx.show"> <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon bar-icon-email2"> <span jstcache="0" class="link-text">Senden</span> </a>
|
|
32 <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon-divider bar-divider">
|
|
33 <a jstcache="0" href="http://maps.google.de/?ie=UTF8&ll=51.151786,10.415039&spn=19.842079,51.899414&t=h&z=5" jsaction="link.show" id="link"> <img jstcache="0" src="http://maps.gstatic.com/mapfiles/transparent.png" class="bar-icon bar-icon-link2"> <span jstcache="0" class="link-text">Link</span> </a>
|
|
34 -->
|
|
35
|
63
|
36 <div class="map_box">[loading...]</div>
|
|
37
|
|
38 <div class="mapping_info">
|
|
39 <h3>Map</h3>
|
|
40 <table>
|
|
41 <tr>
|
|
42 <th>Map name</th>
|
|
43 <td><input type="text" class="map_name" tal:attributes="value string:${layer}_map1" /></td>
|
|
44 </tr>
|
|
45 </table>
|
|
46
|
|
47 <h3>Layers</h3>
|
|
48 <table width="100%" class="map_layer_table">
|
|
49 <tr class="map_layer_header">
|
|
50 <th>show</th>
|
|
51 <th>layer name</th>
|
|
52 </tr>
|
|
53 </table>
|
64
|
54 <p><input type="button" class="layer_add_button" value="Add layer" /></p>
|
226
|
55
|
64
|
56 <p><input type="button" class="map_update_button" value="Update map" /><br />
|
237
|
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>
|
|
59 -->
|
226
|
60 <p><input type="button" class="map_save_button" value="Save map" /></p>
|
64
|
61 </div>
|
|
62
|
|
63 </div>
|
|
64
|
63
|
65 <!-- template for info table -->
|
64
|
66 <table style="display:none">
|
63
|
67 <tbody class="layer_info_tmpl">
|
|
68 <tr class="layer_info">
|
|
69 <td><input type="checkbox" class="layer_display_${idx}" checked="${display}" /></td>
|
|
70 <td>${layer.name}</td>
|
|
71 <td><input type="button" class="layer_edit_${idx}" value="edit" /></td>
|
|
72 <td><input type="button" class="layer_delete_${idx}" value="del" /></td>
|
|
73 </tr>
|
|
74 </tbody>
|
|
75 </table>
|
64
|
76 <!-- Dialog for create table -->
|
|
77 <div class="dialog add_layer_select" title="Select Layer" style="display:none">
|
68
|
78 <form action="javascript:false;">
|
|
79 <p>Select layer to add to map:<br/>
|
65
|
80 <select size="5" name="add_layer_select" class="add_layer_select">
|
|
81 <option>[loading...]</option>
|
64
|
82 </select>
|
68
|
83 </p>
|
|
84 </form>
|
64
|
85 </div>
|
63
|
86
|
|
87 </tal:block>
|
|
88 </tal:block>
|
|
89 </tal:block> |