[Carbon-commits] [Carbon-Core] svn commit r53754 - trunk/carbon/core/component-manager/org.wso2.carbon.component.manager.ui/src/main/resources/web/component-mgt

sameera at wso2.com sameera at wso2.com
Fri Jan 29 04:03:50 PST 2010


Author: sameera
Date: Fri Jan 29 04:03:49 2010
New Revision: 53754
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=53754

Log:


Modified:
   trunk/carbon/core/component-manager/org.wso2.carbon.component.manager.ui/src/main/resources/web/component-mgt/index.jsp

Modified: trunk/carbon/core/component-manager/org.wso2.carbon.component.manager.ui/src/main/resources/web/component-mgt/index.jsp
URL: http://wso2.org/svn/browse/wso2/trunk/carbon/core/component-manager/org.wso2.carbon.component.manager.ui/src/main/resources/web/component-mgt/index.jsp?rev=53754&r1=53753&r2=53754&view=diff
==============================================================================
--- trunk/carbon/core/component-manager/org.wso2.carbon.component.manager.ui/src/main/resources/web/component-mgt/index.jsp	(original)
+++ trunk/carbon/core/component-manager/org.wso2.carbon.component.manager.ui/src/main/resources/web/component-mgt/index.jsp	Fri Jan 29 04:03:49 2010
@@ -85,9 +85,9 @@
 
             <div id="tabs-1">
 
-                <div id="_div_tabs01-step-01">
+                <div id="_div_tabs01-step-00-FR">
                     <H4><strong>Available Features</strong></H4>
-                    <p><font color="#707277"><i>This page lists the new features available in added repositories.</i></font></p>
+                    <p><font color="#707277"><i>Find new features or updates to installed features in available repositories</i></font></p>
                     <br/>
                     <div id="_div_filter_repositories">
                         <table class="styledLeft" cellspacing="1" id="_table_filter_repositories"
@@ -143,20 +143,43 @@
                                     </table>
                                 </td>
                             </tr>
+                            </tbody>
+                        </table>
+                    </div>
+                    <br/>
+
+                    <div id="_div_filter_repositories_button_panel">
+                        <table class="styledLeft" cellspacing="1" width="100%"
+                               id="_table_filter_repositories_button_panel" style="margin-left: 0px;">
+                            <tbody>
+
                             <tr>
                                 <td class="buttonRow">
-                                    <input id="_btn_searchInRepos" class="button" type="button" tabindex="11"
-                                           value="Search"/>
+                                    <input value="< Back" tabindex="11" type="button"
+                                           class="button" disabled="true"
+                                           id="_btn_back_filter_repositories">
+                                    <input value="Next >" tabindex="11" type="button"
+                                           class="button"
+                                           onclick="doNext('FR-AF')"
+                                           id="_btn_next_filter_repositories">
+                                    <input value="Cancel" tabindex="11" type="button"
+                                           class="button"
+                                           onclick="doCancel()"
+                                           id="_btn_cancel_filter_repositories">
+                                    <input value="Finish" tabindex="11" type="button"
+                                           class="button" disabled="true"
+                                           id="_btn_finish_filter_repositories">
                                 </td>
                             </tr>
                             </tbody>
                         </table>
                     </div>
+                </div>
+
+                <div id="_div_tabs01-step-01-AF" style="display:none">
+                    <H4><strong>Available Features</strong></H4>
+                    <p><font color="#707277"><i>The list of features that matches with the specified criteria. Select the features that you wish to install and proceed</i></font></p>
                     <br/>
-                    <br/>
-                    <p><%--<font color="#707277"><i>--%>The list of features that matches with the specified criteria. Select the features that you wish to install and proceed:<%--</i></font>--%></p>    
-                    <br/>
-                    <%--<div style="overflow:auto; height:300px;">--%>
                     <div id="_div_available_features_list">
                         <table class="styledLeft" cellspacing="1" width="100%" id="_table_available_features_list"
                                style="margin-left: 0px;">
@@ -270,11 +293,11 @@
                             <tr>
                                 <td class="buttonRow">
                                     <input value="< Back" tabindex="11" type="button"
-                                           class="button" disabled="true"
+                                           class="button" onclick="doBack('AF-FR')" 
                                            id="_btn_back_available_features">
                                     <input value="Next >" tabindex="11" type="button"
                                            class="button"
-                                           onclick="doNext('AF')"
+                                           onclick="doNext('AF-RF')"
                                            id="_btn_next_available_features">
                                     <input value="Cancel" tabindex="11" type="button"
                                            class="button"
@@ -290,7 +313,7 @@
                     </div>
                 </div>
 
-                <div id="_div_tabs01-step-02" style="display:none">
+                <div id="_div_tabs01-step-02-RF" style="display:none">
                     <H4><strong>Install Details</strong></H4>
                     <p><font color="#707277"><i>Review the features to be installed.</i></font></p>
                     <br/>
@@ -383,11 +406,11 @@
                                 <td class="buttonRow">
                                     <input value="< Back" tabindex="11" type="button"
                                            class="button"
-                                           onclick="doBack('AF_RF')"
+                                           onclick="doBack('RF-AF')"
                                            id="_btn_back_review_features">
                                     <input value="Next >" tabindex="11" type="button"
                                            class="button"
-                                           onclick="doNext('AF_RF')"
+                                           onclick="doNext('RF-RL')"
                                            id="_btn_next_review_features">
                                     <input value="Cancel" tabindex="11" type="button"
                                            class="button"
@@ -404,7 +427,7 @@
 
                 </div>
 
-                <div id="_div_tabs01-step-03" style="display:none">
+                <div id="_div_tabs01-step-03-RL" style="display:none">
                     <H4><strong>Review Licenses</strong></H4>
                     <p><font color="#707277"><i>Following licenses must be reviewed and accepted before installing features.</i></font></p>
                     <br/>
@@ -640,7 +663,7 @@
                                 <td class="buttonRow">
                                     <input value="< Back" tabindex="11" type="button"
                                            class="button"
-                                           onclick="doBack('AF_RL')"
+                                           onclick="doBack('RL-RF')"
                                            id="_btn_back_af_review_licenses">
                                     <input value="Next >" tabindex="11" type="button"
                                            class="button" disabled="true"
@@ -1592,14 +1615,16 @@
             }
 
             function doNext(context) {
-                if(context == 'AF') {
-                    document.getElementById("_div_tabs01-step-01").style.display="none";
-                    document.getElementById("_div_tabs01-step-02").style.display="inline";
-                    allowTabChange = false;                    
-
-                } else if(context == 'AF_RF'){
-                    document.getElementById("_div_tabs01-step-02").style.display="none";
-                    document.getElementById("_div_tabs01-step-03").style.display="inline";
+
+                if(context == "FR-AF"){
+                    swapVisiblility("_div_tabs01-step-00-FR", "_div_tabs01-step-01-AF");
+                    allowTabChange = false;
+                    
+                } else if (context == 'AF-RF') {
+                    swapVisiblility("_div_tabs01-step-01-AF", "_div_tabs01-step-02-RF");
+
+                } else if(context == 'RF-RL'){
+                    swapVisiblility("_div_tabs01-step-02-RF", "_div_tabs01-step-03-RL");
                     
                 } else if(context == "AU"){
                     document.getElementById("_div_tabs02-step-01").style.display="none";
@@ -1609,14 +1634,16 @@
             }
 
             function doBack(context){
-                if(context == "AF_RF"){
-                    document.getElementById("_div_tabs01-step-02").style.display="none";
-                    document.getElementById("_div_tabs01-step-01").style.display="inline";
+
+                if(context == "AF-FR"){
+                    swapVisiblility("_div_tabs01-step-01-AF", "_div_tabs01-step-00-FR");
                     allowTabChange = true;
 
-                } else if(context == 'AF_RL'){
-                    document.getElementById("_div_tabs01-step-03").style.display="none";
-                    document.getElementById("_div_tabs01-step-02").style.display="inline";
+                } else if (context == "RF-AF"){
+                    swapVisiblility("_div_tabs01-step-02-RF", "_div_tabs01-step-01-AF");
+
+                } else if(context == 'RL-RF'){
+                    swapVisiblility("_div_tabs01-step-03-RL", "_div_tabs01-step-02-RF");
 
                 } else if(context == "AU_RL"){
                     document.getElementById("_div_tabs02-step-02").style.display="none";



More information about the Carbon-commits mailing list