| 1 | <!DOCTYPE html> |
| 2 | <html lang="en" class="noVNC_loading"> |
| 3 | <head> |
| 4 | |
| 5 | <!-- |
| 6 | noVNC example: simple example using default UI |
| 7 | Copyright (C) 2019 The noVNC Authors |
| 8 | noVNC is licensed under the MPL 2.0 (see LICENSE.txt) |
| 9 | This file is licensed under the 2-Clause BSD license (see LICENSE.txt). |
| 10 | |
| 11 | Connect parameters are provided in query string: |
| 12 | http://example.com/?host=HOST&port=PORT&encrypt=1 |
| 13 | or the fragment: |
| 14 | http://example.com/#host=HOST&port=PORT&encrypt=1 |
| 15 | --> |
| 16 | <title>noVNC</title> |
| 17 | |
| 18 | <!-- <link rel="icon" type="image/x-icon" href="app/images/icons/novnc.ico"> --> |
| 19 | |
| 20 | <!-- Apple iOS Safari settings --> |
| 21 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
| 22 | <meta name="apple-mobile-web-app-capable" content="yes"> |
| 23 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> |
| 24 | |
| 25 | |
| 26 | <!-- <link rel="apple-touch-icon" sizes="40x40" type="image/png" href="app/images/icons/novnc-ios-40.png"> |
| 27 | <link rel="apple-touch-icon" sizes="58x58" type="image/png" href="app/images/icons/novnc-ios-58.png"> |
| 28 | <link rel="apple-touch-icon" sizes="80x80" type="image/png" href="app/images/icons/novnc-ios-80.png"> |
| 29 | <link rel="apple-touch-icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-ios-120.png"> |
| 30 | <link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-ios-152.png"> |
| 31 | <link rel="apple-touch-icon" sizes="167x167" type="image/png" href="app/images/icons/novnc-ios-167.png"> |
| 32 | <link rel="apple-touch-icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-ios-60.png"> |
| 33 | <link rel="apple-touch-icon" sizes="87x87" type="image/png" href="app/images/icons/novnc-ios-87.png"> |
| 34 | <link rel="apple-touch-icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-ios-120.png"> |
| 35 | <link rel="apple-touch-icon" sizes="180x180" type="image/png" href="app/images/icons/novnc-ios-180.png"> --> |
| 36 | |
| 37 | <!-- Stylesheets --> |
| 38 | <link rel="stylesheet" href="app/styles/base.css"> |
| 39 | <link rel="stylesheet" href="app/styles/input.css"> |
| 40 | |
| 41 | <!-- Images that will later appear via CSS --> |
| 42 | <link rel="preload" as="image" href="app/images/info.svg"> |
| 43 | <link rel="preload" as="image" href="app/images/error.svg"> |
| 44 | <link rel="preload" as="image" href="app/images/warning.svg"> |
| 45 | |
| 46 | <script type="module" crossorigin="anonymous" src="app/error-handler.js"></script> |
| 47 | <script type="module" crossorigin="anonymous" src="app/ui.js"></script> |
| 48 | </head> |
| 49 | |
| 50 | <body> |
| 51 | |
| 52 | <div id="noVNC_fallback_error" class="noVNC_center"> |
| 53 | <div> |
| 54 | <div>noVNC encountered an error:</div> |
| 55 | <br> |
| 56 | <div id="noVNC_fallback_errormsg"></div> |
| 57 | </div> |
| 58 | </div> |
| 59 | |
| 60 | <!-- noVNC Control Bar --> |
| 61 | <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> |
| 62 | |
| 63 | <div id="noVNC_control_bar"> |
| 64 | <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div> |
| 65 | |
| 66 | <div class="noVNC_scroll"> |
| 67 | |
| 68 | <!-- <h1 class="noVNC_logo" translate="no"><span>no</span><br>VNC</h1> --> |
| 69 | |
| 70 | <hr> |
| 71 | |
| 72 | <!-- Drag/Pan the viewport --> |
| 73 | <input type="image" alt="Drag" src="app/images/drag.svg" |
| 74 | id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" |
| 75 | title="Move/Drag Viewport"> |
| 76 | |
| 77 | <!--noVNC Touch Device only buttons--> |
| 78 | <div id="noVNC_mobile_buttons"> |
| 79 | <input type="image" alt="Keyboard" src="app/images/keyboard.svg" |
| 80 | id="noVNC_keyboard_button" class="noVNC_button" title="Show Keyboard"> |
| 81 | </div> |
| 82 | |
| 83 | <!-- Extra manual keys --> |
| 84 | <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg" |
| 85 | id="noVNC_toggle_extra_keys_button" class="noVNC_button" |
| 86 | title="Show Extra Keys"> |
| 87 | <div class="noVNC_vcenter"> |
| 88 | <div id="noVNC_modifiers" class="noVNC_panel"> |
| 89 | <input type="image" alt="Ctrl" src="app/images/ctrl.svg" |
| 90 | id="noVNC_toggle_ctrl_button" class="noVNC_button" |
| 91 | title="Toggle Ctrl"> |
| 92 | <input type="image" alt="Alt" src="app/images/alt.svg" |
| 93 | id="noVNC_toggle_alt_button" class="noVNC_button" |
| 94 | title="Toggle Alt"> |
| 95 | <input type="image" alt="Windows" src="app/images/windows.svg" |
| 96 | id="noVNC_toggle_windows_button" class="noVNC_button" |
| 97 | title="Toggle Windows"> |
| 98 | <input type="image" alt="Tab" src="app/images/tab.svg" |
| 99 | id="noVNC_send_tab_button" class="noVNC_button" |
| 100 | title="Send Tab"> |
| 101 | <input type="image" alt="Esc" src="app/images/esc.svg" |
| 102 | id="noVNC_send_esc_button" class="noVNC_button" |
| 103 | title="Send Escape"> |
| 104 | <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" |
| 105 | id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" |
| 106 | title="Send Ctrl-Alt-Del"> |
| 107 | </div> |
| 108 | </div> |
| 109 | |
| 110 | <!-- Shutdown/Reboot --> |
| 111 | <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg" |
| 112 | id="noVNC_power_button" class="noVNC_button" |
| 113 | title="Shutdown/Reboot..."> |
| 114 | <div class="noVNC_vcenter"> |
| 115 | <div id="noVNC_power" class="noVNC_panel"> |
| 116 | <div class="noVNC_heading"> |
| 117 | <img alt="" src="app/images/power.svg"> Power |
| 118 | </div> |
| 119 | <input type="button" id="noVNC_shutdown_button" value="Shutdown"> |
| 120 | <input type="button" id="noVNC_reboot_button" value="Reboot"> |
| 121 | <input type="button" id="noVNC_reset_button" value="Reset"> |
| 122 | </div> |
| 123 | </div> |
| 124 | |
| 125 | <!-- Clipboard --> |
| 126 | <input type="image" alt="Clipboard" src="app/images/clipboard.svg" |
| 127 | id="noVNC_clipboard_button" class="noVNC_button" |
| 128 | title="Clipboard"> |
| 129 | <div class="noVNC_vcenter"> |
| 130 | <div id="noVNC_clipboard" class="noVNC_panel"> |
| 131 | <div class="noVNC_heading"> |
| 132 | <img alt="" src="app/images/clipboard.svg"> Clipboard |
| 133 | </div> |
| 134 | <p class="noVNC_subheading"> |
| 135 | Edit clipboard content in the textarea below. |
| 136 | </p> |
| 137 | <textarea id="noVNC_clipboard_text" rows=5></textarea> |
| 138 | </div> |
| 139 | </div> |
| 140 | |
| 141 | <!-- Toggle fullscreen --> |
| 142 | <input type="image" alt="Full Screen" src="app/images/fullscreen.svg" |
| 143 | id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden" |
| 144 | title="Full Screen"> |
| 145 | |
| 146 | <!-- Settings --> |
| 147 | <input type="image" alt="Settings" src="app/images/settings.svg" |
| 148 | id="noVNC_settings_button" class="noVNC_button" |
| 149 | title="Settings"> |
| 150 | <div class="noVNC_vcenter"> |
| 151 | <div id="noVNC_settings" class="noVNC_panel"> |
| 152 | <div class="noVNC_heading"> |
| 153 | <img alt="" src="app/images/settings.svg"> Settings |
| 154 | </div> |
| 155 | <ul> |
| 156 | <li> |
| 157 | <label><input id="noVNC_setting_shared" type="checkbox"> Shared Mode</label> |
| 158 | </li> |
| 159 | <li> |
| 160 | <label><input id="noVNC_setting_view_only" type="checkbox"> View Only</label> |
| 161 | </li> |
| 162 | <li><hr></li> |
| 163 | <li> |
| 164 | <label><input id="noVNC_setting_view_clip" type="checkbox"> Clip to Window</label> |
| 165 | </li> |
| 166 | <li> |
| 167 | <label for="noVNC_setting_resize">Scaling Mode:</label> |
| 168 | <select id="noVNC_setting_resize" name="vncResize"> |
| 169 | <option value="off">None</option> |
| 170 | <option value="scale">Local Scaling</option> |
| 171 | <option value="remote">Remote Resizing</option> |
| 172 | </select> |
| 173 | </li> |
| 174 | <li><hr></li> |
| 175 | <li> |
| 176 | <div class="noVNC_expander">Advanced</div> |
| 177 | <div><ul> |
| 178 | <li> |
| 179 | <label for="noVNC_setting_quality">Quality:</label> |
| 180 | <input id="noVNC_setting_quality" type="range" min="0" max="9" value="6"> |
| 181 | </li> |
| 182 | <li> |
| 183 | <label for="noVNC_setting_compression">Compression level:</label> |
| 184 | <input id="noVNC_setting_compression" type="range" min="0" max="9" value="2"> |
| 185 | </li> |
| 186 | <li><hr></li> |
| 187 | <li> |
| 188 | <label for="noVNC_setting_repeaterID">Repeater ID:</label> |
| 189 | <input id="noVNC_setting_repeaterID" type="text" value=""> |
| 190 | </li> |
| 191 | <li> |
| 192 | <div class="noVNC_expander">WebSocket</div> |
| 193 | <div><ul> |
| 194 | <li> |
| 195 | <label><input id="noVNC_setting_encrypt" type="checkbox"> Encrypt</label> |
| 196 | </li> |
| 197 | <li> |
| 198 | <label for="noVNC_setting_host">Host:</label> |
| 199 | <input id="noVNC_setting_host"> |
| 200 | </li> |
| 201 | <li> |
| 202 | <label for="noVNC_setting_port">Port:</label> |
| 203 | <input id="noVNC_setting_port" type="number"> |
| 204 | </li> |
| 205 | <li> |
| 206 | <label for="noVNC_setting_path">Path:</label> |
| 207 | <input id="noVNC_setting_path" type="text" value="websockify"> |
| 208 | </li> |
| 209 | </ul></div> |
| 210 | </li> |
| 211 | <li><hr></li> |
| 212 | <li> |
| 213 | <label><input id="noVNC_setting_reconnect" type="checkbox"> Automatic Reconnect</label> |
| 214 | </li> |
| 215 | <li> |
| 216 | <label for="noVNC_setting_reconnect_delay">Reconnect Delay (ms):</label> |
| 217 | <input id="noVNC_setting_reconnect_delay" type="number"> |
| 218 | </li> |
| 219 | <li><hr></li> |
| 220 | <li> |
| 221 | <label><input id="noVNC_setting_show_dot" type="checkbox"> Show Dot when No Cursor</label> |
| 222 | </li> |
| 223 | <li><hr></li> |
| 224 | <!-- Logging selection dropdown --> |
| 225 | <li> |
| 226 | <label>Logging: |
| 227 | <select id="noVNC_setting_logging" name="vncLogging"> |
| 228 | </select> |
| 229 | </label> |
| 230 | </li> |
| 231 | </ul></div> |
| 232 | </li> |
| 233 | <li class="noVNC_version_separator"><hr></li> |
| 234 | <li class="noVNC_version_wrapper"> |
| 235 | <span>Version:</span> |
| 236 | <span class="noVNC_version"></span> |
| 237 | </li> |
| 238 | </ul> |
| 239 | </div> |
| 240 | </div> |
| 241 | |
| 242 | <!-- Connection Controls --> |
| 243 | <input type="image" alt="Disconnect" src="app/images/disconnect.svg" |
| 244 | id="noVNC_disconnect_button" class="noVNC_button" |
| 245 | title="Disconnect"> |
| 246 | |
| 247 | </div> |
| 248 | </div> |
| 249 | |
| 250 | </div> <!-- End of noVNC_control_bar --> |
| 251 | |
| 252 | <div id="noVNC_hint_anchor" class="noVNC_vcenter"> |
| 253 | <div id="noVNC_control_bar_hint"> |
| 254 | </div> |
| 255 | </div> |
| 256 | |
| 257 | <!-- Status Dialog --> |
| 258 | <div id="noVNC_status"></div> |
| 259 | |
| 260 | <!-- Connect button --> |
| 261 | <div class="noVNC_center"> |
| 262 | <div id="noVNC_connect_dlg"> |
| 263 | <!-- <p class="noVNC_logo" translate="no"><span>no</span>VNC</p> --> |
| 264 | <div> |
| 265 | <button id="noVNC_connect_button"> |
| 266 | <img alt="" src="app/images/connect.svg"> Connect |
| 267 | </button> |
| 268 | </div> |
| 269 | </div> |
| 270 | </div> |
| 271 | |
| 272 | <!-- Server Key Verification Dialog --> |
| 273 | <div class="noVNC_center noVNC_connect_layer"> |
| 274 | <div id="noVNC_verify_server_dlg" class="noVNC_panel"><form> |
| 275 | <div class="noVNC_heading"> |
| 276 | Server identity |
| 277 | </div> |
| 278 | <div> |
| 279 | The server has provided the following identifying information: |
| 280 | </div> |
| 281 | <div id="noVNC_fingerprint_block"> |
| 282 | <b>Fingerprint:</b> |
| 283 | <span id="noVNC_fingerprint"></span> |
| 284 | </div> |
| 285 | <div> |
| 286 | Please verify that the information is correct and press |
| 287 | "Approve". Otherwise press "Reject". |
| 288 | </div> |
| 289 | <div> |
| 290 | <input id="noVNC_approve_server_button" type="submit" value="Approve" class="noVNC_submit"> |
| 291 | <input id="noVNC_reject_server_button" type="button" value="Reject" class="noVNC_submit"> |
| 292 | </div> |
| 293 | </form></div> |
| 294 | </div> |
| 295 | |
| 296 | <!-- Password Dialog --> |
| 297 | <div class="noVNC_center noVNC_connect_layer"> |
| 298 | <div id="noVNC_credentials_dlg" class="noVNC_panel"><form> |
| 299 | <div class="noVNC_heading"> |
| 300 | Credentials |
| 301 | </div> |
| 302 | <div id="noVNC_username_block"> |
| 303 | <label for="noVNC_username_input">Username:</label> |
| 304 | <input id="noVNC_username_input"> |
| 305 | </div> |
| 306 | <div id="noVNC_password_block"> |
| 307 | <label for="noVNC_password_input">Password:</label> |
| 308 | <input id="noVNC_password_input" type="password"> |
| 309 | </div> |
| 310 | <div> |
| 311 | <input id="noVNC_credentials_button" type="submit" value="Send Credentials" class="noVNC_submit"> |
| 312 | </div> |
| 313 | </form></div> |
| 314 | </div> |
| 315 | |
| 316 | <!-- Transition Screens --> |
| 317 | <div id="noVNC_transition"> |
| 318 | <div id="noVNC_transition_text"></div> |
| 319 | <div> |
| 320 | <input type="button" id="noVNC_cancel_reconnect_button" value="Cancel" class="noVNC_submit"> |
| 321 | </div> |
| 322 | <div class="noVNC_spinner"></div> |
| 323 | </div> |
| 324 | |
| 325 | <!-- This is where the RFB elements will attach --> |
| 326 | <div id="noVNC_container"> |
| 327 | <!-- Note that Google Chrome on Android doesn't respect any of these, |
| 328 | html attributes which attempt to disable text suggestions on the |
| 329 | on-screen keyboard. Let's hope Chrome implements the ime-mode |
| 330 | style for example --> |
| 331 | <textarea id="noVNC_keyboardinput" autocapitalize="off" |
| 332 | autocomplete="off" spellcheck="false" tabindex="-1"></textarea> |
| 333 | </div> |
| 334 | |
| 335 | <audio id="noVNC_bell"> |
| 336 | <source src="app/sounds/bell.oga" type="audio/ogg"> |
| 337 | <source src="app/sounds/bell.mp3" type="audio/mpeg"> |
| 338 | </audio> |
| 339 | </body> |
| 340 | </html> |