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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 30 01:17:28 PDT 2014


Author: hwbllmnn
Date: 2014-06-30 01:17:28 -0700 (Mon, 30 Jun 2014)
New Revision: 8945

Modified:
   trunk/mapbender/http/css/kmltree.css
   trunk/mapbender/http/plugins/kmlTree.js
Log:
added icons to tabs


Modified: trunk/mapbender/http/css/kmltree.css
===================================================================
--- trunk/mapbender/http/css/kmltree.css	2014-06-30 07:57:20 UTC (rev 8944)
+++ trunk/mapbender/http/css/kmltree.css	2014-06-30 08:17:28 UTC (rev 8945)
@@ -148,3 +148,21 @@
 ul.kmlTree li.kmltree-selected {
     background-color: yellow;
 }
+
+a.icon {
+    background-repeat: no-repeat;
+    background-position: center left;
+    padding-left: 24px !important;
+}
+
+a.icon-wmc {
+    background-image: url('../img/tree_new/expanded_folder.png');
+}
+
+a.icon-local {
+    background-image: url('../img/osgeo_graphics/geosilk/database.png');
+}
+
+a.icon-remote {
+    background-image: url('../img/up-ilink.png');
+}

Modified: trunk/mapbender/http/plugins/kmlTree.js
===================================================================
--- trunk/mapbender/http/plugins/kmlTree.js	2014-06-30 07:57:20 UTC (rev 8944)
+++ trunk/mapbender/http/plugins/kmlTree.js	2014-06-30 08:17:28 UTC (rev 8945)
@@ -80,9 +80,9 @@
             height: 210
         });
         var dlgcontent = '<div id="kml-load-tabs">'
-                         + '<ul><li><a href="#kml-from-wmc">Stored data</a></li>'
-                         + '<li><a href="#kml-from-upload">Upload</a></li>'
-                         + '<li><a href="#kml-from-url">External source</a></li></ul>'
+                         + '<ul><li><a class="icon icon-wmc" href="#kml-from-wmc">Stored data</a></li>'
+                         + '<li><a class="icon icon-local" href="#kml-from-upload">Upload</a></li>'
+                         + '<li><a class="icon icon-remote" href="#kml-from-url">External source</a></li></ul>'
                          + '<div id="kml-from-wmc">wmc</div>'
                          + '<div id="kml-from-upload">'
                          + '<iframe name="kml-upload-target" style="width: 0; height: 0; border: 0px;"></iframe>'



More information about the Mapbender_commits mailing list