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