[Mapbender-commits] r7430 - in trunk/mapbender/http: css plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jan 10 05:04:14 EST 2011
Author: kmq
Date: 2011-01-10 02:04:14 -0800 (Mon, 10 Jan 2011)
New Revision: 7430
Modified:
trunk/mapbender/http/css/wfsconftree.css
trunk/mapbender/http/plugins/wfsConfTree.js
Log:
better styling for wfsconftree
Modified: trunk/mapbender/http/css/wfsconftree.css
===================================================================
--- trunk/mapbender/http/css/wfsconftree.css 2011-01-07 14:58:50 UTC (rev 7429)
+++ trunk/mapbender/http/css/wfsconftree.css 2011-01-10 10:04:14 UTC (rev 7430)
@@ -113,9 +113,6 @@
ul.conftree li.open, ul.conftree li.closed {
-/* background-image: url("http://localhost:8888/vertical_dots.png");*/
- background-repeat: repeat-x ;
- background-position: 10px 10px;
padding-bottom: 0.5em;
}
@@ -135,6 +132,8 @@
ul.conftree ul ul {
padding: 0;
+ margin-left: 0.5em;
+ border-left: thin dotted grey;
}
ul.conftree ul ul li {
@@ -144,3 +143,9 @@
ul.conftree ul ul li:hover {
border: 1px dotted gray;
}
+
+ul.conftree ul ul li img {
+ vertical-align: bottom;
+ height: 20px;
+
+}
Modified: trunk/mapbender/http/plugins/wfsConfTree.js
===================================================================
--- trunk/mapbender/http/plugins/wfsConfTree.js 2011-01-07 14:58:50 UTC (rev 7429)
+++ trunk/mapbender/http/plugins/wfsConfTree.js 2011-01-10 10:04:14 UTC (rev 7430)
@@ -14,7 +14,7 @@
$confTree.children().remove();
$confTree.addClass('conftree');
- var $WFSConffolder = $('<li class="open wfsconf"><button class="toggle" name="toggle" value="toggle"></button><a href="#">WFSConf</a><ul></ul></li>');
+ var $WFSConffolder = $('<li class="open wfsconf"><ul></ul></li>');
$confTree.append($WFSConffolder);
var $wfsConfDialog = $("<div></div>").dialog({
@@ -44,17 +44,18 @@
switch(aWFSConf[i].wfs_conf_type){
/* search */
case "0":
- $wfsconfEntry = $('<li class="search" ><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
+ $wfsconfEntry = $('<li class="search" ><img src="../img/gnome/icn_suchmodul.png" /><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
+ //$wfsconfEntry = $('<li class="search" ><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
break;
/* digitize */
case "1":
- $wfsconfEntry = $('<li class="digitize" ><a href="#" class="meta">medadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
+ $wfsconfEntry = $('<li class="digitize" ><img src="../img/gnome/document-save.png" /><a href="#" class="meta">medadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
break;
/* download */
case "2":
- $wfsconfEntry = $('<li class="download" ><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
+ $wfsconfEntry = $('<li class="download" ><img src="../img/gnome/accessories-text-editor.png" /><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
break;
}
More information about the Mapbender_commits
mailing list