Changeset 1791 for trunk


Ignore:
Timestamp:
Dec 6, 2008, 1:47:28 AM (16 years ago)
Author:
price
Message:

web: info: move console message out of commands form table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/templates/info.tmpl

    r1789 r1791  
    1616
    1717#def commands()
     18#if $on
     19 #if not $machine.type.hvm
     20  Console access: type
     21  <tt>ssh $machine.name@$config.console.hostname</tt>
     22  on Athena. <a href="https://xvm.scripts.mit.edu/wiki/SerialConsole">(more info)</a>
     23 #elif $has_vnc
     24  <strong><a href="vnc?machine_id=$machine.machine_id">Get Console</a></strong>
     25 #else
     26  VNC console not enabled; still booting?
     27 #end if
     28#end if
    1829<form action="command" method="POST">
    1930  <input type="hidden" name="back" value="info"/>
    2031  <input type="hidden" name="machine_id" value="$machine.machine_id"/>
    2132  <table>
    22    
    23     <tr><td colspan=100>
    24         #if $on
    25         #if not $machine.type.hvm
    26         Console access: type
    27         <tt>ssh $machine.name@$config.console.hostname</tt>
    28         on Athena. <a href="https://xvm.scripts.mit.edu/wiki/SerialConsole">(more info)</a>
    29         #elif $has_vnc
    30         <strong><a href="vnc?machine_id=$machine.machine_id">Get Console</a></strong>
    31         #else
    32         VNC console not enabled; still booting?
    33         #end if
    34         #else
    35 
    36         #end if
    37     </td></tr>
    3833      <tr>
    3934        #if $on
Note: See TracChangeset for help on using the changeset viewer.