[Mapbender-commits] r6173 - trunk/mapbender/resources/db

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue May 11 08:46:08 EDT 2010


Author: christoph
Date: 2010-05-11 08:46:08 -0400 (Tue, 11 May 2010)
New Revision: 6173

Modified:
   trunk/mapbender/resources/db/metadataGui.sql
Log:


Modified: trunk/mapbender/resources/db/metadataGui.sql
===================================================================
--- trunk/mapbender/resources/db/metadataGui.sql	2010-05-11 12:45:59 UTC (rev 6172)
+++ trunk/mapbender/resources/db/metadataGui.sql	2010-05-11 12:46:08 UTC (rev 6173)
@@ -32,7 +32,7 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_layer_tree',2,1,'Select a layer from a layer tree','Select a layer from a layer tree','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_metadata_layerTree.js','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_select',2,1,'Select a WMS','Select WMS','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<table class=''display''></table>','div','../plugins/mb_metadata_select.js','','','jq_datatables','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_showOriginal',2,1,'Show original metadata','Show original metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'display:none;','','div','../plugins/mb_metadata_showOriginal.js','','','jq_ui_dialog','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_submit',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<span style=''float:right''><input type=''button'' value=''Preview metadata''><input type=''submit'' value=''Save metadata''></span>','div','../plugins/mb_metadata_submit.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_submit',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<span style=''float:right''><input disabled="disabled" type=''button'' value=''Preview metadata''><input type=''submit'' value=''Save metadata''></span>','div','../plugins/mb_metadata_submit.js','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_pane',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'height:100%;width:100%','','div','../plugins/mb_pane.js','','','jq_layout','http://layout.jquery-dev.net');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_tabs_horizontal',3,1,'Puts existing elements into horizontal tabs, using jQuery UI tabs. List the elements comma-separated under target, and make sure they have a title.','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<ul></ul><div class=''ui-layout-content''></div>','div','../plugins/mb_tabs_horizontal.js','','mb_md_select,mb_md_edit,mb_md_layer','jq_ui_tabs','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','pan1',2,1,'pan','Pan','img','../img/button_gray/pan_off.png','',270,10,24,24,1,'','','','mod_pan.js','','mapframe1','','http://www.mapbender.org/index.php/Pan');
@@ -45,78 +45,78 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','zoomOut1',2,1,'zoomOut button','Zoom out','img','../img/button_gray/zoomOut2_off.png','',245,10,24,24,1,'','','','mod_zoomOut1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomOut');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'css_class_bg', 'body{ background-color: #ffffff; margin: 5 5 5 5 }
 * {
-	font-family: Verdana;
-	font-size: 96%;
+        font-family: Verdana;
+        font-size: 96%;
 }
 
 label {
-	width: 250px;
-	height: 40px;
-	float: left;
+        width: 250px;
+        height: 40px;
+        float: left;
 }
 
 p {
-	clear: both;
+        clear: both;
 }
 
 input {
-	font-weight: bold;
-	vertical-align: top;
-	width: 250px;
-	height: 25px;
+        font-weight: bold;
+        vertical-align: top;
+        width: 250px;
+        height: 25px;
 }
 
 .metadata_span {
-	padding-right: 30px;
-	vertical-align: top;
+        padding-right: 30px;
+        vertical-align: top;
 }
 
 .metadata_img {
-	width: 25px;
-	height: 25px;
-	vertical-align: top;
+        width: 25px;
+        height: 25px;
+        vertical-align: top;
 }
 
 .metadata_selectbox {
-	height: 130px;
-	width: 250px;
-	vertical-align: top;
+        height: 130px;
+        width: 250px;
+        vertical-align: top;
 }
 
 div#choose {
-	float: left;
-	width: 25em;
+        float: left;
+        width: 20%;
+        height:100%;
 }
 
 div#layer {
-	margin-left: 25em;
+        margin-left: 20%;
+        width: 80%;
 }
 
-div#map {
-	float: left;
-	width: 45em;
+div#preview {
+        width: 30%;
+        padding-top: 5px;
+        float: left;
 }
 
 div#classification {
-	margin-left: 45em;
+        margin-left: 50%;
+        padding-top: 5px;
+        width: 50%;
 }
 
 div#save {
-	margin-left: 45em;
+        margin-left: 45em;
 }
 
 div#buttons {
-	float: left;
-	width: 250px;
+        float: left;
 }
 
-fieldset {
- display:inline
-}
-
 div#selectbox {
-	margin-left: 312px;
-	padding-top: 20px;
+        margin-left: 312px;
+        padding-top: 20px;
 }', 'to define the color of the body', 'text/css');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'favicon', '../img/favicon.png', 'favicon', 'php_var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'includeWhileLoading', '', 'show splash screen while the application is loading', 'php_var');
@@ -173,7 +173,7 @@
             } 
         ] 
     }
-] ', '', 'var');
+]', '', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer', 'inputs', '[
     {
         "method": "init",
@@ -265,6 +265,9 @@
         ] 
     }
 ] ', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_showOriginal', 'differentFromOriginalCss', '.differentFromOriginal{
+background-color:#FFFACD;
+}', 'css for class differentFromOriginal', 'text/css');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_showOriginal', 'inputs', '[
     {
         "method": "init",
@@ -278,9 +281,6 @@
         ] 
     }
 ]', '', 'var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('admin_wms_metadata', 'mb_md_showOriginal', 'differentFromOriginalCss', '.differentFromOriginal{
-background-color:#FFFACD;
-}', 'css for class differentFromOriginal' ,'text/css');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_pane', 'center', 'mb_tabs_horizontal', '', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_pane', 'south', 'mb_md_submit', '', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_tabs_horizontal', 'inputs', '[



More information about the Mapbender_commits mailing list