You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/10/24 20:19:27 UTC

svn commit: r1401809 - /airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save.html

Author: heshan
Date: Wed Oct 24 18:19:26 2012
New Revision: 1401809

URL: http://svn.apache.org/viewvc?rev=1401809&view=rev
Log:
Updating host registration page.

Modified:
    airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save.html

Modified: airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save.html
URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save.html?rev=1401809&r1=1401808&r2=1401809&view=diff
==============================================================================
--- airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save.html (original)
+++ airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save.html Wed Oct 24 18:19:26 2012
@@ -6,121 +6,42 @@
 </head>
 <body>
 
-testing4
+<b> Register Host Description </b>
+<br/>
 
-Host Name     : <input type="text" name="hostName" value="gram" size="50">
+Host Name           : <input type="text" name="hostName" value="gram" size="75">
 <br/>
-Host Address  : <input type="text" name="hostAddress" value="gatekeeper2.ranger.tacc.teragrid.org" size="50">
+Host Address        : <input type="text" name="hostAddress" value="gatekeeper2.ranger.tacc.teragrid.org" size="75">
 <br/>
-Host Type     : <select name="drop1">
-    <option selected="true">Local
-    <option>Globus
-</select>
+Host Type           : <select name="drop1">
+                         <option selected="true">Local</option>
+                         <option>Globus</option>
+                        </select>
 <br/>
-<!--<div id="div1">-->
-    <!--Host Endpoint : <input type="text" name="hostEndpoint" value="gsiftp://gridftp.ranger.tacc.teragrid.org:2811/" size="50">-->
-    <!--<br/>-->
-    <!--Gatekeeper Endpoint : <input type="text" name="gatekeeperEndpoint" value="gatekeeper.ranger.tacc.teragrid.org:2119/jobmanager-sge" size="50">-->
-    <!--<br/>-->
-<!--</div>-->
-
 <div id="div">
-    Host Endpoint : <input type="text" name="hostEndpoint" value="gsiftp://gridftp.ranger.tacc.teragrid.org:2811/" size="50">
+Host Endpoint       : <input type="text" name="hostEndpoint" value="gsiftp://gridftp.ranger.tacc.teragrid.org:2811/" size="75">
     <br/>
-    Gatekeeper Endpoint : <input type="text" name="gatekeeperEndpoint" value="gatekeeper.ranger.tacc.teragrid.org:2119/jobmanager-sge" size="50">
+Gatekeeper Endpoint : <input type="text" name="gatekeeperEndpoint" value="gatekeeper.ranger.tacc.teragrid.org:2119/jobmanager-sge" size="75">
     <br/>
-    <p>If you click on the "Hide" button, I will disappear.</p>
 </div>
 
-    <table border="0">
-
-
-        <!--<b>HOST</b>-->
-        <!--<tbody>-->
-            <!--<tr><td>Host Name           </td>-->
-                <!--<td> <input type="text" name="hostName" value="gram" size="50"></td></tr>-->
-            <!--<tr><td>-->
-                <!--Host Address-->
-            <!--</td><td>-->
-                <!--<input type="text" name="hostAddress" value="gatekeeper2.ranger.tacc.teragrid.org" size="50"></td></tr>-->
-            <!--<tr><td>Host Type           </td><td>-->
-                <!--<input type="text" name="hostType" value="globus" size="50"></td></tr>-->
-
-            <!--<tr><td>Host Type           </td>-->
-                <!--<td> <select id="drop2">-->
-                    <!--<option selected="true">Local-->
-                    <!--<option>Globus</select></td></tr>-->
-            <!--</tbody>-->
-
-            <!--<tbody class="Table_Middle" style="display:none">-->
-
-        <!--&lt;!&ndash;<div id="div2">&ndash;&gt;-->
-            <!--<tr><td>Host Endpoint       </td>-->
-                <!--<td> <input type="text" name="hostEndpoint" value="gsiftp://gridftp.ranger.tacc.teragrid.org:2811/" size="50"></td></tr>-->
-            <!--<tr><td>Gatekeeper Endpoint </td>-->
-                <!--<td> <input type="text" name="gatekeeperEndpoint" value="gatekeeper.ranger.tacc.teragrid.org:2119/jobmanager-sge" size="50"></td></tr>-->
-        <!--</tbody>-->
-        <!--&lt;!&ndash;</div>&ndash;&gt;-->
-
-    <!--</table>-->
-    <br>
-
-    <!--<input type="SUBMIT" value="Submit"><input type="RESET" value="Reset">-->
-
-<!--</form>-->
-
 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
 <script>
     $(document).ready(function(){
-        $('#drop1 option:selected').select(function () {
-            console.log("drop1 selected ");
-//            $("div").hide();
-            if("Local" == $('#drop1 option:selected').val()) {
-//                $('.Table_Middle').hide();
-                $("div").hide();
-            } else {
-//                $('.Table_Middle').show();
-                $("div").show();
-            }
+        $(window).load(function () {
+            $("div").hide();
         });
 
-
         $("select[name='drop1']").change(function() {
             //alert($(this).val());
-            alert("Local" == $(this).val());
             if("Local" == $(this).val()) {
                 $("div").hide();
             } else {
                 $("div").show();
             }
         });
-
-//        $("#drop1").change(function(){
-//            $value = $(this).val();
-//            if("Local" == value) {
-//                $("div").hide();
-//            } else {
-//                $("div").show();
-//            }
-//        });
-
-        $("#hide").click(function(){
-            $("div").hide();
-        });
-        $("#show").click(function(){
-            $("div").show();
-        });
     });
 </script>
 
-<!--<div id="div">-->
-    <!--<p>If you click on the "Hide" button, I will disappear.</p>-->
-<!--</div>-->
-
-<button id="hide">Hide</button>
-<button id="show">Show</button>
-
-
-
 </body>
 </html>
\ No newline at end of file