changeset 64:3f6e32265c53

working on map block
author casties
date Tue, 09 Nov 2010 16:29:56 +0100
parents 7f008e782563
children 2f477270cc0c
files gis_gui/blocks/layer.html.pt gis_gui/blocks/map.html.pt
diffstat 2 files changed, 18 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/gis_gui/blocks/layer.html.pt	Fri Nov 05 18:52:55 2010 +0100
+++ b/gis_gui/blocks/layer.html.pt	Tue Nov 09 16:29:56 2010 +0100
@@ -7,9 +7,6 @@
   
   
   <tal:block metal:fill-slot="menu">
-  
-
-
   <ul id="account_menu">
     <li> Save </li>
     
--- a/gis_gui/blocks/map.html.pt	Fri Nov 05 18:52:55 2010 +0100
+++ b/gis_gui/blocks/map.html.pt	Tue Nov 09 16:29:56 2010 +0100
@@ -34,8 +34,15 @@
           <th>layer name</th>
         </tr>
       </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>
+
       <!-- template for info table -->
-      <table style="display: none">
+      <table style="display:none">
         <tbody class="layer_info_tmpl">
           <tr class="layer_info">
             <td><input type="checkbox" class="layer_display_${idx}" checked="${display}" /></td>
@@ -45,12 +52,16 @@
           </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>
+    <!--  Dialog for create table -->
+    <div class="dialog add_layer_select" title="Select Layer" style="display:none">
+      <p>Select layer to add to map:<br>
+      <form action="javascript:null">
+        <select>
+          <option>some layer</option>
+        </select>
+        <input type="button" value"Select"/>
+      </p>
+    </div>
 
     </tal:block>
   </tal:block>