[Mapbender-commits] r5858 - in trunk/mapbender: http/css
http/plugins resources/db/pgsql/UTF-8/update
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Mar 29 10:11:48 EDT 2010
Author: verenadiewald
Date: 2010-03-29 10:11:47 -0400 (Mon, 29 Mar 2010)
New Revision: 5858
Added:
trunk/mapbender/http/css/resultList.css
Modified:
trunk/mapbender/http/plugins/mb_resultList_PrintPreview.js
trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js
trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql
Log:
add css file for resultList button elements
Added: trunk/mapbender/http/css/resultList.css
===================================================================
--- trunk/mapbender/http/css/resultList.css (rev 0)
+++ trunk/mapbender/http/css/resultList.css 2010-03-29 14:11:47 UTC (rev 5858)
@@ -0,0 +1,12 @@
+.selectAll{
+ display: block;
+ margin:5px;
+}
+.buttonBlock{
+ display: block;
+ margin:5px;
+}
+.buttonMargin{
+ margin:5px;
+}
+
Modified: trunk/mapbender/http/plugins/mb_resultList_PrintPreview.js
===================================================================
--- trunk/mapbender/http/plugins/mb_resultList_PrintPreview.js 2010-03-29 13:57:14 UTC (rev 5857)
+++ trunk/mapbender/http/plugins/mb_resultList_PrintPreview.js 2010-03-29 14:11:47 UTC (rev 5858)
@@ -61,4 +61,4 @@
popup.document.close();
};
-Mapbender.modules[options.target].addGlobalButton({"title":"Alle Detailinfos drucken", "callback": WFSPrintPreview});
+Mapbender.modules[options.target].addGlobalButton({"title":"Alle Detailinfos drucken", "classes":"buttonMargin", "callback": WFSPrintPreview});
Modified: trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js
===================================================================
--- trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js 2010-03-29 13:57:14 UTC (rev 5857)
+++ trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js 2010-03-29 14:11:47 UTC (rev 5858)
@@ -27,4 +27,4 @@
}
-Mapbender.modules[options.target].addGlobalButton({"title":"Suchergebnis speichern", "callback": WFSSaveAsFile});
\ No newline at end of file
+Mapbender.modules[options.target].addGlobalButton({"title":"Suchergebnis speichern", "classes":"buttonMargin", "callback": WFSSaveAsFile});
\ No newline at end of file
Modified: trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql
===================================================================
--- trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql 2010-03-29 13:57:14 UTC (rev 5857)
+++ trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql 2010-03-29 14:11:47 UTC (rev 5858)
@@ -2257,7 +2257,15 @@
----
-------
+-- add CSS for resultList
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type)
+SELECT gui_element.fkey_gui_id,
+'body', 'resultListCss', '../css/resultList.css', 'css for resultList elements' ,'file/css'
+from gui_element
+WHERE
+gui_element.e_id = 'resultList' AND
+gui_element.fkey_gui_id
+NOT IN (SELECT fkey_gui_id FROM gui_element_vars WHERE fkey_e_id = 'body' AND var_name = 'resultListCss');
-
-
\ No newline at end of file
+
More information about the Mapbender_commits
mailing list