noVNC/vnc.html

37 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<!--
noVNC example: simple example using default UI
Copyright (C) 2011 Joel Martin
Licensed under LGPL-3 (see LICENSE.txt)
-->
<head>
<title>noVNC</title>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" href="../include/mobile.css">
<link rel="stylesheet" href="include/plain.css">
<link rel="alternate stylesheet" href="include/black.css" TITLE="Black">
<!--
<script type='text/javascript'
src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
-->
<script src="include/vnc.js"></script>
<script src="include/ui.js"></script>
</head>
<body>
<div id="vnc" class="flex-box">Loading...</div>
<div>
<br>
Log:<br>
<textarea id="messages" font="9pt" cols=80 rows=8></textarea>
</div>
<script>
//window.onresize=function() {UI.rfb.get_display().resize(); UI.rfb.get_display().refresh();};
window.onresize=function() {UI.rfb.get_display().resizeAuto($D('vnc'));};
window.onload=function() {UI.load('vnc');};
</script>
</body>
</html>