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