forked from josephworks/WebIDE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvnc.html
More file actions
187 lines (144 loc) · 6.84 KB
/
vnc.html
File metadata and controls
187 lines (144 loc) · 6.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!doctype html>
<!--
noVNC example: simple example using default UI
Copyright (C) 2011 Joel Martin
Licensed under LGPL-3 (see LICENSE.txt)
-->
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="WebIDE's VNC Module">
<meta name="author" content="Joseph Robinson">
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="https://raw.githubusercontent.com/novnc/noVNC/html5-test/favicon.ico">
<link rel="apple-touch-icon" href="https://raw.githubusercontent.com/novnc/noVNC/html5-test/apple-touch-icon.png">
<!-- CSS: implied media="all" -->
<link rel="stylesheet" href="https://raw.githubusercontent.com/novnc/noVNC/html5-testcss/style.css">
<!-- Uncomment if you are specifically targeting less enabled mobile browsers
<link rel="stylesheet" media="handheld" href="css/handheld.css?v=2"> -->
<!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-testjs/libs/modernizr-1.7.min.js"></script>
</head>
<body>
<div id="container" class="container">
<header>
</header>
<div class="noVNC-window"> <!-- status bar and viewport -->
<div class="noVNC-control-bar">
<div>
Host: <input id="noVNC_host">
</div>
<div>
Port: <input id="noVNC_port">
</div>
<div>
Password: <input id="noVNC_password" type="password">
</div>
<div>
<input id="noVNC_connect_button" type="button" value="Loading" disabled>
</div>
</div> <!--! end of #noVNC_controls -->
<div class="noVNC-status-bar">
<div class="noVNC-status">
<span id="noVNC_status" class="noVNC-status-normal">Loading</span>
</div>
<div class="noVNC_buttons_right">
<nobr><span id="noVNC_mouse_buttons" style="display: none;">
<input type="button"
id="noVNC_mouse_button1" value="L" onclick="UI.setMouseButton(1);"
><input type="button"
id="noVNC_mouse_button2" value="M" onclick="UI.setMouseButton(2);"
><input type="button"
id="noVNC_mouse_button4" value="R" onclick="UI.setMouseButton(4);">
</span></nobr>
</div>
<div class="noVNC_buttons_right">
<div class="noVNC-menu">
<input type=button value="Settings"
id="menuButton" onclick="UI.clickSettingsMenu();">
<span id="noVNC_settings_menu" class="noVNC-settings-menu"
style="display: none;"
onmouseover="UI.displayBlur();"
onmouseout="UI.displayFocus();">
<ul>
<li><input id="noVNC_encrypt"
type="checkbox"> Encrypt</li>
<li><input id="noVNC_true_color"
type="checkbox" checked> True Color</li>
<li><input id="noVNC_cursor"
type="checkbox"> Local Cursor</li>
<li><input id="noVNC_shared"
type="checkbox"> Shared Mode</li>
<li><input id="noVNC_connectTimeout"
type="input"> Connect Timeout (s)</li>
<hr>
<li>
<select id="noVNC_stylesheet" name="vncStyle">
<option value="default">default</option>
</select> Style</li>
<li>
<select id="noVNC_logging" name="vncLogging">
</select> Logging</li>
<hr>
<li><input type="button" id="noVNC_apply" value="Apply"
onclick="UI.settingsApply()"></li>
</ul>
</span>
</div>
</div>
<div class="noVNC_buttons_right">
<input type=button value="CtrlAltDel"
id="sendCtrlAltDelButton"
onclick="UI.sendCtrlAltDel();">
</div>
</div> <!--! end of #status-bar -->
<div id="noVNC_viewport">
<canvas id="noVNC_canvas" width="640px" height="480px">
Canvas not supported.
</canvas>
</div>
</div> <!--! end of noVNC_app (status bar and viewport) -->
<footer>
</footer>
</div> <!--! end of #container -->
<!-- JavaScript at the bottom for fast page loading -->
<script>
var INCLUDE_URI = "js/";
</script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/util.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/webutil.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/logo.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/base64.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/websock.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/des.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/input.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/display.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/noVNC/rfb.js"></script>
<script src="https://raw.githubusercontent.com/novnc/noVNC/html5-test/js/ui.js"></script>
<script>
window.onload = UI.load;
</script>
<!-- end scripts-->
<!--[if lt IE 7 ]>
<script src="js/libs/dd_belatedpng.js"></script>
<script>DD_belatedPNG.fix("img, .png_bg"); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
<![endif]-->
<!-- mathiasbynens.be/notes/async-analytics-snippet Change UA-XXXXX-X to be your site's ID -->
<script>
var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
s.parentNode.insertBefore(g,s)}(document,"script"));
</script>
</body>
</html>