]> git.proxmox.com Git - mirror_novnc.git/blob - vnc.html
Change copyright header (#1138)
[mirror_novnc.git] / vnc.html
1 <!DOCTYPE html>
2 <html 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 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
21 Remove this if you use the .htaccess -->
22 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
23
24 <!-- Icons (see app/images/icons/Makefile for what the sizes are for) -->
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">
38 <!-- Firefox currently mishandles SVG, see #1419039
39 <link rel="icon" sizes="any" type="image/svg+xml" href="app/images/icons/novnc-icon.svg">
40 -->
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
44 <!-- Apple iOS Safari settings -->
45 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
46 <meta name="apple-mobile-web-app-capable" content="yes" />
47 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
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">
53
54 <!-- Stylesheets -->
55 <link rel="stylesheet" href="app/styles/base.css" />
56
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
60 <!-- begin scripts -->
61 <!-- promise polyfills promises for IE11 -->
62 <script src="vendor/promise.js"></script>
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 -->
76 <script type="module" crossorigin="anonymous" src="app/ui.js"></script>
77 <!-- end scripts -->
78 </head>
79
80 <body>
81
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>
88 </div>
89
90 <!-- noVNC Control Bar -->
91 <div id="noVNC_control_bar_anchor" class="noVNC_vcenter">
92
93 <div id="noVNC_control_bar">
94 <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div>
95
96 <div class="noVNC_scroll">
97
98 <h1 class="noVNC_logo" translate="no"><span>no</span><br />VNC</h1>
99
100 <!-- Drag/Pan the viewport -->
101 <input type="image" alt="viewport drag" src="app/images/drag.svg"
102 id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden"
103 title="Move/Drag Viewport" />
104
105 <!--noVNC Touch Device only buttons-->
106 <div id="noVNC_mobile_buttons">
107 <input type="image" alt="No mousebutton" src="app/images/mouse_none.svg"
108 id="noVNC_mouse_button0" class="noVNC_button"
109 title="Active Mouse Button"/>
110 <input type="image" alt="Left mousebutton" src="app/images/mouse_left.svg"
111 id="noVNC_mouse_button1" class="noVNC_button"
112 title="Active Mouse Button"/>
113 <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.svg"
114 id="noVNC_mouse_button2" class="noVNC_button"
115 title="Active Mouse Button"/>
116 <input type="image" alt="Right mousebutton" src="app/images/mouse_right.svg"
117 id="noVNC_mouse_button4" class="noVNC_button"
118 title="Active Mouse Button"/>
119 <input type="image" alt="Keyboard" src="app/images/keyboard.svg"
120 id="noVNC_keyboard_button" class="noVNC_button"
121 value="Keyboard" title="Show Keyboard" />
122 </div>
123
124 <!-- Extra manual keys -->
125 <div id="noVNC_extra_keys">
126 <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg"
127 id="noVNC_toggle_extra_keys_button" class="noVNC_button"
128 title="Show Extra Keys"/>
129 <div class="noVNC_vcenter">
130 <div id="noVNC_modifiers" class="noVNC_panel">
131 <input type="image" alt="Ctrl" src="app/images/ctrl.svg"
132 id="noVNC_toggle_ctrl_button" class="noVNC_button"
133 title="Toggle Ctrl"/>
134 <input type="image" alt="Alt" src="app/images/alt.svg"
135 id="noVNC_toggle_alt_button" class="noVNC_button"
136 title="Toggle Alt"/>
137 <input type="image" alt="Tab" src="app/images/tab.svg"
138 id="noVNC_send_tab_button" class="noVNC_button"
139 title="Send Tab"/>
140 <input type="image" alt="Esc" src="app/images/esc.svg"
141 id="noVNC_send_esc_button" class="noVNC_button"
142 title="Send Escape"/>
143 <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg"
144 id="noVNC_send_ctrl_alt_del_button" class="noVNC_button"
145 title="Send Ctrl-Alt-Del" />
146 </div>
147 </div>
148 </div>
149
150 <!-- Shutdown/Reboot -->
151 <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg"
152 id="noVNC_power_button" class="noVNC_button"
153 title="Shutdown/Reboot..." />
154 <div class="noVNC_vcenter">
155 <div id="noVNC_power" class="noVNC_panel">
156 <div class="noVNC_heading">
157 <img src="app/images/power.svg"> Power
158 </div>
159 <input type="button" id="noVNC_shutdown_button" value="Shutdown" />
160 <input type="button" id="noVNC_reboot_button" value="Reboot" />
161 <input type="button" id="noVNC_reset_button" value="Reset" />
162 </div>
163 </div>
164
165 <!-- Clipboard -->
166 <input type="image" alt="Clipboard" src="app/images/clipboard.svg"
167 id="noVNC_clipboard_button" class="noVNC_button"
168 title="Clipboard" />
169 <div class="noVNC_vcenter">
170 <div id="noVNC_clipboard" class="noVNC_panel">
171 <div class="noVNC_heading">
172 <img src="app/images/clipboard.svg"> Clipboard
173 </div>
174 <textarea id="noVNC_clipboard_text" rows=5></textarea>
175 <br />
176 <input id="noVNC_clipboard_clear_button" type="button"
177 value="Clear" class="noVNC_submit" />
178 </div>
179 </div>
180
181 <!-- Toggle fullscreen -->
182 <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg"
183 id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden"
184 title="Fullscreen" />
185
186 <!-- Settings -->
187 <input type="image" alt="Settings" src="app/images/settings.svg"
188 id="noVNC_settings_button" class="noVNC_button"
189 title="Settings" />
190 <div class="noVNC_vcenter">
191 <div id="noVNC_settings" class="noVNC_panel">
192 <ul>
193 <li class="noVNC_heading">
194 <img src="app/images/settings.svg"> Settings
195 </li>
196 <li>
197 <label><input id="noVNC_setting_shared" type="checkbox" /> Shared Mode</label>
198 </li>
199 <li>
200 <label><input id="noVNC_setting_view_only" type="checkbox" /> View Only</label>
201 </li>
202 <li><hr></li>
203 <li>
204 <label><input id="noVNC_setting_view_clip" type="checkbox" /> Clip to Window</label>
205 </li>
206 <li>
207 <label for="noVNC_setting_resize">Scaling Mode:</label>
208 <select id="noVNC_setting_resize" name="vncResize">
209 <option value="off">None</option>
210 <option value="scale">Local Scaling</option>
211 <option value="remote">Remote Resizing</option>
212 </select>
213 </li>
214 <li><hr></li>
215 <li>
216 <div class="noVNC_expander">Advanced</div>
217 <div><ul>
218 <li>
219 <label for="noVNC_setting_repeaterID">Repeater ID:</label>
220 <input id="noVNC_setting_repeaterID" type="input" value="" />
221 </li>
222 <li>
223 <div class="noVNC_expander">WebSocket</div>
224 <div><ul>
225 <li>
226 <label><input id="noVNC_setting_encrypt" type="checkbox" /> Encrypt</label>
227 </li>
228 <li>
229 <label for="noVNC_setting_host">Host:</label>
230 <input id="noVNC_setting_host" />
231 </li>
232 <li>
233 <label for="noVNC_setting_port">Port:</label>
234 <input id="noVNC_setting_port" type="number" />
235 </li>
236 <li>
237 <label for="noVNC_setting_path">Path:</label>
238 <input id="noVNC_setting_path" type="input" value="websockify" />
239 </li>
240 </ul></div>
241 </li>
242 <li><hr></li>
243 <li>
244 <label><input id="noVNC_setting_reconnect" type="checkbox" /> Automatic Reconnect</label>
245 </li>
246 <li>
247 <label for="noVNC_setting_reconnect_delay">Reconnect Delay (ms):</label>
248 <input id="noVNC_setting_reconnect_delay" type="number" />
249 </li>
250 <li><hr></li>
251 <li>
252 <label><input id="noVNC_setting_show_dot" type="checkbox" /> Show Dot when No Cursor</label>
253 </li>
254 <li><hr></li>
255 <!-- Logging selection dropdown -->
256 <li>
257 <label>Logging:
258 <select id="noVNC_setting_logging" name="vncLogging">
259 </select>
260 </label>
261 </li>
262 </ul></div>
263 </li>
264 </ul>
265 </div>
266 </div>
267
268 <!-- Connection Controls -->
269 <input type="image" alt="Disconnect" src="app/images/disconnect.svg"
270 id="noVNC_disconnect_button" class="noVNC_button"
271 title="Disconnect" />
272
273 </div>
274 </div>
275
276 <div id="noVNC_control_bar_hint"></div>
277
278 </div> <!-- End of noVNC_control_bar -->
279
280 <!-- Status Dialog -->
281 <div id="noVNC_status"></div>
282
283 <!-- Connect button -->
284 <div class="noVNC_center">
285 <div id="noVNC_connect_dlg">
286 <div class="noVNC_logo" translate="no"><span>no</span>VNC</div>
287 <div id="noVNC_connect_button"><div>
288 <img src="app/images/connect.svg"> Connect
289 </div></div>
290 </div>
291 </div>
292
293 <!-- Password Dialog -->
294 <div class="noVNC_center noVNC_connect_layer">
295 <div id="noVNC_password_dlg" class="noVNC_panel"><form>
296 <ul>
297 <li>
298 <label>Password:</label>
299 <input id="noVNC_password_input" type="password" />
300 </li>
301 <li>
302 <input id="noVNC_password_button" type="submit" value="Send Password" class="noVNC_submit" />
303 </li>
304 </ul>
305 </form></div>
306 </div>
307
308 <!-- Transition Screens -->
309 <div id="noVNC_transition">
310 <div id="noVNC_transition_text"></div>
311 <div>
312 <input type="button" id="noVNC_cancel_reconnect_button" value="Cancel" class="noVNC_submit" />
313 </div>
314 <div class="noVNC_spinner"></div>
315 </div>
316
317 <!-- This is where the RFB elements will attach -->
318 <div id="noVNC_container">
319 <!-- Note that Google Chrome on Android doesn't respect any of these,
320 html attributes which attempt to disable text suggestions on the
321 on-screen keyboard. Let's hope Chrome implements the ime-mode
322 style for example -->
323 <textarea id="noVNC_keyboardinput" autocapitalize="off"
324 autocorrect="off" autocomplete="off" spellcheck="false"
325 mozactionhint="Enter" tabindex="-1"></textarea>
326 </div>
327
328 <audio id="noVNC_bell">
329 <source src="app/sounds/bell.oga" type="audio/ogg">
330 <source src="app/sounds/bell.mp3" type="audio/mpeg">
331 </audio>
332 </body>
333 </html>