[Mapbender-commits] r8216 - in trunk/mapbender/http: css plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Nov 25 09:27:54 EST 2011


Author: armin11
Date: 2011-11-25 06:27:54 -0800 (Fri, 25 Nov 2011)
New Revision: 8216

Modified:
   trunk/mapbender/http/css/wfsconftree.css
   trunk/mapbender/http/plugins/wfsConfTree.js
Log:
Enhance wfs_conf_tree

Modified: trunk/mapbender/http/css/wfsconftree.css
===================================================================
--- trunk/mapbender/http/css/wfsconftree.css	2011-11-25 12:41:13 UTC (rev 8215)
+++ trunk/mapbender/http/css/wfsconftree.css	2011-11-25 14:27:54 UTC (rev 8216)
@@ -98,16 +98,12 @@
 	background-repeat: no-repeat;
 	background-position: 0 0;
 	color: transparent;
-	width: 2em;
 }
 
-ul.conftree li a.meta{
-	background-image: url("../img/tree_new/info.png");
+ul.conftree li img.meta{
 	background-repeat: no-repeat;
 	background-position: 0 0;
 	color: transparent;
-	width: 2em;
-	display: inline-block;
 }
 
 

Modified: trunk/mapbender/http/plugins/wfsConfTree.js
===================================================================
--- trunk/mapbender/http/plugins/wfsConfTree.js	2011-11-25 12:41:13 UTC (rev 8215)
+++ trunk/mapbender/http/plugins/wfsConfTree.js	2011-11-25 14:27:54 UTC (rev 8216)
@@ -102,24 +102,24 @@
 			switch(parseInt(aWFSConf[i].type,10)){
 					/* search */
 					case 0: 
-						$wfsconfEntry = $('<li class="search" ><img src="../img/gnome/icn_suchmodul.png" /><a href="#" class="meta">metadata</a><a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a><button class="remove">remove</button></li>');
+						$wfsconfEntry = $('<li class="search" ><img src="../img/button_blue_red/gazetteer2_off.png" /><button class="remove">remo</button><img class="meta" src="../img/button_blue_red/getArea_over.png" />  <a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a></li>');
 					break;
 					
 					/* digitize */
 					case 1:
-						$wfsconfEntry = $('<li class="digitize" ><img src="../img/gnome/document-save.png" /><a href="#" class="meta">medadata</a><a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a><button class="remove">remove</button></li>');
+						$wfsconfEntry = $('<li class="digitize" ><img src="../img/pencil.png" /><button class="remove">remo</button><img class="meta" src="../img/button_blue_red/getArea_over.png" />  <a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a></li>');
 					break;
 
 					/* download */
 					case 2: 
-						$wfsconfEntry = $('<li class="download" ><img src="../img/gnome/accessories-text-editor.png" /><a href="#" class="meta">metadata</a><a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a><button class="remove">remove</button></li>');
+						$wfsconfEntry = $('<li class="download" ><img src="../img/gnome/document_save.png" /><button class="remove">remo</button><img class="meta" src="../img/button_blue_red/getArea_over.png" />  <a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a></li>');
 					break;
 
 			}
 			$wfsconfEntry.data("wfsconfId",aWFSConf[i].id);
 			$featuretypeList.append($wfsconfEntry);
 
-			$wfsconfEntry.find("a.meta").click((function(wfsConf){ 
+			$wfsconfEntry.find("img.meta").click((function(wfsConf){ 
 				return function(){
 
 				var querystring = 'resource=wfs-conf&id='+wfsConf.id;



More information about the Mapbender_commits mailing list