[mapguide-commits] r5965 - trunk/MgDev/Oem/fusionMG/templates/mapguide/preview

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jul 4 03:16:15 EDT 2011


Author: liuar
Date: 2011-07-04 00:16:15 -0700 (Mon, 04 Jul 2011)
New Revision: 5965

Modified:
   trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html
   trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.css
   trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.uncompressed.css
Log:
Fix a preview issue in MapGuide template.
Jx.Button.Tab is deprecated in JxLib 3.0, so I replace it with corresponding Jx.Tab in index.html.


Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html	2011-07-01 07:57:22 UTC (rev 5964)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/index.html	2011-07-04 07:16:15 UTC (rev 5965)
@@ -72,15 +72,15 @@
      new Jx.TabBox({
          parent: splitter.elements[0]
      }).add(
-         new Jx.Button.Tab({
+         new Jx.Tab({
              label: OpenLayers.i18n('legendTitle'),
              contentId: 'Legend'
          }),
-         new Jx.Button.Tab({
+         new Jx.Tab({
              label: OpenLayers.i18n('selectionPanelTitle'),
              contentId: 'SelectionPanel'
          }),
-         new Jx.Button.Tab({
+         new Jx.Tab({
              label: OpenLayers.i18n('ovmapTitleShort'),
              contentId: 'OverviewMap'
          })

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.css
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.css	2011-07-01 07:57:22 UTC (rev 5964)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.css	2011-07-04 07:16:15 UTC (rev 5965)
@@ -1 +1 @@
-body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}ul.jxToolbar .jxButton:focus,.jxButton:focus{background-position:left -96px;}ul.jxToolbar .jxButton:focus span.jxButtonContent,.jxButton:focus span.jxButtonContent{background-position:right -96px;}ul.jxToolbar .jxButtonActive:focus,.jxButtonActive:focus{background-position:left -72px;}ul.jxToolbar .jxButtonActive:focus span.jxButtonContent,.jxButtonActive:focus span.jxButtonContent{background-position:right -72px;}span.jxButtonContent span{font-family:Arial,Helvetica,sans-serif;}a.jxButtonEditCombo input{font-family:Arial,Helvetica,sans-serif;background-color:transparent;}.jxChromeTL img{width:500px;hei
 ght:500px;}.jxChromeTR img{width:500px;height:500px;}.jxChromeBL img{width:500px;height:500px;}.jxChromeBR img{width:500px;height:500px;}.jxDialog .jxChrome{background-image:url(images/dialog_chrome.png);}.jxDialogContentContainer{border:none;}.jxDialogModal{position:absolute;display:block;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.2;-ms-filter:"Alpha(opacity=20)";}.jxDialogTitle{background-image:url(images/a_pixel.png);height:16px;margin:10px 10px 0 10px;}.jxDialogIcon{left:10px;top:0;}.jxDialogLabel{font-family:Arial,Helvetica,sans-serif;line-height:15px;display:block;top:0;}.jxDialogControls{top:0;}.jxDialogControls img{background-image:url('images/dialog_controls.png');}.jxPanelContentContainer{background-image:url(images/panelBackround.png);background-repeat:repeat-x;background-position:left bottom;background-color:#f0f0f0;}.jxPanelContent{background-color:transparent;}.jxPanelTitle{background-image:url(images/panelbar.png);background-repeat:repe
 at-x;background-position:left top;text-align:left;}.jxPanelBar{background-color:transparent;}.jxPanelLabel{padding-left:20px;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;font-weight:bold;line-height:21px;color:#fff;white-space:nowrap;}.jxPanelControls{top:2px;left:2px;height:16px;width:16px;}.jxPanelControls img{background-image:url('images/panel_controls.png');background-repeat:no-repeat;}.jxSplitBarHorizontal{width:2px;background-color:transparent;}.jxSplitBarVertical{width:2px;background-color:transparent;}.jxSplitterMask{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;background-image:url(images/a_pixel.png);z-index:1;}.jxSplitArea{display:block;position:absolute;margin:0;padding:0;border:none;overflow:hidden;z-index:0;}.jxBarTop,.jxBarBottom{background-image:url(images/toolbar.png);background-repeat:repeat-x;background-position:0 0;}.jxBarTop .jxBarScroller,.jxBarBottom .jxBarScroller{position:absolute;width:10000%;overflow:hidden;
 }.jxBarTop li.jxToolItem span.jxBarSeparator,.jxBarBottom li.jxToolItem span.jxBarSeparator{width:8px;height:20px;background-image:url(images/toolbar_separator_h.png);}.jxBarLeft li.jxToolItem span.jxBarSeparator,.jxBarRight li.jxToolItem span.jxBarSeparator{width:20px;height:8px;background-image:url(images/toolbar_separator_v.png);}.jxBarTop .jxBarScrollLeft img.jxButtonIcon,.jxBarBottom .jxBarScrollLeft img.jxButtonIcon{background-image:url(images/emblems.png);background-position:0 -80px;}.jxBarTop .jxBarScrollRight img.jxButtonIcon,.jxBarBottom .jxBarScrollRight img.jxButtonIcon{background-image:url(images/emblems.png);background-position:0 -96px;}.jxBarTop .jxBarControls .jxButtonContainer,.jxBarBottom .jxBarControls .jxButtonContainer,.jxBarTop .jxBarScroller .jxBarWrapper .jxToolbar .jxToolItem .jxButtonContainer,.jxBarBottom .jxBarScroller .jxBarWrapper .jxToolbar .jxToolItem .jxButtonContainer{z-index:1;padding:2px;margin-left:-1px;}.jxBarTop .jxBarControls .jxDisabl
 ed span.jxButtonContent span,.jxBarBottom .jxBarControls .jxDisabled span.jxButtonContent span,.jxBarTop .jxBarControls .jxDisabled span.jxButtonContent span,.jxBarBottom .jxBarControls .jxDisabled span.jxButtonContent span,.jxBarTop .jxBarControls .jxDisabled .jxButton,.jxBarBottom .jxBarControls .jxDisabled .jxButton,.jxBarTop .jxBarControls .jxDisabled .jxButton,.jxBarBottom .jxBarControls .jxDisabled .jxButton{visibility:hidden;cursor:default;}a.jxTreeItem{font-family:Arial,Helvetica,sans-serif;}
\ No newline at end of file
+body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}ul.jxToolbar .jxButton:focus,.jxButton:focus{background-position:left -96px;}ul.jxToolbar .jxButton:focus span.jxButtonContent,.jxButton:focus span.jxButtonContent{background-position:right -96px;}ul.jxToolbar .jxButtonActive:focus,.jxButtonActive:focus{background-position:left -72px;}ul.jxToolbar .jxButtonActive:focus span.jxButtonContent,.jxButtonActive:focus span.jxButtonContent{background-position:right -72px;}span.jxButtonContent span{font-family:Arial,Helvetica,sans-serif;}a.jxButtonEditCombo input{font-family:Arial,Helvetica,sans-serif;background-color:transparent;}.jxChromeTL img{width:500px;hei
 ght:500px;}.jxChromeTR img{width:500px;height:500px;}.jxChromeBL img{width:500px;height:500px;}.jxChromeBR img{width:500px;height:500px;}.jxDialog .jxChrome{background-image:url(images/dialog_chrome.png);}.jxDialogContentContainer{border:none;}.jxDialogModal{position:absolute;display:block;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.2;-ms-filter:"Alpha(opacity=20)";}.jxDialogTitle{background-image:url(images/a_pixel.png);height:16px;margin:10px 10px 0 10px;}.jxDialogIcon{left:10px;top:0;}.jxDialogLabel{font-family:Arial,Helvetica,sans-serif;line-height:15px;display:block;top:0;}.jxDialogControls{top:0;}.jxDialogControls img{background-image:url('images/dialog_controls.png');}.jxPanelContentContainer{background-image:url(images/panelBackround.png);background-repeat:repeat-x;background-position:left bottom;background-color:#f0f0f0;}.jxPanelContent{background-color:transparent;}.jxPanelTitle{background-image:url(images/panelbar.png);background-repeat:repe
 at-x;background-position:left top;text-align:left;}.jxPanelBar{background-color:transparent;}.jxPanelLabel{padding-left:20px;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;font-weight:bold;line-height:21px;color:#fff;white-space:nowrap;}.jxPanelControls{top:2px;left:2px;height:16px;width:16px;}.jxPanelControls img{background-image:url('images/panel_controls.png');background-repeat:no-repeat;}.jxSplitBarHorizontal{width:2px;background-color:transparent;}.jxSplitBarVertical{width:2px;background-color:transparent;}.jxSplitterMask{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;background-image:url(images/a_pixel.png);z-index:1;}.jxSplitArea{display:block;position:absolute;margin:0;padding:0;border:none;overflow:hidden;z-index:0;}.jxBarTop,.jxBarBottom{background-image:url(images/toolbar.png);background-repeat:repeat-x;background-position:0 0;}.jxBarTop .jxBarScroller,.jxBarBottom .jxBarScroller{position:absolute;width:10000%;overflow:hidden;
 }.jxBarTop li.jxToolItem span.jxBarSeparator,.jxBarBottom li.jxToolItem span.jxBarSeparator{width:8px;height:20px;background-image:url(images/toolbar_separator_h.png);}.jxBarLeft li.jxToolItem span.jxBarSeparator,.jxBarRight li.jxToolItem span.jxBarSeparator{width:20px;height:8px;background-image:url(images/toolbar_separator_v.png);}.jxBarTop .jxBarScrollLeft img.jxButtonIcon,.jxBarBottom .jxBarScrollLeft img.jxButtonIcon{background-image:url(images/emblems.png);background-position:0 -80px;}.jxBarTop .jxBarScrollRight img.jxButtonIcon,.jxBarBottom .jxBarScrollRight img.jxButtonIcon{background-image:url(images/emblems.png);background-position:0 -96px;}.jxBarTop .jxBarControls .jxButtonContainer,.jxBarBottom .jxBarControls .jxButtonContainer,.jxBarTop .jxBarScroller .jxBarWrapper .jxToolbar .jxToolItem .jxButtonContainer,.jxBarBottom .jxBarScroller .jxBarWrapper .jxToolbar .jxToolItem .jxButtonContainer{z-index:1;padding:2px;margin-left:-1px;}.jxBarTop .jxBarControls .jxDisabl
 ed span.jxButtonContent span,.jxBarBottom .jxBarControls .jxDisabled span.jxButtonContent span,.jxBarTop .jxBarControls .jxDisabled span.jxButtonContent span,.jxBarBottom .jxBarControls .jxDisabled span.jxButtonContent span,.jxBarTop .jxBarControls .jxDisabled .jxButton,.jxBarBottom .jxBarControls .jxDisabled .jxButton,.jxBarTop .jxBarControls .jxDisabled .jxButton,.jxBarBottom .jxBarControls .jxDisabled .jxButton{visibility:hidden;cursor:default;}.jxBarTop .jxBarControls,.jxBarBottom .jxBarControls{display:none;}a.jxTreeItem{font-family:Arial,Helvetica,sans-serif;}
\ No newline at end of file

Modified: trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.uncompressed.css
===================================================================
--- trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.uncompressed.css	2011-07-01 07:57:22 UTC (rev 5964)
+++ trunk/MgDev/Oem/fusionMG/templates/mapguide/preview/preview.uncompressed.css	2011-07-04 07:16:15 UTC (rev 5965)
@@ -285,6 +285,11 @@
   cursor: default; 
 }
 
+.jxBarTop .jxBarControls,
+.jxBarBottom .jxBarControls{
+  display: none;
+}
+
 /* ==================== */
 /* OVERRIDE TREE STYLES */
 /* ==================== */



More information about the mapguide-commits mailing list