Author: jonathan
Date: Thu Jan 17 16:39:56 2008
New Revision: 12440

Log:

MASHUP-475 improvements.

Modified:
   trunk/commons/dynamic-codegen/src/tryit.xslt

Modified: trunk/commons/dynamic-codegen/src/tryit.xslt
==============================================================================
--- trunk/commons/dynamic-codegen/src/tryit.xslt        (original)
+++ trunk/commons/dynamic-codegen/src/tryit.xslt        Thu Jan 17 16:39:56 2008
@@ -428,6 +428,7 @@
         var endpointName = document.getElementById("endpointSelect");
         var endpoint = endpointName.options[endpointName.selectedIndex].value;
         <xsl:value-of select="$service-name"/>.endpoint = endpoint;
+        document.getElementById("endpoint-name").innerHTML = endpoint;
         document.getElementById("address").value = <xsl:value-of 
select="$service-name"/>.getAddress(endpoint);
     }
 
@@ -596,13 +597,14 @@
                 </xsl:if>
                 <div id="endpoint">
                     <div id="endpoint-collapsed">
-                        <div class="content">Choose endpoint...</div>
+                        <div class="content">Using endpoint <span 
id="endpoint-name"></span></div>
+                        <div class="content" style="text-align:right; 
margin-right:2em; font-size:8pt;">(<a href="#" 
onclick="toggleconfig('endpoint-collapsed', 'endpoint-expanded')">expand</a> to 
change...)</div>
                         <div class="bottom">
                             <span class="right-corner"><a href="#"><img 
src="{$image-path}expand.gif" onclick="toggleconfig('endpoint-collapsed', 
'endpoint-expanded')" title="Show endpoint options"/></a></span>
                         </div>
                     </div>
                     <div id="endpoint-expanded" style="display:none">
-                        <div class="content">Choose endpoint...
+                        <div class="content">Choose endpoint:
                             <ul>
                                 <li>Select an endpoint: <select 
id="endpointSelect" onchange="selectEndpoint()" style="border: 1px solid 
#CCCCCC;">
                                     <xsl:for-each select="/services/[EMAIL 
PROTECTED]">
@@ -678,7 +680,7 @@
             <!-- footer -->
             <xsl:if test="$enable-footer='true'">
               <div id="footer">
-                <p>© 2007-2008 <a href="http://wso2.com/";>WSO2 Inc.</a></p>
+                <p>© 2007 <a href="http://wso2.com/";>WSO2 Inc.</a></p>
               </div>
             </xsl:if>
             <!-- end of footer -->
@@ -881,7 +883,7 @@
             div#endpoint div#endpoint-collapsed {
                 border-bottom: solid 1px #999;
                 border-right: solid 1px #999;
-                width: 150px;
+                width: 400px;
             }
             div#endpoint div#endpoint-expanded {
                 border-bottom: solid 1px #999;
@@ -889,6 +891,10 @@
                 width: 450px;
             }
 
+            span#endpoint-name {
+                font-weight:bold;
+            }
+
             div#endpoint-collapsed div.bottom .right-corner a img,
             div#endpoint-expanded div.bottom .right-corner a img {
                 border: 0px;
@@ -1083,7 +1089,7 @@
                 background-image: url(<xsl:value-of 
select="$image-path"/>gradient-rule-wide.gif);
                 background-repeat: no-repeat;
                 padding-left: 40px;
-                padding-top: 3px;
+                padding-top: 16px;
                 font-size: 8pt;
             }
 

_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev

Reply via email to