/[projects]/misc/xenconsole/index.php
ViewVC logotype

Diff of /misc/xenconsole/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1881 by torben, Fri Nov 30 09:09:06 2012 UTC revision 1882 by torben, Fri Nov 30 10:58:49 2012 UTC
# Line 192  foreach($vms_array as $vm) { Line 192  foreach($vms_array as $vm) {
192                          $session = $xenserver->get_id();                          $session = $xenserver->get_id();
193                  }                  }
194          }          }
195            
196    
197    
198    
199  //      echo "<a href='#' onclick=\"loadvm('$uuid');\">$name</a><br>\n";  //      echo "<a href='#' onclick=\"loadvm('$uuid');\">$name</a><br>\n";
200  ?>  ?>
201          <!-- MACHINE -->          <!-- MACHINE -->
202          <table width='99%' cellpadding='3' cellspacing='0' border='0' class='vps'>          <table width='99%' cellpadding='3' cellspacing='0' border='0' class='vps' id='<?php echo $name;?>'>
203                  <tr background='gfx/vps_topbg.png'>                  <tr background='gfx/vps_topbg.png'>
204                          <td width='10' background='gfx/<?php echo $vps_topbg; ?>' class='small'>&nbsp;</td>                          <td width='10' background='gfx/<?php echo $vps_topbg; ?>' class='small'>&nbsp;</td>
205                          <td colspan='2' class='small'><b><?php echo $name; ?></b></td>                          <td colspan='2' class='small'><b><?php echo $name; ?></b></td>
206                          <td colspan='2' class='small' align='right'>                          <td colspan='2' class='small' align='right'>
207                                  <?php echo $network;?>                                  <?php echo $network;?>
208                                  <a href="#" onclick="console('<?php echo $url;?>','<?php echo $session;?>')"><img src='gfx/icon-terminal.png' style='vertical-align: middle;'></a>                                  <?php
209                                    if ($url != "") {
210                                            echo "<a href='#' onclick=\"console('<?php echo $url;?>','<?php echo $session;?>')\"><img src='gfx/icon-terminal.png' style='vertical-align: middle;'></a>";
211                                    }
212                                    ?>
213                          </td>                          </td>
214                  </tr>                  </tr>
215    

Legend:
Removed from v.1881  
changed lines
  Added in v.1882

  ViewVC Help
Powered by ViewVC 1.1.20