| Rev | Line |   | 
|---|
| [227] | 1 | <head> | 
|---|
| [228] | 2 |  | 
|---|
| [227] | 3 | <script type="text/javascript" src="js/jquery-1.4.4.js"> | 
|---|
 | 4 | </script> | 
|---|
 | 5 | <script type="text/javascript"> | 
|---|
 | 6 |  | 
|---|
 | 7 | $(document).ready(function(){ | 
|---|
 | 8 | alert("haha"); | 
|---|
 | 9 | }); | 
|---|
 | 10 |  | 
|---|
 | 11 | $(function(){ | 
|---|
| [228] | 12 |   $("#vm_to").click(function(){ | 
|---|
 | 13 |      | 
|---|
| [227] | 14 |     if ($("#vm").css("display")=="none"){ | 
|---|
 | 15 |     $("#vm").slideDown(); | 
|---|
| [228] | 16 |     $("#vm_to").attr("src","images/arrow-down.png"); | 
|---|
| [227] | 17 |     }  | 
|---|
 | 18 |     else{ | 
|---|
| [228] | 19 |     $("#vm").slideUp(); | 
|---|
 | 20 |     $("#vm_to").attr("src","images/arrow-up.png"); | 
|---|
| [227] | 21 |     } | 
|---|
| [228] | 22 |     return false; | 
|---|
| [227] | 23 |   }); | 
|---|
 | 24 |   }); | 
|---|
 | 25 |    | 
|---|
 | 26 | $(document).ready(function(){ | 
|---|
 | 27 | alert("haha2"); | 
|---|
 | 28 | });  | 
|---|
 | 29 | </script> | 
|---|
 | 30 | </head> | 
|---|
 | 31 | <link rel=stylesheet type="text/css" href="css/style.css" />  | 
|---|
 | 32 | <form action="" method="get"> | 
|---|
 | 33 | <div class="message">drbl-virt Manager</div> | 
|---|
 | 34 | <table class=logintable border="1" align="center" cellpadding="05" cellspacing="0" id="tab1"> | 
|---|
 | 35 | <tr> | 
|---|
 | 36 |   <th>Hostname</th> | 
|---|
 | 37 |   <th>Status</th> | 
|---|
 | 38 |   <th>Action</th> | 
|---|
 | 39 | </tr> | 
|---|
 | 40 |   <tr id="phy"> | 
|---|
| [228] | 41 |     <td class="running_client">pc101 <br /><span class="running_vm">[Running_VM=1] </span><a><img src="images/arrow-up.png" id="vm_to" /></a></td> | 
|---|
| [227] | 42 |     <td>CPU_Core= Memory= CPU_Idle= Memory_Usage=</td> | 
|---|
 | 43 |     <td> | 
|---|
 | 44 |     <input type="button" name="bu1" id="bu1" value="Wake on Lan"> | 
|---|
 | 45 |     <input type="button" name="bu2" id="bu2" value="Reboot"> | 
|---|
 | 46 |     <input type="button" name="bu3" id="bu3" value="Shutdown"> | 
|---|
 | 47 |     <input type="button" name="bu4" id="bu4" value="Login"> | 
|---|
 | 48 |     </td> | 
|---|
 | 49 |   </tr> | 
|---|
 | 50 |   <tr id="vm"> | 
|---|
 | 51 |     <td>vm101</td> | 
|---|
 | 52 |         <td>CPU_Core Memory CPU_Idle Memory_Usage</td> | 
|---|
 | 53 |     <td> | 
|---|
 | 54 |     <input type="button" name="bu2" id="bu2" value="Reboot"> | 
|---|
 | 55 |     <input type="button" name="bu3" id="bu3" value="Shutdown"> | 
|---|
 | 56 |     <input type="button" name="bu4" id="bu4" value="Login"> | 
|---|
 | 57 |     </td> | 
|---|
 | 58 |   </tr> | 
|---|
 | 59 | </table> | 
|---|
 | 60 |  | 
|---|
 | 61 | </form> | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.