Author: saminda
Date: Thu Jan 10 07:05:58 2008
New Revision: 12120

Log:

Fixed JIRA-692


Modified:
   trunk/wsas/java/modules/www/extensions/core/xslt/restart_server.xsl

Modified: trunk/wsas/java/modules/www/extensions/core/xslt/restart_server.xsl
==============================================================================
--- trunk/wsas/java/modules/www/extensions/core/xslt/restart_server.xsl 
(original)
+++ trunk/wsas/java/modules/www/extensions/core/xslt/restart_server.xsl Thu Jan 
10 07:05:58 2008
@@ -2,58 +2,65 @@
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
 
     <xsl:template match="restartServer" xmlns="http://www.w3.org/1999/xhtml";>
-        <h2>Shutdown or Restart Server</h2>
+        <h2>Shutdown or Restart Server </h2>
         <div id="formset">
-            <div>Shutdown or Restart your WSO2 WSAS instance
-                <br/><br/>
-            </div>
-            <h3>Shutdown</h3>
-            <a>
-                <xsl:attribute name="href">#</xsl:attribute>
-                <xsl:attribute name="style">cursor:pointer;</xsl:attribute>
-                <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.shutdownServerGracefully();</xsl:attribute>
-                Graceful Shutdown
-            </a>
-            <div>
-                Stop accepting new requests, continue to process already 
received requests, and then shutdown the server.
-                <br/><br/>
-            </div>
-            <a>
-                <xsl:attribute name="href">#</xsl:attribute>
-                <xsl:attribute name="style">cursor:pointer;</xsl:attribute>
-                <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.shutdownServer();</xsl:attribute>
-                Forced Shutdown
-            </a>
-            <div>
-                Forcefully shutdown the server.
-                <br/><br/>
-            </div>
-
-            <h3>Restart</h3>
-            <div>Server restart takes approximately 10 seconds.
-                You will not be able to connect to the server during this 
period.
-                <br/><br/>
-            </div>
-            <a>
-                <xsl:attribute name="href">#</xsl:attribute>
-                <xsl:attribute name="style">cursor:pointer;</xsl:attribute>
-                <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.restartServerGracefully();</xsl:attribute>
-                Graceful Restart
-            </a>
-            <div>
-                Stop accepting new requests, continue to process already 
received requests, and then restart the server.
-                <br/><br/>
-            </div>
-            <a>
-                <xsl:attribute name="href">#</xsl:attribute>
-                <xsl:attribute name="style">cursor:pointer;</xsl:attribute>
-                <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.restartServer();</xsl:attribute>
-                Immediate Restart
-            </a>
-            <div>
-                Discard any requests currently being processed and immediately 
restart server. 
-                <br/><br/>
-            </div>
+            <form action="#">
+                <fieldset>
+                    <legend>Shutdown your WSO2 WSAS instance</legend>
+                    <p>
+                        <a>
+                            <xsl:attribute name="href">#</xsl:attribute>
+                            <xsl:attribute 
name="style">cursor:pointer;</xsl:attribute>
+                            <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.shutdownServerGracefully();</xsl:attribute>
+                            Graceful Shutdown
+                        </a>
+                    </p>
+                    <p>
+                         Stop accepting new requests, continue to process 
already received requests, and then shutdown the server.
+                    </p>
+                    <br/>
+                    <p>
+                        <a>
+                            <xsl:attribute name="href">#</xsl:attribute>
+                            <xsl:attribute 
name="style">cursor:pointer;</xsl:attribute>
+                            <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.shutdownServer();</xsl:attribute>
+                            Forced Shutdown
+                        </a>
+                    </p>
+                    <p>
+                        Forcefully shutdown the server.
+                    </p>
+                </fieldset>
+                <fieldset>
+                    <legend>Restart your WSO2 WSAS instance</legend>
+                    <p>
+                        Server restart takes approximately 10 seconds. You 
will not be able to connect to the server during this period.
+                    </p>
+                    <p>
+                        <a>
+                            <xsl:attribute name="href">#</xsl:attribute>
+                            <xsl:attribute 
name="style">cursor:pointer;</xsl:attribute>
+                            <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.restartServerGracefully();</xsl:attribute>
+                            Graceful Restart
+                        </a>
+                    </p>
+                    <p>
+                        Stop accepting new requests, continue to process 
already received requests, and then restart the server.
+                    </p>
+                    <br/>
+                    <p>
+                        <a>
+                            <xsl:attribute name="href">#</xsl:attribute>
+                            <xsl:attribute 
name="style">cursor:pointer;</xsl:attribute>
+                            <xsl:attribute 
name="onclick">javascript:wso2.wsf.Util.restartServer();</xsl:attribute>
+                            Immediate Restart
+                        </a>
+                    </p>
+                    <p>
+                        Discard any requests currently being processed and 
immediately restart server.
+                    </p>
+                </fieldset>
+            </form>
         </div>
     </xsl:template>
 </xsl:stylesheet>

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to