[esb-java-dev] svn commit r166 -
esb/java/trunk/modules/distribution/src/main/www/extensions/core/xslt
svn at wso2.com
svn at wso2.com
Tue Dec 5 01:39:46 PST 2006
Author: indika
Date: Tue Dec 5 01:39:45 2006
New Revision: 166
Modified:
esb/java/trunk/modules/distribution/src/main/www/extensions/core/xslt/save_config.xsl
Log:
Modified: esb/java/trunk/modules/distribution/src/main/www/extensions/core/xslt/save_config.xsl
==============================================================================
--- esb/java/trunk/modules/distribution/src/main/www/extensions/core/xslt/save_config.xsl (original)
+++ esb/java/trunk/modules/distribution/src/main/www/extensions/core/xslt/save_config.xsl Tue Dec 5 01:39:45 2006
@@ -1,73 +1,77 @@
-<!--
- ~ Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template match="ns1:getConfigurationResponse" xmlns:ns1="http://org.apache.synapse/xsd">
- <h2>Manage Configuration</h2>
- <div>
- <xsl:attribute name="id">saveConfigHelpDiv</xsl:attribute>
- <xsl:attribute name="style">background-color:#99cccc;position:absolute;visibility:hidden;padding:5px;z-index:600</xsl:attribute>
- </div>
- <div id="formset">
- <form>
- <div>Commit current configuration to disk</div>
- <input name="saveConfig" type="button" class="styledButton;width:20" value="Save to Disk"
- onclick="javascript:saveConfigurationToDisk();return false;"/>
- <input name="resetConfig" type="reset" class="styledButton;width:20" value="Reset"
- onclick="javascript:showSaveConfig();return false;"/>
- <br/>
- <br/>
- <fieldset>
- <legend>Current Configuration</legend>
- <textarea rows="20" cols="80" id="rawConfig" style="border:none;"/>
- <div>Apply changes</div>
- <input name="updateConfig" type="button" class="styledButton;width:20" value="Update"
- onclick="javascript:updateConfiguration();return false;"/>
- </fieldset>
- </form>
- </div>
- </xsl:template>
-
- <xsl:template match="ns1:saveConfigurationToDiskResponse" xmlns:ns1="http://org.apache.synapse/xsd">
-
- <xsl:if test="return/text() = 'true'">
- <h2>Save Changes to Disk</h2>
- <div id="formset">
- <div>Changes have been saved to disk
- <br/>
- <br/>
- </div>
- <input disabled="true" name="saveConfig" type="button" class="styledButton" value="Save"
- onclick="javascript:saveConfigurationToDisk();return false;"/>
- </div>
- </xsl:if>
-
- <xsl:if test="return/text() != 'true'">
- <h2>Save Changes to Disk</h2>
- <div id="formset">
- <div>Error: Changes could not be saved to disk
- <br/>
- <br/>
- </div>
- <input disabled="true" name="saveConfig" type="button" class="styledButton" value="Save"
- onclick="javascript:saveConfigurationToDisk();return false;"/>
- </div>
- </xsl:if>
-
- </xsl:template>
-</xsl:stylesheet>
+<!--
+ ~ Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:template match="ns1:getConfigurationResponse" xmlns:ns1="http://org.apache.synapse/xsd">
+ <h2>Manage Configuration <img src="extensions/core/images/help.gif" alt="" onmouseover="showHelp(event,'saveConfigHelpDiv','-10','100')" onmouseout="hideHelp(event,'saveConfigHelpDiv')"/></h2>
+ <div>
+ <xsl:attribute name="id">saveConfigHelpDiv</xsl:attribute>
+ <xsl:attribute name="style">background-color:#99cccc;position:absolute;visibility:hidden;padding:5px;z-index:600</xsl:attribute>
+ </div>
+ <div>
+ <xsl:attribute name="id">saveConfigHelpDiv</xsl:attribute>
+ <xsl:attribute name="style">background-color:#99cccc;position:absolute;visibility:hidden;padding:5px;z-index:600</xsl:attribute>
+ </div>
+ <div id="formset">
+ <form>
+ <div>Commit current configuration to disk</div>
+ <input name="saveConfig" type="button" class="styledButton;width:20" value="Save to Disk"
+ onclick="javascript:saveConfigurationToDisk();return false;"/>
+ <input name="resetConfig" type="reset" class="styledButton;width:20" value="Reset"
+ onclick="javascript:showSaveConfig();return false;"/>
+ <br/>
+ <br/>
+ <fieldset>
+ <legend>Current Configuration</legend>
+ <textarea rows="20" cols="80" id="rawConfig" style="border:none;"/>
+ <div>Apply changes</div>
+ <input name="updateConfig" type="button" class="styledButton;width:20" value="Update"
+ onclick="javascript:updateConfiguration();return false;"/>
+ </fieldset>
+ </form>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="ns1:saveConfigurationToDiskResponse" xmlns:ns1="http://org.apache.synapse/xsd">
+
+ <xsl:if test="return/text() = 'true'">
+ <h2>Save Changes to Disk</h2>
+ <div id="formset">
+ <div>Changes have been saved to disk
+ <br/>
+ <br/>
+ </div>
+ <input disabled="true" name="saveConfig" type="button" class="styledButton" value="Save"
+ onclick="javascript:saveConfigurationToDisk();return false;"/>
+ </div>
+ </xsl:if>
+
+ <xsl:if test="return/text() != 'true'">
+ <h2>Save Changes to Disk</h2>
+ <div id="formset">
+ <div>Error: Changes could not be saved to disk
+ <br/>
+ <br/>
+ </div>
+ <input disabled="true" name="saveConfig" type="button" class="styledButton" value="Save"
+ onclick="javascript:saveConfigurationToDisk();return false;"/>
+ </div>
+ </xsl:if>
+
+ </xsl:template>
+</xsl:stylesheet>
More information about the Esb-java-dev
mailing list