]>
Commit | Line | Data |
---|---|---|
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) 2018 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 | <meta charset="utf-8"> | |
19 | ||
20 | <!-- Icons (see app/images/icons/Makefile for what the sizes are for) --> | |
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"> | |
34 | <!-- Firefox currently mishandles SVG, see #1419039 | |
35 | <link rel="icon" sizes="any" type="image/svg+xml" href="app/images/icons/novnc-icon.svg"> | |
36 | --> | |
37 | <!-- Repeated last so that legacy handling will pick this --> | |
38 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> | |
39 | ||
40 | <!-- Apple iOS Safari settings --> | |
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"> | |
44 | <!-- Home Screen Icons (favourites and bookmarks use the normal icons) --> | |
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"> | |
49 | ||
50 | <!-- Stylesheets --> | |
51 | <link rel="stylesheet" href="app/styles/base.css"> | |
52 | ||
53 | <!-- this is included as a normal file in order to catch script-loading errors as well --> | |
54 | <script src="app/error-handler.js"></script> | |
55 | ||
56 | <!-- begin scripts --> | |
57 | <!-- promise polyfills promises for IE11 --> | |
58 | <script src="vendor/promise.js"></script> | |
59 | <!-- ES2015/ES6 modules polyfill --> | |
60 | <script type="module"> | |
61 | window._noVNC_has_module_support = true; | |
62 | </script> | |
63 | <script> | |
64 | window.addEventListener("load", function() { | |
65 | if (window._noVNC_has_module_support) return; | |
66 | var loader = document.createElement("script"); | |
67 | loader.src = "vendor/browser-es-module-loader/dist/browser-es-module-loader.js"; | |
68 | document.head.appendChild(loader); | |
69 | }); | |
70 | </script> | |
71 | <!-- actual script modules --> | |
72 | <script type="module" crossorigin="anonymous" src="app/ui.js"></script> | |
73 | <!-- end scripts --> | |
74 | </head> | |
75 | ||
76 | <body> | |
77 | ||
78 | <div id="noVNC_fallback_error" class="noVNC_center"> | |
79 | <div> | |
80 | <div>noVNC encountered an error:</div> | |
81 | <br> | |
82 | <div id="noVNC_fallback_errormsg"></div> | |
83 | </div> | |
84 | </div> | |
85 | ||
86 | <!-- noVNC Control Bar --> | |
87 | <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> | |
88 | ||
89 | <div id="noVNC_control_bar"> | |
90 | <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div> | |
91 | ||
92 | <div class="noVNC_scroll"> | |
93 | ||
94 | <h1 class="noVNC_logo" translate="no"><span>no</span><br>VNC</h1> | |
95 | ||
96 | <!-- Drag/Pan the viewport --> | |
97 | <input type="image" alt="viewport drag" src="app/images/drag.svg" | |
98 | id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" | |
99 | title="Move/Drag Viewport"> | |
100 | ||
101 | <!--noVNC Touch Device only buttons--> | |
102 | <div id="noVNC_mobile_buttons"> | |
103 | <input type="image" alt="No mousebutton" src="app/images/mouse_none.svg" | |
104 | id="noVNC_mouse_button0" class="noVNC_button" | |
105 | title="Active Mouse Button"> | |
106 | <input type="image" alt="Left mousebutton" src="app/images/mouse_left.svg" | |
107 | id="noVNC_mouse_button1" class="noVNC_button" | |
108 | title="Active Mouse Button"> | |
109 | <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.svg" | |
110 | id="noVNC_mouse_button2" class="noVNC_button" | |
111 | title="Active Mouse Button"> | |
112 | <input type="image" alt="Right mousebutton" src="app/images/mouse_right.svg" | |
113 | id="noVNC_mouse_button4" class="noVNC_button" | |
114 | title="Active Mouse Button"> | |
115 | <input type="image" alt="Keyboard" src="app/images/keyboard.svg" | |
116 | id="noVNC_keyboard_button" class="noVNC_button" title="Show Keyboard"> | |
117 | </div> | |
118 | ||
119 | <!-- Extra manual keys --> | |
120 | <div id="noVNC_extra_keys"> | |
121 | <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg" | |
122 | id="noVNC_toggle_extra_keys_button" class="noVNC_button" | |
123 | title="Show Extra Keys"> | |
124 | <div class="noVNC_vcenter"> | |
125 | <div id="noVNC_modifiers" class="noVNC_panel"> | |
126 | <input type="image" alt="Ctrl" src="app/images/ctrl.svg" | |
127 | id="noVNC_toggle_ctrl_button" class="noVNC_button" | |
128 | title="Toggle Ctrl"> | |
129 | <input type="image" alt="Alt" src="app/images/alt.svg" | |
130 | id="noVNC_toggle_alt_button" class="noVNC_button" | |
131 | title="Toggle Alt"> | |
132 | <input type="image" alt="Windows" src="app/images/windows.svg" | |
133 | id="noVNC_toggle_windows_button" class="noVNC_button" | |
134 | title="Toggle Windows"> | |
135 | <input type="image" alt="Tab" src="app/images/tab.svg" | |
136 | id="noVNC_send_tab_button" class="noVNC_button" | |
137 | title="Send Tab"> | |
138 | <input type="image" alt="Esc" src="app/images/esc.svg" | |
139 | id="noVNC_send_esc_button" class="noVNC_button" | |
140 | title="Send Escape"> | |
141 | <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" | |
142 | id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" | |
143 | title="Send Ctrl-Alt-Del"> | |
144 | </div> | |
145 | </div> | |
146 | </div> | |
147 | ||
148 | <!-- Shutdown/Reboot --> | |
149 | <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg" | |
150 | id="noVNC_power_button" class="noVNC_button" | |
151 | title="Shutdown/Reboot..."> | |
152 | <div class="noVNC_vcenter"> | |
153 | <div id="noVNC_power" class="noVNC_panel"> | |
154 | <div class="noVNC_heading"> | |
155 | <img alt="" src="app/images/power.svg"> Power | |
156 | </div> | |
157 | <input type="button" id="noVNC_shutdown_button" value="Shutdown"> | |
158 | <input type="button" id="noVNC_reboot_button" value="Reboot"> | |
159 | <input type="button" id="noVNC_reset_button" value="Reset"> | |
160 | </div> | |
161 | </div> | |
162 | ||
163 | <!-- Clipboard --> | |
164 | <input type="image" alt="Clipboard" src="app/images/clipboard.svg" | |
165 | id="noVNC_clipboard_button" class="noVNC_button" | |
166 | title="Clipboard"> | |
167 | <div class="noVNC_vcenter"> | |
168 | <div id="noVNC_clipboard" class="noVNC_panel"> | |
169 | <div class="noVNC_heading"> | |
170 | <img alt="" src="app/images/clipboard.svg"> Clipboard | |
171 | </div> | |
172 | <textarea id="noVNC_clipboard_text" rows=5></textarea> | |
173 | <br> | |
174 | <input id="noVNC_clipboard_clear_button" type="button" | |
175 | value="Clear" class="noVNC_submit"> | |
176 | </div> | |
177 | </div> | |
178 | ||
179 | <!-- Toggle fullscreen --> | |
180 | <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg" | |
181 | id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden" | |
182 | title="Fullscreen"> | |
183 | ||
184 | <!-- Settings --> | |
185 | <input type="image" alt="Settings" src="app/images/settings.svg" | |
186 | id="noVNC_settings_button" class="noVNC_button" | |
187 | title="Settings"> | |
188 | <div class="noVNC_vcenter"> | |
189 | <div id="noVNC_settings" class="noVNC_panel"> | |
190 | <ul> | |
191 | <li class="noVNC_heading"> | |
192 | <img alt="" src="app/images/settings.svg"> Settings | |
193 | </li> | |
194 | <li> | |
195 | <label><input id="noVNC_setting_shared" type="checkbox"> Shared Mode</label> | |
196 | </li> | |
197 | <li> | |
198 | <label><input id="noVNC_setting_view_only" type="checkbox"> View Only</label> | |
199 | </li> | |
200 | <li><hr></li> | |
201 | <li> | |
202 | <label><input id="noVNC_setting_view_clip" type="checkbox"> Clip to Window</label> | |
203 | </li> | |
204 | <li> | |
205 | <label for="noVNC_setting_resize">Scaling Mode:</label> | |
206 | <select id="noVNC_setting_resize" name="vncResize"> | |
207 | <option value="off">None</option> | |
208 | <option value="scale">Local Scaling</option> | |
209 | <option value="remote">Remote Resizing</option> | |
210 | </select> | |
211 | </li> | |
212 | <li><hr></li> | |
213 | <li> | |
214 | <div class="noVNC_expander">Advanced</div> | |
215 | <div><ul> | |
216 | <li> | |
217 | <label for="noVNC_setting_repeaterID">Repeater ID:</label> | |
218 | <input id="noVNC_setting_repeaterID" type="text" value=""> | |
219 | </li> | |
220 | <li> | |
221 | <div class="noVNC_expander">WebSocket</div> | |
222 | <div><ul> | |
223 | <li> | |
224 | <label><input id="noVNC_setting_encrypt" type="checkbox"> Encrypt</label> | |
225 | </li> | |
226 | <li> | |
227 | <label for="noVNC_setting_host">Host:</label> | |
228 | <input id="noVNC_setting_host"> | |
229 | </li> | |
230 | <li> | |
231 | <label for="noVNC_setting_port">Port:</label> | |
232 | <input id="noVNC_setting_port" type="number"> | |
233 | </li> | |
234 | <li> | |
235 | <label for="noVNC_setting_path">Path:</label> | |
236 | <input id="noVNC_setting_path" type="text" value="websockify"> | |
237 | </li> | |
238 | </ul></div> | |
239 | </li> | |
240 | <li><hr></li> | |
241 | <li> | |
242 | <label><input id="noVNC_setting_reconnect" type="checkbox"> Automatic Reconnect</label> | |
243 | </li> | |
244 | <li> | |
245 | <label for="noVNC_setting_reconnect_delay">Reconnect Delay (ms):</label> | |
246 | <input id="noVNC_setting_reconnect_delay" type="number"> | |
247 | </li> | |
248 | <li><hr></li> | |
249 | <li> | |
250 | <label><input id="noVNC_setting_show_dot" type="checkbox"> Show Dot when No Cursor</label> | |
251 | </li> | |
252 | <li><hr></li> | |
253 | <!-- Logging selection dropdown --> | |
254 | <li> | |
255 | <label>Logging: | |
256 | <select id="noVNC_setting_logging" name="vncLogging"> | |
257 | </select> | |
258 | </label> | |
259 | </li> | |
260 | </ul></div> | |
261 | </li> | |
262 | </ul> | |
263 | </div> | |
264 | </div> | |
265 | ||
266 | <!-- Connection Controls --> | |
267 | <input type="image" alt="Disconnect" src="app/images/disconnect.svg" | |
268 | id="noVNC_disconnect_button" class="noVNC_button" | |
269 | title="Disconnect"> | |
270 | ||
271 | </div> | |
272 | </div> | |
273 | ||
274 | <div id="noVNC_control_bar_hint"></div> | |
275 | ||
276 | </div> <!-- End of noVNC_control_bar --> | |
277 | ||
278 | <!-- Status Dialog --> | |
279 | <div id="noVNC_status"></div> | |
280 | ||
281 | <!-- Connect button --> | |
282 | <div class="noVNC_center"> | |
283 | <div id="noVNC_connect_dlg"> | |
284 | <div class="noVNC_logo" translate="no"><span>no</span>VNC</div> | |
285 | <div id="noVNC_connect_button"><div> | |
286 | <img alt="" src="app/images/connect.svg"> Connect | |
287 | </div></div> | |
288 | </div> | |
289 | </div> | |
290 | ||
291 | <!-- Password Dialog --> | |
292 | <div class="noVNC_center noVNC_connect_layer"> | |
293 | <div id="noVNC_password_dlg" class="noVNC_panel"><form> | |
294 | <ul> | |
295 | <li> | |
296 | <label>Password:</label> | |
297 | <input id="noVNC_password_input" type="password"> | |
298 | </li> | |
299 | <li> | |
300 | <input id="noVNC_password_button" type="submit" value="Send Password" class="noVNC_submit"> | |
301 | </li> | |
302 | </ul> | |
303 | </form></div> | |
304 | </div> | |
305 | ||
306 | <!-- Transition Screens --> | |
307 | <div id="noVNC_transition"> | |
308 | <div id="noVNC_transition_text"></div> | |
309 | <div> | |
310 | <input type="button" id="noVNC_cancel_reconnect_button" value="Cancel" class="noVNC_submit"> | |
311 | </div> | |
312 | <div class="noVNC_spinner"></div> | |
313 | </div> | |
314 | ||
315 | <!-- This is where the RFB elements will attach --> | |
316 | <div id="noVNC_container"> | |
317 | <!-- Note that Google Chrome on Android doesn't respect any of these, | |
318 | html attributes which attempt to disable text suggestions on the | |
319 | on-screen keyboard. Let's hope Chrome implements the ime-mode | |
320 | style for example --> | |
321 | <textarea id="noVNC_keyboardinput" autocapitalize="off" | |
322 | autocomplete="off" spellcheck="false" tabindex="-1"></textarea> | |
323 | </div> | |
324 | ||
325 | <audio id="noVNC_bell"> | |
326 | <source src="app/sounds/bell.oga" type="audio/ogg"> | |
327 | <source src="app/sounds/bell.mp3" type="audio/mpeg"> | |
328 | </audio> | |
329 | </body> | |
330 | </html> |