source: package_branches/invirt-web/cherrypy/code/templates/terminal.mako @ 2486

Last change on this file since 2486 was 2453, checked in by ecprice, 15 years ago

Update focus rules to failback in safari

File size: 955 bytes
RevLine 
[2432]1<%page expression_filter="h" />
2<%inherit file="skeleton.mako" />
3
4<%def name="title()">
5Terminal for ${machine.name}
6</%def>
7
8<style type='text/css'>body { max-width: none }</style>
9% if not on:
10<p> Your machine appears to be off.</p>
11% elif has_vnc:
12<p> Your machine appears to be an HVM; you will need to specially configure a serial console before you can use this terminal.</p>
13% endif
14
15<%def name="header_extra()">
16${parent.header_extra()}
17<link rel="stylesheet" type="text/css" href="static/ajaxterm/ajaxterm.css"/>
18<script type="text/javascript" src="static/ajaxterm/sarissa.js"></script>      
19<script type="text/javascript" src="static/ajaxterm/sarissa_dhtml.js"></script> 
20<script type="text/javascript" src="static/ajaxterm/ajaxterm.js"></script>
21<script type="text/javascript">
22window.onload=function() {
[2433]23        t=ajaxterm.Terminal("term", ${machine.machine_id});
[2432]24}
25</script>
26</%def>
27
[2451]28<div tabindex="0" id="term"></div>
[2433]29<div style="clear: both;"></div>
Note: See TracBrowser for help on using the repository browser.