source: package_branches/invirt-web/ajaxterm-rebased/code/templates/terminal.mako @ 2914

Last change on this file since 2914 was 2760, checked in by broder, 15 years ago

Update focus rules to failback in safari

File size: 955 bytes
RevLine 
[2751]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() {
[2752]23        t=ajaxterm.Terminal("term", ${machine.machine_id});
[2751]24}
25</script>
26</%def>
27
[2758]28<div tabindex="0" id="term"></div>
[2752]29<div style="clear: both;"></div>
Note: See TracBrowser for help on using the repository browser.