svn commit r9330 - in trunk/esb/java/modules/distribution/src/main/www/extensions/core: css js xslt xslt/statistics

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit r9330 - in trunk/esb/java/modules/distribution/src/main/www/extensions/core: css js xslt xslt/statistics

svn-9
Author: ruwan
Date: Tue Oct 30 22:26:01 2007
New Revision: 9330

Modified:
   trunk/esb/java/modules/distribution/src/main/www/extensions/core/css/wso2-esb.css
   trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/config.js
   trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/log_config.xsl
   trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/statistics/statisticshome.xsl
Log:
Cleaning up the UI


Modified: trunk/esb/java/modules/distribution/src/main/www/extensions/core/css/wso2-esb.css
==============================================================================
--- trunk/esb/java/modules/distribution/src/main/www/extensions/core/css/wso2-esb.css (original)
+++ trunk/esb/java/modules/distribution/src/main/www/extensions/core/css/wso2-esb.css Tue Oct 30 22:26:01 2007
@@ -682,7 +682,7 @@
     float: left;
     margin-top: 390px;
     margin-left: 0px;
-    width: 770px;
+    /*width: 770px;*/
     height: 30px;
     position: absolute;
 
@@ -1329,13 +1329,14 @@
 }
 
 .esb-edit {
-    background-color: #eff7fb;
+    background-color: #efeff0;
     color: darkblue;
     font-family: Tahoma;
     font-size: 12px;
     width:260px;
     border:solid 1px #9fc2d5;
     height:20px;
+    cursor:text;
 }
 
 div#loginform input#txtPassword, div#loginform input#txtUserName {
@@ -2575,7 +2576,7 @@
 border:solid 1px #adadad;
 }
 .data-table{
-width:100%;
+width:98%;
 }
 .data-table td{
 text-align:left;

Modified: trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/config.js
==============================================================================
--- trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/config.js (original)
+++ trunk/esb/java/modules/distribution/src/main/www/extensions/core/js/config.js Tue Oct 30 22:26:01 2007
@@ -31,18 +31,7 @@
     var data = getBody(xhReq.responseXML);
     var browsername = navigator.appName;
     var synapseXMLObject = null;
-    try {
-        if (browsername.indexOf(NETSCAPE_BROWSER_NAME) != -1) {
-            synapseXMLObject = new XMLSerializer().serializeToString(getNodeFromPath("definitions", data));
-        }
-        else if (browsername.indexOf(IE_BROWSER_NAME) != -1) {
-            synapseXMLObject = getNodeFromPath("syn:definitions", data).xml;
-        }
-    }
-    catch(e)
-    {
-    }
-    document.getElementById("rawConfig").value = relpaceString(relpaceString(trim(synapseXMLObject), "&", "&"), "&", "&");
+    document.getElementById("rawConfig").value = getNodeFromPath("return", data).textContent;
     document.getElementById("rawConfig").style.cursor = "text";
 }
 

Modified: trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/log_config.xsl
==============================================================================
--- trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/log_config.xsl (original)
+++ trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/log_config.xsl Tue Oct 30 22:26:01 2007
@@ -184,7 +184,7 @@
                 <label style='text-align: left'>
                     <div class="text-area-header">SYNAPSE_HOME/webapp/WEB-INF/classes/conf/log4j.properties</div>
                 </label>
-                <textarea id="logConfigTextArea" style="width: 100%;height: 270px; margin-top:5px; font-family:monospace;">
+                <textarea id="logConfigTextArea" class="esb-edit" style="width: 100%;height: 270px; margin-top:5px; font-family:monospace;">
                     <xsl:value-of select="return/logText"/>
                 </textarea>
             </div>

Modified: trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/statistics/statisticshome.xsl
==============================================================================
--- trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/statistics/statisticshome.xsl (original)
+++ trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/statistics/statisticshome.xsl Tue Oct 30 22:26:01 2007
@@ -87,7 +87,7 @@
                 </h4>
             </div>
         </div>
-        <div class="clearLog" style="margin-left: 230px; margin-top: 430px; position: absolute;_position: absolute;_margin-left: 0px;_margin-top: 455px;">
+        <div class="clearLog" style="margin-top: 430px; position: absolute;_position: absolute;_margin-left: 0px;_margin-top: 455px;">
             <input name="clearLogs" type="button"
                    class="panelbutton_default"
                    value="Clear All"

_______________________________________________
Esb-java-dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev