Author: tveronezi
Date: Wed Jun 13 11:55:34 2012
New Revision: 1349770

URL: http://svn.apache.org/viewvc?rev=1349770&view=rev
Log:
https://issues.apache.org/jira/browse/TOMEE-224
* cosmetic

Modified:
    
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewApps.js
    
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewHome.js
    
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewLog.js

Modified: 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewApps.js
URL: 
http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewApps.js?rev=1349770&r1=1349769&r2=1349770&view=diff
==============================================================================
--- 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewApps.js
 (original)
+++ 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewApps.js
 Wed Jun 13 11:55:34 2012
@@ -25,21 +25,21 @@ TOMEE.ApplicationViewApps = function (cf
         elName:'main',
         tag:'div',
         attributes:{
-            style:'padding: 5px;'
+            style:'padding-top: 5px; padding-bottom: 5px; padding-left: 5px;'
         },
         children:[
             {
                 elName:'left',
                 tag:'div',
                 attributes:{
-                    style:'float:left; width:33%; min-width:170px;'
+                    style:'float:left; width:33%; min-width:170px; 
margin-right: 5px;'
                 }
             },
             {
                 elName:'center',
                 tag:'div',
                 attributes:{
-                    style:'float:left; width:66%; min-width:170px; 
margin-left: 5px; margin-right: 5px;'
+                    style:'float:left; width:66%; min-width:170px;'
                 }
             }
         ]

Modified: 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewHome.js
URL: 
http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewHome.js?rev=1349770&r1=1349769&r2=1349770&view=diff
==============================================================================
--- 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewHome.js
 (original)
+++ 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewHome.js
 Wed Jun 13 11:55:34 2012
@@ -25,28 +25,28 @@ TOMEE.ApplicationViewHome = function (cf
         elName:'main',
         tag:'div',
         attributes:{
-            style:'position:relative; padding: 5px;'
+            style:'position:relative; padding-top: 5px; padding-bottom: 5px; 
padding-left: 5px;'
         },
         children:[
             {
                 elName:'left',
                 tag:'div',
                 attributes:{
-                    style:'float:left; width:33%; min-width:170px;'
+                    style:'float:left; width:33%; min-width:170px; 
margin-right: 5px;'
                 }
             },
             {
                 elName:'center',
                 tag:'div',
                 attributes:{
-                    style:'float:left; width:33%; min-width:170px; 
margin-left: 5px; margin-right: 5px;'
+                    style:'float:left; width:33%; min-width:170px;'
                 }
             },
             {
                 elName:'right',
                 tag:'div',
                 attributes:{
-                    style:'float:left; width:33%; min-width:170px;'
+                    style:'float:left; width:33%; min-width:170px; 
margin-left: 5px;'
                 }
             }
         ]
@@ -126,6 +126,14 @@ TOMEE.ApplicationViewHome = function (cf
         setSupportedScriptLanguages:consolePanel.loadScriptsField,
         setTomeeVersion:function (myTomee) {
 
+            mdbsPanel.getEl().detach();
+            wsPanel.getEl().detach();
+            elMapContent['center'].css('width', '66%');
+
+            //TODO mdbsPanel and wsPanel are not implemented yet. Add them 
when done.
+
+            /*
+
             if (!myTomee.hasMdbs && !myTomee.hasWebservices) {
                 elMapContent['right'].detach();
                 elMapContent['center'].css('width', '66%');
@@ -140,6 +148,8 @@ TOMEE.ApplicationViewHome = function (cf
                     wsPanel.getEl().detach();
                 }
             }
+
+            */
         },
         jndiContextMenu:function (opts) {
             jndiPanel.jndiContextMenu(opts);

Modified: 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewLog.js
URL: 
http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewLog.js?rev=1349770&r1=1349769&r2=1349770&view=diff
==============================================================================
--- 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewLog.js
 (original)
+++ 
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/application/js/view/ApplicationViewLog.js
 Wed Jun 13 11:55:34 2012
@@ -98,7 +98,7 @@ TOMEE.ApplicationViewLog = function (cfg
         loadLogTable(data.log);
     };
 
-    var wrapper = $('<div style="margin: 5px"></div>')
+    var wrapper = $('<div style="padding: 5px;"></div>')
     wrapper.append(panel.getEl());
 
     return {


Reply via email to