]>
Commit | Line | Data |
---|---|---|
5514d299 | 1 | <!DOCTYPE html> |
80c52ba7 | 2 | <html lang="en" class="noVNC_loading"> |
53fc7392 CG |
3 | <head> |
4 | ||
d58f8b51 | 5 | <!-- |
f7ec5b2c | 6 | noVNC example: simple example using default UI |
412d9306 | 7 | Copyright (C) 2019 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 | |
2aa3b5bc | 18 | <meta charset="utf-8"> |
01a9eee9 | 19 | |
eebef339 | 20 | <!-- Icons (see app/images/icons/Makefile for what the sizes are for) --> |
2aa3b5bc PO |
21 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> |
22 | <link rel="icon" sizes="24x24" type="image/png" href="app/images/icons/novnc-24x24.png"> | |
23 | <link rel="icon" sizes="32x32" type="image/png" href="app/images/icons/novnc-32x32.png"> | |
24 | <link rel="icon" sizes="48x48" type="image/png" href="app/images/icons/novnc-48x48.png"> | |
25 | <link rel="icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png"> | |
26 | <link rel="icon" sizes="64x64" type="image/png" href="app/images/icons/novnc-64x64.png"> | |
27 | <link rel="icon" sizes="72x72" type="image/png" href="app/images/icons/novnc-72x72.png"> | |
28 | <link rel="icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png"> | |
29 | <link rel="icon" sizes="96x96" type="image/png" href="app/images/icons/novnc-96x96.png"> | |
30 | <link rel="icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png"> | |
31 | <link rel="icon" sizes="144x144" type="image/png" href="app/images/icons/novnc-144x144.png"> | |
32 | <link rel="icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png"> | |
33 | <link rel="icon" sizes="192x192" type="image/png" href="app/images/icons/novnc-192x192.png"> | |
42463da1 | 34 | <!-- Firefox currently mishandles SVG, see #1419039 |
2aa3b5bc | 35 | <link rel="icon" sizes="any" type="image/svg+xml" href="app/images/icons/novnc-icon.svg"> |
42463da1 | 36 | --> |
2b4e6ed5 | 37 | <!-- Repeated last so that legacy handling will pick this --> |
2aa3b5bc | 38 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> |
2b4e6ed5 | 39 | |
a5df24b4 | 40 | <!-- Apple iOS Safari settings --> |
2aa3b5bc PO |
41 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
42 | <meta name="apple-mobile-web-app-capable" content="yes"> | |
43 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | |
2b4e6ed5 | 44 | <!-- Home Screen Icons (favourites and bookmarks use the normal icons) --> |
2aa3b5bc PO |
45 | <link rel="apple-touch-icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png"> |
46 | <link rel="apple-touch-icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png"> | |
47 | <link rel="apple-touch-icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png"> | |
48 | <link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png"> | |
5299db1a | 49 | |
01a9eee9 | 50 | <!-- Stylesheets --> |
2aa3b5bc | 51 | <link rel="stylesheet" href="app/styles/base.css"> |
01a9eee9 | 52 | |
adfc9d3f | 53 | <!-- this is included as a normal file in order to catch script-loading errors as well --> |
45c644a6 | 54 | <script src="app/error-handler.js"></script> |
adfc9d3f | 55 | |
c53af3f5 | 56 | <!-- begin scripts --> |
152c3995 SR |
57 | <!-- promise polyfills promises for IE11 --> |
58 | <script src="vendor/promise.js"></script> | |
36bdf136 | 59 | <!-- ES2015/ES6 modules polyfill --> |
0b51419c | 60 | <script nomodule src="vendor/browser-es-module-loader/dist/browser-es-module-loader.js"></script> |
36bdf136 | 61 | <!-- actual script modules --> |
bf826444 | 62 | <script type="module" crossorigin="anonymous" src="app/ui.js"></script> |
c53af3f5 | 63 | <!-- end scripts --> |
5299db1a | 64 | </head> |
65e27ddd | 65 | |
53fc7392 | 66 | <body> |
d24de750 | 67 | |
13c558e3 PO |
68 | <div id="noVNC_fallback_error" class="noVNC_center"> |
69 | <div> | |
70 | <div>noVNC encountered an error:</div> | |
2aa3b5bc | 71 | <br> |
13c558e3 PO |
72 | <div id="noVNC_fallback_errormsg"></div> |
73 | </div> | |
d24de750 SM |
74 | </div> |
75 | ||
3911256c | 76 | <!-- noVNC Control Bar --> |
fb7c3b3b | 77 | <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> |
3911256c | 78 | |
38323d4d | 79 | <div id="noVNC_control_bar"> |
65e3d7d6 | 80 | <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div> |
38323d4d PO |
81 | |
82 | <div class="noVNC_scroll"> | |
83 | ||
2aa3b5bc | 84 | <h1 class="noVNC_logo" translate="no"><span>no</span><br>VNC</h1> |
4d3aa0ef | 85 | |
3911256c | 86 | <!-- Drag/Pan the viewport --> |
2b4c6554 | 87 | <input type="image" alt="Drag" src="app/images/drag.svg" |
a49d9298 | 88 | id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" |
2aa3b5bc | 89 | title="Move/Drag Viewport"> |
3911256c | 90 | |
91 | <!--noVNC Touch Device only buttons--> | |
a5df24b4 | 92 | <div id="noVNC_mobile_buttons"> |
8bf68826 | 93 | <input type="image" alt="No mousebutton" src="app/images/mouse_none.svg" |
cd5a035d | 94 | id="noVNC_mouse_button0" class="noVNC_button" |
2aa3b5bc | 95 | title="Active Mouse Button"> |
8bf68826 | 96 | <input type="image" alt="Left mousebutton" src="app/images/mouse_left.svg" |
cd5a035d | 97 | id="noVNC_mouse_button1" class="noVNC_button" |
2aa3b5bc | 98 | title="Active Mouse Button"> |
8bf68826 | 99 | <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.svg" |
cd5a035d | 100 | id="noVNC_mouse_button2" class="noVNC_button" |
2aa3b5bc | 101 | title="Active Mouse Button"> |
8bf68826 | 102 | <input type="image" alt="Right mousebutton" src="app/images/mouse_right.svg" |
cd5a035d | 103 | id="noVNC_mouse_button4" class="noVNC_button" |
2aa3b5bc | 104 | title="Active Mouse Button"> |
8bf68826 | 105 | <input type="image" alt="Keyboard" src="app/images/keyboard.svg" |
2aa3b5bc | 106 | id="noVNC_keyboard_button" class="noVNC_button" title="Show Keyboard"> |
a5df24b4 | 107 | </div> |
01a9eee9 | 108 | |
ebbec43a PO |
109 | <!-- Extra manual keys --> |
110 | <div id="noVNC_extra_keys"> | |
111 | <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg" | |
cd5a035d | 112 | id="noVNC_toggle_extra_keys_button" class="noVNC_button" |
2aa3b5bc | 113 | title="Show Extra Keys"> |
fb7c3b3b PO |
114 | <div class="noVNC_vcenter"> |
115 | <div id="noVNC_modifiers" class="noVNC_panel"> | |
ebbec43a | 116 | <input type="image" alt="Ctrl" src="app/images/ctrl.svg" |
cd5a035d | 117 | id="noVNC_toggle_ctrl_button" class="noVNC_button" |
2aa3b5bc | 118 | title="Toggle Ctrl"> |
ebbec43a | 119 | <input type="image" alt="Alt" src="app/images/alt.svg" |
cd5a035d | 120 | id="noVNC_toggle_alt_button" class="noVNC_button" |
2aa3b5bc | 121 | title="Toggle Alt"> |
3e835a5d SS |
122 | <input type="image" alt="Windows" src="app/images/windows.svg" |
123 | id="noVNC_toggle_windows_button" class="noVNC_button" | |
2aa3b5bc | 124 | title="Toggle Windows"> |
ebbec43a | 125 | <input type="image" alt="Tab" src="app/images/tab.svg" |
cd5a035d | 126 | id="noVNC_send_tab_button" class="noVNC_button" |
2aa3b5bc | 127 | title="Send Tab"> |
ebbec43a | 128 | <input type="image" alt="Esc" src="app/images/esc.svg" |
cd5a035d | 129 | id="noVNC_send_esc_button" class="noVNC_button" |
2aa3b5bc | 130 | title="Send Escape"> |
ca25d2ae PO |
131 | <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" |
132 | id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" | |
2aa3b5bc | 133 | title="Send Ctrl-Alt-Del"> |
bd88b943 | 134 | </div> |
fb7c3b3b | 135 | </div> |
a5df24b4 | 136 | </div> |
0fa4e0a9 | 137 | |
cd523e8f | 138 | <!-- Shutdown/Reboot --> |
8bf68826 | 139 | <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg" |
cd523e8f | 140 | id="noVNC_power_button" class="noVNC_button" |
2aa3b5bc | 141 | title="Shutdown/Reboot..."> |
fb7c3b3b | 142 | <div class="noVNC_vcenter"> |
cd523e8f | 143 | <div id="noVNC_power" class="noVNC_panel"> |
5454c345 | 144 | <div class="noVNC_heading"> |
2aa3b5bc | 145 | <img alt="" src="app/images/power.svg"> Power |
5454c345 | 146 | </div> |
2aa3b5bc PO |
147 | <input type="button" id="noVNC_shutdown_button" value="Shutdown"> |
148 | <input type="button" id="noVNC_reboot_button" value="Reboot"> | |
149 | <input type="button" id="noVNC_reset_button" value="Reset"> | |
3911256c | 150 | </div> |
fb7c3b3b | 151 | </div> |
0fa4e0a9 | 152 | |
3911256c | 153 | <!-- Clipboard --> |
8bf68826 | 154 | <input type="image" alt="Clipboard" src="app/images/clipboard.svg" |
a49d9298 | 155 | id="noVNC_clipboard_button" class="noVNC_button" |
2aa3b5bc | 156 | title="Clipboard"> |
fb7c3b3b | 157 | <div class="noVNC_vcenter"> |
286947cb | 158 | <div id="noVNC_clipboard" class="noVNC_panel"> |
5454c345 | 159 | <div class="noVNC_heading"> |
2aa3b5bc | 160 | <img alt="" src="app/images/clipboard.svg"> Clipboard |
5454c345 | 161 | </div> |
667a83e6 | 162 | <textarea id="noVNC_clipboard_text" rows=5></textarea> |
2aa3b5bc | 163 | <br> |
3911256c | 164 | <input id="noVNC_clipboard_clear_button" type="button" |
2aa3b5bc | 165 | value="Clear" class="noVNC_submit"> |
3911256c | 166 | </div> |
fb7c3b3b | 167 | </div> |
01a9eee9 | 168 | |
3911256c | 169 | <!-- Toggle fullscreen --> |
8bf68826 | 170 | <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg" |
a49d9298 | 171 | id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden" |
2aa3b5bc | 172 | title="Fullscreen"> |
fb35d50f | 173 | |
3911256c | 174 | <!-- Settings --> |
8bf68826 | 175 | <input type="image" alt="Settings" src="app/images/settings.svg" |
a49d9298 | 176 | id="noVNC_settings_button" class="noVNC_button" |
2aa3b5bc | 177 | title="Settings"> |
fb7c3b3b | 178 | <div class="noVNC_vcenter"> |
286947cb | 179 | <div id="noVNC_settings" class="noVNC_panel"> |
01a9eee9 | 180 | <ul> |
5454c345 | 181 | <li class="noVNC_heading"> |
2aa3b5bc | 182 | <img alt="" src="app/images/settings.svg"> Settings |
5454c345 | 183 | </li> |
1fe9faee | 184 | <li> |
2aa3b5bc | 185 | <label><input id="noVNC_setting_shared" type="checkbox"> Shared Mode</label> |
1fe9faee PO |
186 | </li> |
187 | <li> | |
2aa3b5bc | 188 | <label><input id="noVNC_setting_view_only" type="checkbox"> View Only</label> |
1fe9faee | 189 | </li> |
2aa3b5bc | 190 | <li><hr></li> |
1fe9faee | 191 | <li> |
2aa3b5bc | 192 | <label><input id="noVNC_setting_view_clip" type="checkbox"> Clip to Window</label> |
1fe9faee PO |
193 | </li> |
194 | <li> | |
13304bac PO |
195 | <label for="noVNC_setting_resize">Scaling Mode:</label> |
196 | <select id="noVNC_setting_resize" name="vncResize"> | |
197 | <option value="off">None</option> | |
198 | <option value="scale">Local Scaling</option> | |
13304bac PO |
199 | <option value="remote">Remote Resizing</option> |
200 | </select> | |
1fe9faee | 201 | </li> |
2aa3b5bc | 202 | <li><hr></li> |
1fe9faee | 203 | <li> |
13304bac | 204 | <div class="noVNC_expander">Advanced</div> |
575f6983 | 205 | <div><ul> |
575f6983 | 206 | <li> |
13304bac | 207 | <label for="noVNC_setting_repeaterID">Repeater ID:</label> |
2aa3b5bc | 208 | <input id="noVNC_setting_repeaterID" type="text" value=""> |
575f6983 PO |
209 | </li> |
210 | <li> | |
13304bac PO |
211 | <div class="noVNC_expander">WebSocket</div> |
212 | <div><ul> | |
213 | <li> | |
2aa3b5bc | 214 | <label><input id="noVNC_setting_encrypt" type="checkbox"> Encrypt</label> |
13304bac PO |
215 | </li> |
216 | <li> | |
217 | <label for="noVNC_setting_host">Host:</label> | |
2aa3b5bc | 218 | <input id="noVNC_setting_host"> |
13304bac PO |
219 | </li> |
220 | <li> | |
221 | <label for="noVNC_setting_port">Port:</label> | |
2aa3b5bc | 222 | <input id="noVNC_setting_port" type="number"> |
13304bac PO |
223 | </li> |
224 | <li> | |
225 | <label for="noVNC_setting_path">Path:</label> | |
2aa3b5bc | 226 | <input id="noVNC_setting_path" type="text" value="websockify"> |
13304bac PO |
227 | </li> |
228 | </ul></div> | |
575f6983 | 229 | </li> |
2aa3b5bc | 230 | <li><hr></li> |
044d54ed | 231 | <li> |
2aa3b5bc | 232 | <label><input id="noVNC_setting_reconnect" type="checkbox"> Automatic Reconnect</label> |
044d54ed AN |
233 | </li> |
234 | <li> | |
235 | <label for="noVNC_setting_reconnect_delay">Reconnect Delay (ms):</label> | |
2aa3b5bc | 236 | <input id="noVNC_setting_reconnect_delay" type="number"> |
044d54ed | 237 | </li> |
2aa3b5bc | 238 | <li><hr></li> |
4c38179d | 239 | <li> |
2aa3b5bc | 240 | <label><input id="noVNC_setting_show_dot" type="checkbox"> Show Dot when No Cursor</label> |
4c38179d | 241 | </li> |
2aa3b5bc | 242 | <li><hr></li> |
13304bac | 243 | <!-- Logging selection dropdown --> |
575f6983 | 244 | <li> |
13304bac PO |
245 | <label>Logging: |
246 | <select id="noVNC_setting_logging" name="vncLogging"> | |
247 | </select> | |
248 | </label> | |
575f6983 PO |
249 | </li> |
250 | </ul></div> | |
1fe9faee | 251 | </li> |
15c7b7a6 JD |
252 | <li class="noVNC_version_separator"><hr></li> |
253 | <li class="noVNC_version_wrapper"> | |
254 | <span>Version:</span> | |
255 | <span class="noVNC_version"></span> | |
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" |
2aa3b5bc | 264 | title="Disconnect"> |
38323d4d PO |
265 | |
266 | </div> | |
01a9eee9 JM |
267 | </div> |
268 | ||
bbc1648c SM |
269 | <div id="noVNC_control_bar_hint"></div> |
270 | ||
3f2c25a6 | 271 | </div> <!-- End of noVNC_control_bar --> |
01a9eee9 | 272 | |
8434cc81 PO |
273 | <!-- Status Dialog --> |
274 | <div id="noVNC_status"></div> | |
275 | ||
b3c932c3 PO |
276 | <!-- Connect button --> |
277 | <div class="noVNC_center"> | |
278 | <div id="noVNC_connect_dlg"> | |
279 | <div class="noVNC_logo" translate="no"><span>no</span>VNC</div> | |
280 | <div id="noVNC_connect_button"><div> | |
2aa3b5bc | 281 | <img alt="" src="app/images/connect.svg"> Connect |
b3c932c3 PO |
282 | </div></div> |
283 | </div> | |
284 | </div> | |
285 | ||
8a7ec6ea | 286 | <!-- Password Dialog --> |
cac935ff | 287 | <div class="noVNC_center noVNC_connect_layer"> |
84b05d24 | 288 | <div id="noVNC_password_dlg" class="noVNC_panel"><form> |
8a7ec6ea | 289 | <ul> |
1fe9faee PO |
290 | <li> |
291 | <label>Password:</label> | |
2aa3b5bc | 292 | <input id="noVNC_password_input" type="password"> |
1fe9faee PO |
293 | </li> |
294 | <li> | |
2aa3b5bc | 295 | <input id="noVNC_password_button" type="submit" value="Send Password" class="noVNC_submit"> |
1fe9faee | 296 | </li> |
8a7ec6ea | 297 | </ul> |
84b05d24 | 298 | </form></div> |
8a7ec6ea | 299 | </div> |
b70ce077 | 300 | |
8d710e8b PO |
301 | <!-- Transition Screens --> |
302 | <div id="noVNC_transition"> | |
303 | <div id="noVNC_transition_text"></div> | |
044d54ed | 304 | <div> |
2aa3b5bc | 305 | <input type="button" id="noVNC_cancel_reconnect_button" value="Cancel" class="noVNC_submit"> |
044d54ed | 306 | </div> |
8d710e8b PO |
307 | <div class="noVNC_spinner"></div> |
308 | </div> | |
309 | ||
9b84f516 | 310 | <!-- This is where the RFB elements will attach --> |
553864e8 | 311 | <div id="noVNC_container"> |
9b84f516 PO |
312 | <!-- Note that Google Chrome on Android doesn't respect any of these, |
313 | html attributes which attempt to disable text suggestions on the | |
314 | on-screen keyboard. Let's hope Chrome implements the ime-mode | |
315 | style for example --> | |
316 | <textarea id="noVNC_keyboardinput" autocapitalize="off" | |
26a9c1c1 | 317 | autocomplete="off" spellcheck="false" tabindex="-1"></textarea> |
01a9eee9 | 318 | </div> |
63bf2ba5 PO |
319 | |
320 | <audio id="noVNC_bell"> | |
2aa3b5bc PO |
321 | <source src="app/sounds/bell.oga" type="audio/ogg"> |
322 | <source src="app/sounds/bell.mp3" type="audio/mpeg"> | |
63bf2ba5 | 323 | </audio> |
53fc7392 | 324 | </body> |
65e27ddd | 325 | </html> |