]>
Commit | Line | Data |
---|---|---|
5514d299 | 1 | <!DOCTYPE html> |
5299db1a | 2 | <html> |
53fc7392 CG |
3 | <head> |
4 | ||
d58f8b51 | 5 | <!-- |
f7ec5b2c | 6 | noVNC example: simple example using default UI |
d58f8b51 | 7 | Copyright (C) 2012 Joel Martin |
682fd02b | 8 | Copyright (C) 2016 Samuel Mannehed for Cendio AB |
6cba147d | 9 | Copyright (C) 2016 Pierre Ossman for Cendio AB |
1d728ace | 10 | noVNC is licensed under the MPL 2.0 (see LICENSE.txt) |
d58f8b51 | 11 | This file is licensed under the 2-Clause BSD license (see LICENSE.txt). |
9f0d23de PÅ |
12 | |
13 | Connect parameters are provided in query string: | |
14 | http://example.com/?host=HOST&port=PORT&encrypt=1&true_color=1 | |
494b407a GV |
15 | or the fragment: |
16 | http://example.com/#host=HOST&port=PORT&encrypt=1&true_color=1 | |
d595e656 | 17 | --> |
01a9eee9 | 18 | <title>noVNC</title> |
53fc7392 | 19 | |
a1dbbcc1 | 20 | <meta charset="utf-8" /> |
01a9eee9 JM |
21 | |
22 | <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
23 | Remove this if you use the .htaccess --> | |
a1dbbcc1 | 24 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
01a9eee9 | 25 | |
2b4e6ed5 PO |
26 | <!-- Icons (see Makefile for what the sizes are for) --> |
27 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> | |
28 | <link rel="icon" sizes="24x24" type="image/png" href="app/images/icons/novnc-24x24.png"> | |
29 | <link rel="icon" sizes="32x32" type="image/png" href="app/images/icons/novnc-32x32.png"> | |
30 | <link rel="icon" sizes="48x48" type="image/png" href="app/images/icons/novnc-48x48.png"> | |
31 | <link rel="icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png"> | |
32 | <link rel="icon" sizes="64x64" type="image/png" href="app/images/icons/novnc-64x64.png"> | |
33 | <link rel="icon" sizes="72x72" type="image/png" href="app/images/icons/novnc-72x72.png"> | |
34 | <link rel="icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png"> | |
35 | <link rel="icon" sizes="96x96" type="image/png" href="app/images/icons/novnc-96x96.png"> | |
36 | <link rel="icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png"> | |
37 | <link rel="icon" sizes="144x144" type="image/png" href="app/images/icons/novnc-144x144.png"> | |
38 | <link rel="icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png"> | |
39 | <link rel="icon" sizes="192x192" type="image/png" href="app/images/icons/novnc-192x192.png"> | |
40 | <link rel="icon" sizes="512x512" type="image/png" href="app/images/icons/novnc-512x512.png"> | |
41 | <link rel="icon" sizes="any" type="image/svg+xml" href="app/images/icons/novnc-icon.svg"> | |
42 | <!-- Repeated last so that legacy handling will pick this --> | |
43 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> | |
44 | ||
a5df24b4 | 45 | <!-- Apple iOS Safari settings --> |
a1dbbcc1 | 46 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
01a9eee9 | 47 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
b597bdd1 | 48 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
2b4e6ed5 PO |
49 | <!-- Home Screen Icons (favourites and bookmarks use the normal icons) --> |
50 | <link rel="apple-touch-icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png"> | |
51 | <link rel="apple-touch-icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png"> | |
52 | <link rel="apple-touch-icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png"> | |
53 | <link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png"> | |
5299db1a | 54 | |
01a9eee9 | 55 | <!-- Stylesheets --> |
ae510306 | 56 | <link rel="stylesheet" href="app/styles/base.css" /> |
01a9eee9 | 57 | |
01a9eee9 | 58 | <!-- |
5299db1a | 59 | <script type='text/javascript' |
01a9eee9 JM |
60 | src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> |
61 | --> | |
62 | ||
5299db1a | 63 | </head> |
65e27ddd | 64 | |
53fc7392 | 65 | <body> |
d24de750 SM |
66 | |
67 | <div id="noVNC_fallback_error"> | |
68 | <div>noVNC encountered an error:</div> | |
d8ff7c9e | 69 | <br> |
d24de750 SM |
70 | <div id="noVNC_fallback_errormsg"></div> |
71 | </div> | |
72 | ||
3911256c | 73 | <!-- noVNC Control Bar --> |
fb7c3b3b | 74 | <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> |
3911256c | 75 | |
38323d4d | 76 | <div id="noVNC_control_bar"> |
65e3d7d6 | 77 | <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div> |
38323d4d PO |
78 | |
79 | <div class="noVNC_scroll"> | |
80 | ||
edffd9e2 | 81 | <h1 class="noVNC_logo" translate="no"><span>no</span><br />VNC</h1> |
4d3aa0ef | 82 | |
3911256c | 83 | <!-- Drag/Pan the viewport --> |
8bf68826 | 84 | <input type="image" alt="viewport drag" src="app/images/drag.svg" |
a49d9298 | 85 | id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" |
a1dbbcc1 | 86 | title="Move/Drag Viewport" /> |
3911256c | 87 | |
88 | <!--noVNC Touch Device only buttons--> | |
a5df24b4 | 89 | <div id="noVNC_mobile_buttons"> |
8bf68826 | 90 | <input type="image" alt="No mousebutton" src="app/images/mouse_none.svg" |
cd5a035d PO |
91 | id="noVNC_mouse_button0" class="noVNC_button" |
92 | title="Active Mouse Button"/> | |
8bf68826 | 93 | <input type="image" alt="Left mousebutton" src="app/images/mouse_left.svg" |
cd5a035d PO |
94 | id="noVNC_mouse_button1" class="noVNC_button" |
95 | title="Active Mouse Button"/> | |
8bf68826 | 96 | <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.svg" |
cd5a035d PO |
97 | id="noVNC_mouse_button2" class="noVNC_button" |
98 | title="Active Mouse Button"/> | |
8bf68826 | 99 | <input type="image" alt="Right mousebutton" src="app/images/mouse_right.svg" |
cd5a035d PO |
100 | id="noVNC_mouse_button4" class="noVNC_button" |
101 | title="Active Mouse Button"/> | |
8bf68826 | 102 | <input type="image" alt="Keyboard" src="app/images/keyboard.svg" |
a49d9298 | 103 | id="noVNC_keyboard_button" class="noVNC_button" |
a1dbbcc1 | 104 | value="Keyboard" title="Show Keyboard" /> |
a5df24b4 | 105 | </div> |
01a9eee9 | 106 | |
ebbec43a PO |
107 | <!-- Extra manual keys --> |
108 | <div id="noVNC_extra_keys"> | |
109 | <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg" | |
cd5a035d PO |
110 | id="noVNC_toggle_extra_keys_button" class="noVNC_button" |
111 | title="Show Extra Keys"/> | |
fb7c3b3b PO |
112 | <div class="noVNC_vcenter"> |
113 | <div id="noVNC_modifiers" class="noVNC_panel"> | |
ebbec43a | 114 | <input type="image" alt="Ctrl" src="app/images/ctrl.svg" |
cd5a035d PO |
115 | id="noVNC_toggle_ctrl_button" class="noVNC_button" |
116 | title="Toggle Ctrl"/> | |
ebbec43a | 117 | <input type="image" alt="Alt" src="app/images/alt.svg" |
cd5a035d PO |
118 | id="noVNC_toggle_alt_button" class="noVNC_button" |
119 | title="Toggle Alt"/> | |
ebbec43a | 120 | <input type="image" alt="Tab" src="app/images/tab.svg" |
cd5a035d PO |
121 | id="noVNC_send_tab_button" class="noVNC_button" |
122 | title="Send Tab"/> | |
ebbec43a | 123 | <input type="image" alt="Esc" src="app/images/esc.svg" |
cd5a035d PO |
124 | id="noVNC_send_esc_button" class="noVNC_button" |
125 | title="Send Escape"/> | |
ca25d2ae PO |
126 | <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" |
127 | id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" | |
128 | title="Send Ctrl-Alt-Del" /> | |
bd88b943 | 129 | </div> |
fb7c3b3b | 130 | </div> |
a5df24b4 | 131 | </div> |
0fa4e0a9 | 132 | |
3911256c | 133 | <!-- XVP Shutdown/Reboot --> |
8bf68826 | 134 | <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg" |
a49d9298 | 135 | id="noVNC_xvp_button" class="noVNC_button" |
fb35d50f | 136 | title="Shutdown/Reboot..." /> |
fb7c3b3b | 137 | <div class="noVNC_vcenter"> |
286947cb | 138 | <div id="noVNC_xvp" class="noVNC_panel"> |
5454c345 PO |
139 | <div class="noVNC_heading"> |
140 | <img src="app/images/power.svg"> Power | |
141 | </div> | |
a49d9298 | 142 | <input type="button" id="noVNC_xvp_shutdown_button" value="Shutdown" /> |
143 | <input type="button" id="noVNC_xvp_reboot_button" value="Reboot" /> | |
144 | <input type="button" id="noVNC_xvp_reset_button" value="Reset" /> | |
3911256c | 145 | </div> |
fb7c3b3b | 146 | </div> |
0fa4e0a9 | 147 | |
3911256c | 148 | <!-- Clipboard --> |
8bf68826 | 149 | <input type="image" alt="Clipboard" src="app/images/clipboard.svg" |
a49d9298 | 150 | id="noVNC_clipboard_button" class="noVNC_button" |
26945049 | 151 | title="Clipboard" /> |
fb7c3b3b | 152 | <div class="noVNC_vcenter"> |
286947cb | 153 | <div id="noVNC_clipboard" class="noVNC_panel"> |
5454c345 PO |
154 | <div class="noVNC_heading"> |
155 | <img src="app/images/clipboard.svg"> Clipboard | |
156 | </div> | |
667a83e6 | 157 | <textarea id="noVNC_clipboard_text" rows=5></textarea> |
3911256c | 158 | <br /> |
159 | <input id="noVNC_clipboard_clear_button" type="button" | |
79fd3b1f | 160 | value="Clear" class="noVNC_submit" /> |
3911256c | 161 | </div> |
fb7c3b3b | 162 | </div> |
01a9eee9 | 163 | |
3911256c | 164 | <!-- Toggle fullscreen --> |
8bf68826 | 165 | <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg" |
a49d9298 | 166 | id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden" |
7d1dc09a | 167 | title="Fullscreen" /> |
fb35d50f | 168 | |
3911256c | 169 | <!-- Settings --> |
8bf68826 | 170 | <input type="image" alt="Settings" src="app/images/settings.svg" |
a49d9298 | 171 | id="noVNC_settings_button" class="noVNC_button" |
26945049 | 172 | title="Settings" /> |
fb7c3b3b | 173 | <div class="noVNC_vcenter"> |
286947cb | 174 | <div id="noVNC_settings" class="noVNC_panel"> |
01a9eee9 | 175 | <ul> |
5454c345 PO |
176 | <li class="noVNC_heading"> |
177 | <img src="app/images/settings.svg"> Settings | |
178 | </li> | |
1fe9faee PO |
179 | <li> |
180 | <label><input id="noVNC_setting_true_color" type="checkbox" checked /> True Color</label> | |
181 | </li> | |
182 | <li> | |
183 | <label><input id="noVNC_setting_cursor" type="checkbox" /> Local Cursor</label> | |
184 | </li> | |
185 | <li> | |
186 | <label><input id="noVNC_setting_clip" type="checkbox" /> Clip to Window</label> | |
187 | </li> | |
188 | <li> | |
189 | <label><input id="noVNC_setting_shared" type="checkbox" /> Shared Mode</label> | |
190 | </li> | |
191 | <li> | |
192 | <label><input id="noVNC_setting_view_only" type="checkbox" /> View Only</label> | |
193 | </li> | |
194 | <li><hr></li> | |
195 | <li> | |
575f6983 PO |
196 | <div class="noVNC_expander">WebSocket</div> |
197 | <div><ul> | |
198 | <li> | |
199 | <label><input id="noVNC_setting_encrypt" type="checkbox" /> Encrypt</label> | |
200 | </li> | |
201 | <li> | |
202 | <label for="noVNC_setting_host">Host:</label> | |
203 | <input id="noVNC_setting_host" /> | |
204 | </li> | |
205 | <li> | |
206 | <label for="noVNC_setting_port">Port:</label> | |
207 | <input id="noVNC_setting_port" /> | |
208 | </li> | |
209 | <li> | |
210 | <label for="noVNC_setting_path">Path:</label> | |
211 | <input id="noVNC_setting_path" type="input" value="websockify" /> | |
212 | </li> | |
213 | </ul></div> | |
1fe9faee PO |
214 | </li> |
215 | <li> | |
216 | <label for="noVNC_setting_resize">Scaling Mode:</label> | |
682fd02b | 217 | <select id="noVNC_setting_resize" name="vncResize"> |
8b46c0de | 218 | <option value="off">None</option> |
72747869 SR |
219 | <option value="scale">Local Scaling</option> |
220 | <option value="downscale">Local Downscaling</option> | |
8b46c0de | 221 | <option value="remote">Remote Resizing</option> |
1fe9faee PO |
222 | </select> |
223 | </li> | |
224 | <li> | |
225 | <label for="noVNC_setting_repeaterID">Repeater ID:</label> | |
226 | <input id="noVNC_setting_repeaterID" type="input" value="" /> | |
8b46c0de | 227 | </li> |
1fe9faee | 228 | <li><hr></li> |
01a9eee9 | 229 | <!-- Logging selection dropdown --> |
1fe9faee PO |
230 | <li> |
231 | <label>Logging: | |
eeb395dc | 232 | <select id="noVNC_setting_logging" name="vncLogging"> |
1fe9faee PO |
233 | </select> |
234 | </label> | |
235 | </li> | |
236 | <li><hr></li> | |
237 | <li> | |
238 | <input type="button" id="noVNC_settings_apply" value="Apply" class="noVNC_submit" /> | |
01a9eee9 | 239 | </li> |
01a9eee9 | 240 | </ul> |
3911256c | 241 | </div> |
fb7c3b3b | 242 | </div> |
01a9eee9 | 243 | |
3911256c | 244 | <!-- Connection Controls --> |
8bf68826 | 245 | <input type="image" alt="Connect" src="app/images/connect.svg" |
a49d9298 | 246 | id="noVNC_connect_controls_button" class="noVNC_button" |
26945049 | 247 | title="Connect" /> |
8bf68826 | 248 | <input type="image" alt="Disconnect" src="app/images/disconnect.svg" |
a49d9298 | 249 | id="noVNC_disconnect_button" class="noVNC_button" |
26945049 | 250 | title="Disconnect" /> |
fb7c3b3b | 251 | <div class="noVNC_vcenter"> |
a49d9298 | 252 | <div id="noVNC_connect_controls" class="noVNC_panel"> |
3911256c | 253 | <ul> |
5454c345 PO |
254 | <li class="noVNC_heading"> |
255 | <img src="app/images/connect.svg"> Connection | |
256 | </li> | |
1fe9faee PO |
257 | <li> |
258 | <label for="noVNC_setting_password">Password:</label> | |
259 | <input id="noVNC_setting_password" type="password" /> | |
260 | </li> | |
1fe9faee PO |
261 | <li><hr></li> |
262 | <li> | |
263 | <input id="noVNC_connect_button" type="button" value="Connect" class="noVNC_submit" /> | |
264 | </li> | |
3911256c | 265 | </ul> |
266 | </div> | |
fb7c3b3b | 267 | </div> |
38323d4d PO |
268 | |
269 | </div> | |
01a9eee9 JM |
270 | </div> |
271 | ||
3f2c25a6 | 272 | </div> <!-- End of noVNC_control_bar --> |
01a9eee9 | 273 | |
8434cc81 PO |
274 | <!-- Status Dialog --> |
275 | <div id="noVNC_status"></div> | |
276 | ||
8a7ec6ea SM |
277 | <!-- Password Dialog --> |
278 | <div class="noVNC_center"> | |
279 | <div id="noVNC_password_dlg" class="noVNC_panel"> | |
280 | <ul> | |
1fe9faee PO |
281 | <li> |
282 | <label>Password:</label> | |
283 | <input id="noVNC_password_input" type="password" /> | |
284 | </li> | |
285 | <li> | |
286 | <input id="noVNC_password_button" type="button" value="Send Password" class="noVNC_submit" /> | |
287 | </li> | |
8a7ec6ea SM |
288 | </ul> |
289 | </div> | |
290 | </div> | |
b70ce077 | 291 | |
8d710e8b PO |
292 | <!-- Transition Screens --> |
293 | <div id="noVNC_transition"> | |
294 | <div id="noVNC_transition_text"></div> | |
295 | <div class="noVNC_spinner"></div> | |
296 | </div> | |
297 | ||
553864e8 | 298 | <div id="noVNC_container"> |
edffd9e2 | 299 | <h1 id="noVNC_logo" class="noVNC_logo" translate="no"><span>no</span><br />VNC</h1> |
a5df24b4 JM |
300 | |
301 | <!-- HTML5 Canvas --> | |
553864e8 | 302 | <div id="noVNC_screen"> |
c8d4402f PO |
303 | <!-- Note that Google Chrome on Android doesn't respect any of these, |
304 | html attributes which attempt to disable text suggestions on the | |
305 | on-screen keyboard. Let's hope Chrome implements the ime-mode | |
306 | style for example --> | |
307 | <textarea id="noVNC_keyboardinput" autocapitalize="off" | |
308 | autocorrect="off" autocomplete="off" spellcheck="false" | |
309 | mozactionhint="Enter"></textarea> | |
310 | ||
fdedbafb | 311 | <canvas id="noVNC_canvas" width="0" height="0"> |
a5df24b4 JM |
312 | Canvas not supported. |
313 | </canvas> | |
314 | </div> | |
315 | ||
01a9eee9 | 316 | </div> |
63bf2ba5 PO |
317 | |
318 | <audio id="noVNC_bell"> | |
319 | <source src="app/sounds/bell.oga" type="audio/ogg"> | |
320 | <source src="app/sounds/bell.mp3" type="audio/mpeg"> | |
321 | </audio> | |
322 | ||
ae510306 SR |
323 | <!-- begin scripts --> |
324 | <script src="core/util.js"></script> | |
72bdd06e | 325 | <script src="app/webutil.js"></script> |
ae510306 SR |
326 | <script src="app/ui.js"></script> |
327 | <!-- end scripts --> | |
6f4b1e40 | 328 | |
53fc7392 | 329 | </body> |
65e27ddd | 330 | </html> |