]>
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 |
84586c0f | 7 | Copyright (C) 2018 The noVNC Authors |
1d728ace | 8 | noVNC is licensed under the MPL 2.0 (see LICENSE.txt) |
d58f8b51 | 9 | This file is licensed under the 2-Clause BSD license (see LICENSE.txt). |
9f0d23de PÅ |
10 | |
11 | Connect parameters are provided in query string: | |
26586b9d | 12 | http://example.com/?host=HOST&port=PORT&encrypt=1 |
494b407a | 13 | or the fragment: |
26586b9d | 14 | http://example.com/#host=HOST&port=PORT&encrypt=1 |
d595e656 | 15 | --> |
01a9eee9 | 16 | <title>noVNC</title> |
53fc7392 | 17 | |
a1dbbcc1 | 18 | <meta charset="utf-8" /> |
01a9eee9 JM |
19 | |
20 | <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
21 | Remove this if you use the .htaccess --> | |
a1dbbcc1 | 22 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
01a9eee9 | 23 | |
eebef339 | 24 | <!-- Icons (see app/images/icons/Makefile for what the sizes are for) --> |
2b4e6ed5 PO |
25 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> |
26 | <link rel="icon" sizes="24x24" type="image/png" href="app/images/icons/novnc-24x24.png"> | |
27 | <link rel="icon" sizes="32x32" type="image/png" href="app/images/icons/novnc-32x32.png"> | |
28 | <link rel="icon" sizes="48x48" type="image/png" href="app/images/icons/novnc-48x48.png"> | |
29 | <link rel="icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png"> | |
30 | <link rel="icon" sizes="64x64" type="image/png" href="app/images/icons/novnc-64x64.png"> | |
31 | <link rel="icon" sizes="72x72" type="image/png" href="app/images/icons/novnc-72x72.png"> | |
32 | <link rel="icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png"> | |
33 | <link rel="icon" sizes="96x96" type="image/png" href="app/images/icons/novnc-96x96.png"> | |
34 | <link rel="icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png"> | |
35 | <link rel="icon" sizes="144x144" type="image/png" href="app/images/icons/novnc-144x144.png"> | |
36 | <link rel="icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png"> | |
37 | <link rel="icon" sizes="192x192" type="image/png" href="app/images/icons/novnc-192x192.png"> | |
42463da1 | 38 | <!-- Firefox currently mishandles SVG, see #1419039 |
2b4e6ed5 | 39 | <link rel="icon" sizes="any" type="image/svg+xml" href="app/images/icons/novnc-icon.svg"> |
42463da1 | 40 | --> |
2b4e6ed5 PO |
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 | |
adfc9d3f SR |
57 | <!-- this is included as a normal file in order to catch script-loading errors as well --> |
58 | <script type="text/javascript" src="app/error-handler.js"></script> | |
59 | ||
c53af3f5 | 60 | <!-- begin scripts --> |
152c3995 SR |
61 | <!-- promise polyfills promises for IE11 --> |
62 | <script src="vendor/promise.js"></script> | |
36bdf136 PO |
63 | <!-- ES2015/ES6 modules polyfill --> |
64 | <script type="module"> | |
65 | window._noVNC_has_module_support = true; | |
66 | </script> | |
67 | <script> | |
68 | window.addEventListener("load", function() { | |
69 | if (window._noVNC_has_module_support) return; | |
70 | var loader = document.createElement("script"); | |
71 | loader.src = "vendor/browser-es-module-loader/dist/browser-es-module-loader.js"; | |
72 | document.head.appendChild(loader); | |
73 | }); | |
74 | </script> | |
75 | <!-- actual script modules --> | |
bf826444 | 76 | <script type="module" crossorigin="anonymous" src="app/ui.js"></script> |
c53af3f5 | 77 | <!-- end scripts --> |
5299db1a | 78 | </head> |
65e27ddd | 79 | |
53fc7392 | 80 | <body> |
d24de750 | 81 | |
13c558e3 PO |
82 | <div id="noVNC_fallback_error" class="noVNC_center"> |
83 | <div> | |
84 | <div>noVNC encountered an error:</div> | |
85 | <br> | |
86 | <div id="noVNC_fallback_errormsg"></div> | |
87 | </div> | |
d24de750 SM |
88 | </div> |
89 | ||
3911256c | 90 | <!-- noVNC Control Bar --> |
fb7c3b3b | 91 | <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> |
3911256c | 92 | |
38323d4d | 93 | <div id="noVNC_control_bar"> |
65e3d7d6 | 94 | <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div> |
38323d4d PO |
95 | |
96 | <div class="noVNC_scroll"> | |
97 | ||
edffd9e2 | 98 | <h1 class="noVNC_logo" translate="no"><span>no</span><br />VNC</h1> |
4d3aa0ef | 99 | |
3911256c | 100 | <!-- Drag/Pan the viewport --> |
8bf68826 | 101 | <input type="image" alt="viewport drag" src="app/images/drag.svg" |
a49d9298 | 102 | id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" |
a1dbbcc1 | 103 | title="Move/Drag Viewport" /> |
3911256c | 104 | |
105 | <!--noVNC Touch Device only buttons--> | |
a5df24b4 | 106 | <div id="noVNC_mobile_buttons"> |
8bf68826 | 107 | <input type="image" alt="No mousebutton" src="app/images/mouse_none.svg" |
cd5a035d PO |
108 | id="noVNC_mouse_button0" class="noVNC_button" |
109 | title="Active Mouse Button"/> | |
8bf68826 | 110 | <input type="image" alt="Left mousebutton" src="app/images/mouse_left.svg" |
cd5a035d PO |
111 | id="noVNC_mouse_button1" class="noVNC_button" |
112 | title="Active Mouse Button"/> | |
8bf68826 | 113 | <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.svg" |
cd5a035d PO |
114 | id="noVNC_mouse_button2" class="noVNC_button" |
115 | title="Active Mouse Button"/> | |
8bf68826 | 116 | <input type="image" alt="Right mousebutton" src="app/images/mouse_right.svg" |
cd5a035d PO |
117 | id="noVNC_mouse_button4" class="noVNC_button" |
118 | title="Active Mouse Button"/> | |
8bf68826 | 119 | <input type="image" alt="Keyboard" src="app/images/keyboard.svg" |
a49d9298 | 120 | id="noVNC_keyboard_button" class="noVNC_button" |
a1dbbcc1 | 121 | value="Keyboard" title="Show Keyboard" /> |
a5df24b4 | 122 | </div> |
01a9eee9 | 123 | |
ebbec43a PO |
124 | <!-- Extra manual keys --> |
125 | <div id="noVNC_extra_keys"> | |
126 | <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg" | |
cd5a035d PO |
127 | id="noVNC_toggle_extra_keys_button" class="noVNC_button" |
128 | title="Show Extra Keys"/> | |
fb7c3b3b PO |
129 | <div class="noVNC_vcenter"> |
130 | <div id="noVNC_modifiers" class="noVNC_panel"> | |
ebbec43a | 131 | <input type="image" alt="Ctrl" src="app/images/ctrl.svg" |
cd5a035d PO |
132 | id="noVNC_toggle_ctrl_button" class="noVNC_button" |
133 | title="Toggle Ctrl"/> | |
ebbec43a | 134 | <input type="image" alt="Alt" src="app/images/alt.svg" |
cd5a035d PO |
135 | id="noVNC_toggle_alt_button" class="noVNC_button" |
136 | title="Toggle Alt"/> | |
3e835a5d SS |
137 | <input type="image" alt="Windows" src="app/images/windows.svg" |
138 | id="noVNC_toggle_windows_button" class="noVNC_button" | |
139 | title="Toggle Windows"/> | |
ebbec43a | 140 | <input type="image" alt="Tab" src="app/images/tab.svg" |
cd5a035d PO |
141 | id="noVNC_send_tab_button" class="noVNC_button" |
142 | title="Send Tab"/> | |
ebbec43a | 143 | <input type="image" alt="Esc" src="app/images/esc.svg" |
cd5a035d PO |
144 | id="noVNC_send_esc_button" class="noVNC_button" |
145 | title="Send Escape"/> | |
ca25d2ae PO |
146 | <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" |
147 | id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" | |
148 | title="Send Ctrl-Alt-Del" /> | |
bd88b943 | 149 | </div> |
fb7c3b3b | 150 | </div> |
a5df24b4 | 151 | </div> |
0fa4e0a9 | 152 | |
cd523e8f | 153 | <!-- Shutdown/Reboot --> |
8bf68826 | 154 | <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg" |
cd523e8f | 155 | id="noVNC_power_button" class="noVNC_button" |
fb35d50f | 156 | title="Shutdown/Reboot..." /> |
fb7c3b3b | 157 | <div class="noVNC_vcenter"> |
cd523e8f | 158 | <div id="noVNC_power" class="noVNC_panel"> |
5454c345 PO |
159 | <div class="noVNC_heading"> |
160 | <img src="app/images/power.svg"> Power | |
161 | </div> | |
cd523e8f PO |
162 | <input type="button" id="noVNC_shutdown_button" value="Shutdown" /> |
163 | <input type="button" id="noVNC_reboot_button" value="Reboot" /> | |
164 | <input type="button" id="noVNC_reset_button" value="Reset" /> | |
3911256c | 165 | </div> |
fb7c3b3b | 166 | </div> |
0fa4e0a9 | 167 | |
3911256c | 168 | <!-- Clipboard --> |
8bf68826 | 169 | <input type="image" alt="Clipboard" src="app/images/clipboard.svg" |
a49d9298 | 170 | id="noVNC_clipboard_button" class="noVNC_button" |
26945049 | 171 | title="Clipboard" /> |
fb7c3b3b | 172 | <div class="noVNC_vcenter"> |
286947cb | 173 | <div id="noVNC_clipboard" class="noVNC_panel"> |
5454c345 PO |
174 | <div class="noVNC_heading"> |
175 | <img src="app/images/clipboard.svg"> Clipboard | |
176 | </div> | |
667a83e6 | 177 | <textarea id="noVNC_clipboard_text" rows=5></textarea> |
3911256c | 178 | <br /> |
179 | <input id="noVNC_clipboard_clear_button" type="button" | |
79fd3b1f | 180 | value="Clear" class="noVNC_submit" /> |
3911256c | 181 | </div> |
fb7c3b3b | 182 | </div> |
01a9eee9 | 183 | |
3911256c | 184 | <!-- Toggle fullscreen --> |
8bf68826 | 185 | <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg" |
a49d9298 | 186 | id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden" |
7d1dc09a | 187 | title="Fullscreen" /> |
fb35d50f | 188 | |
3911256c | 189 | <!-- Settings --> |
8bf68826 | 190 | <input type="image" alt="Settings" src="app/images/settings.svg" |
a49d9298 | 191 | id="noVNC_settings_button" class="noVNC_button" |
26945049 | 192 | title="Settings" /> |
fb7c3b3b | 193 | <div class="noVNC_vcenter"> |
286947cb | 194 | <div id="noVNC_settings" class="noVNC_panel"> |
01a9eee9 | 195 | <ul> |
5454c345 PO |
196 | <li class="noVNC_heading"> |
197 | <img src="app/images/settings.svg"> Settings | |
198 | </li> | |
1fe9faee | 199 | <li> |
13304bac | 200 | <label><input id="noVNC_setting_shared" type="checkbox" /> Shared Mode</label> |
1fe9faee PO |
201 | </li> |
202 | <li> | |
13304bac | 203 | <label><input id="noVNC_setting_view_only" type="checkbox" /> View Only</label> |
1fe9faee | 204 | </li> |
13304bac | 205 | <li><hr></li> |
1fe9faee | 206 | <li> |
a49ade5f | 207 | <label><input id="noVNC_setting_view_clip" type="checkbox" /> Clip to Window</label> |
1fe9faee PO |
208 | </li> |
209 | <li> | |
13304bac PO |
210 | <label for="noVNC_setting_resize">Scaling Mode:</label> |
211 | <select id="noVNC_setting_resize" name="vncResize"> | |
212 | <option value="off">None</option> | |
213 | <option value="scale">Local Scaling</option> | |
13304bac PO |
214 | <option value="remote">Remote Resizing</option> |
215 | </select> | |
1fe9faee PO |
216 | </li> |
217 | <li><hr></li> | |
218 | <li> | |
13304bac | 219 | <div class="noVNC_expander">Advanced</div> |
575f6983 | 220 | <div><ul> |
575f6983 | 221 | <li> |
13304bac PO |
222 | <label for="noVNC_setting_repeaterID">Repeater ID:</label> |
223 | <input id="noVNC_setting_repeaterID" type="input" value="" /> | |
575f6983 PO |
224 | </li> |
225 | <li> | |
13304bac PO |
226 | <div class="noVNC_expander">WebSocket</div> |
227 | <div><ul> | |
228 | <li> | |
229 | <label><input id="noVNC_setting_encrypt" type="checkbox" /> Encrypt</label> | |
230 | </li> | |
231 | <li> | |
232 | <label for="noVNC_setting_host">Host:</label> | |
233 | <input id="noVNC_setting_host" /> | |
234 | </li> | |
235 | <li> | |
236 | <label for="noVNC_setting_port">Port:</label> | |
6c857dc5 | 237 | <input id="noVNC_setting_port" type="number" /> |
13304bac PO |
238 | </li> |
239 | <li> | |
240 | <label for="noVNC_setting_path">Path:</label> | |
241 | <input id="noVNC_setting_path" type="input" value="websockify" /> | |
242 | </li> | |
243 | </ul></div> | |
575f6983 | 244 | </li> |
13304bac | 245 | <li><hr></li> |
044d54ed AN |
246 | <li> |
247 | <label><input id="noVNC_setting_reconnect" type="checkbox" /> Automatic Reconnect</label> | |
248 | </li> | |
249 | <li> | |
250 | <label for="noVNC_setting_reconnect_delay">Reconnect Delay (ms):</label> | |
6c857dc5 | 251 | <input id="noVNC_setting_reconnect_delay" type="number" /> |
044d54ed AN |
252 | </li> |
253 | <li><hr></li> | |
4c38179d AP |
254 | <li> |
255 | <label><input id="noVNC_setting_show_dot" type="checkbox" /> Show Dot when No Cursor</label> | |
256 | </li> | |
257 | <li><hr></li> | |
13304bac | 258 | <!-- Logging selection dropdown --> |
575f6983 | 259 | <li> |
13304bac PO |
260 | <label>Logging: |
261 | <select id="noVNC_setting_logging" name="vncLogging"> | |
262 | </select> | |
263 | </label> | |
575f6983 PO |
264 | </li> |
265 | </ul></div> | |
1fe9faee | 266 | </li> |
01a9eee9 | 267 | </ul> |
3911256c | 268 | </div> |
fb7c3b3b | 269 | </div> |
01a9eee9 | 270 | |
3911256c | 271 | <!-- Connection Controls --> |
8bf68826 | 272 | <input type="image" alt="Disconnect" src="app/images/disconnect.svg" |
a49d9298 | 273 | id="noVNC_disconnect_button" class="noVNC_button" |
26945049 | 274 | title="Disconnect" /> |
38323d4d PO |
275 | |
276 | </div> | |
01a9eee9 JM |
277 | </div> |
278 | ||
bbc1648c SM |
279 | <div id="noVNC_control_bar_hint"></div> |
280 | ||
3f2c25a6 | 281 | </div> <!-- End of noVNC_control_bar --> |
01a9eee9 | 282 | |
8434cc81 PO |
283 | <!-- Status Dialog --> |
284 | <div id="noVNC_status"></div> | |
285 | ||
b3c932c3 PO |
286 | <!-- Connect button --> |
287 | <div class="noVNC_center"> | |
288 | <div id="noVNC_connect_dlg"> | |
289 | <div class="noVNC_logo" translate="no"><span>no</span>VNC</div> | |
290 | <div id="noVNC_connect_button"><div> | |
291 | <img src="app/images/connect.svg"> Connect | |
292 | </div></div> | |
293 | </div> | |
294 | </div> | |
295 | ||
8a7ec6ea | 296 | <!-- Password Dialog --> |
cac935ff | 297 | <div class="noVNC_center noVNC_connect_layer"> |
84b05d24 | 298 | <div id="noVNC_password_dlg" class="noVNC_panel"><form> |
8a7ec6ea | 299 | <ul> |
1fe9faee PO |
300 | <li> |
301 | <label>Password:</label> | |
302 | <input id="noVNC_password_input" type="password" /> | |
303 | </li> | |
304 | <li> | |
84b05d24 | 305 | <input id="noVNC_password_button" type="submit" value="Send Password" class="noVNC_submit" /> |
1fe9faee | 306 | </li> |
8a7ec6ea | 307 | </ul> |
84b05d24 | 308 | </form></div> |
8a7ec6ea | 309 | </div> |
b70ce077 | 310 | |
8d710e8b PO |
311 | <!-- Transition Screens --> |
312 | <div id="noVNC_transition"> | |
313 | <div id="noVNC_transition_text"></div> | |
044d54ed AN |
314 | <div> |
315 | <input type="button" id="noVNC_cancel_reconnect_button" value="Cancel" class="noVNC_submit" /> | |
316 | </div> | |
8d710e8b PO |
317 | <div class="noVNC_spinner"></div> |
318 | </div> | |
319 | ||
9b84f516 | 320 | <!-- This is where the RFB elements will attach --> |
553864e8 | 321 | <div id="noVNC_container"> |
9b84f516 PO |
322 | <!-- Note that Google Chrome on Android doesn't respect any of these, |
323 | html attributes which attempt to disable text suggestions on the | |
324 | on-screen keyboard. Let's hope Chrome implements the ime-mode | |
325 | style for example --> | |
326 | <textarea id="noVNC_keyboardinput" autocapitalize="off" | |
327 | autocorrect="off" autocomplete="off" spellcheck="false" | |
328 | mozactionhint="Enter" tabindex="-1"></textarea> | |
01a9eee9 | 329 | </div> |
63bf2ba5 PO |
330 | |
331 | <audio id="noVNC_bell"> | |
332 | <source src="app/sounds/bell.oga" type="audio/ogg"> | |
333 | <source src="app/sounds/bell.mp3" type="audio/mpeg"> | |
334 | </audio> | |
53fc7392 | 335 | </body> |
65e27ddd | 336 | </html> |