[Commits] r950 - in apps/opengeo/geoexplorer/trunk: lib/GeoExplorer/Embed lib/GeoExplorer/Full theme

commits at geoext.org commits at geoext.org
Tue Jun 2 21:07:07 CEST 2009


Author: dwins
Date: 2009-06-02 21:07:07 +0200 (Tue, 02 Jun 2009)
New Revision: 950

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Full/Full.js
   apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css
Log:
Styling tweaks as per Rollie's suggestion, fixes #229 and #230


Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js	2009-06-02 19:04:20 UTC (rev 949)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js	2009-06-02 19:07:07 UTC (rev 950)
@@ -164,7 +164,7 @@
             tooltip: "Bookmark",
             handler: this.bookmark,
             scope: this,
-            iconCls: "icon-save"
+            iconCls: "icon-bookmark"
         }));
         // tools.push("-");
         tools.push(aboutButton);

Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Full/Full.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Full/Full.js	2009-06-02 19:04:20 UTC (rev 949)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Full/Full.js	2009-06-02 19:07:07 UTC (rev 950)
@@ -34,14 +34,13 @@
             tooltip: "Bookmark",
             handler: this.bookmark,
             scope: this,
-            iconCls: "icon-save"
+            iconCls: "icon-bookmark"
         }));
         tools.unshift(new Ext.Button({
             tooltip: "Export as blog widget",
-            text: 'Export',
             handler: this.showEmbedWizard,
             scope: this,
-            iconCls: 'icon-save'
+            iconCls: 'icon-export'
         }));
         tools.unshift("-");
         tools.unshift(aboutButton);
@@ -109,7 +108,7 @@
             var query = Ext.urlEncode({q: Ext.util.JSON.encode(config)}); 
 
             // TODO: configurablize!!!1!!!!!111!!!!!!
-            var pathname = document.location.pathname.replace(/\/[^\/]*$/, '/embed.html'); 
+            var pathname = document.location.pathname.replace(/\/[^\/]*$/, '/embed-debug.html'); 
             var url = 
                 document.location.protocol + "//" +
                 document.location.hostname +

Modified: apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css
===================================================================
--- apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css	2009-06-02 19:04:20 UTC (rev 949)
+++ apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css	2009-06-02 19:07:07 UTC (rev 950)
@@ -43,10 +43,14 @@
     background-image: url(img/silk/information.png);
 }
 
-.x-btn .icon-save {
-    background-image: url(img/geosilk/map_save.png);
+.x-btn .icon-bookmark {
+    background-image: url(img/silk/link.png);
 }
 
+.x-btn .icon-export {
+    background-image: url(img/silk/map_go.png);
+}
+
 .x-btn .icon-measure-length, .icon-measure-length {
     background-image: url(img/geosilk/ruler.png);
 }



More information about the Commits mailing list