]>
Commit | Line | Data |
---|---|---|
5514d299 | 1 | <!DOCTYPE html> |
5299db1a | 2 | <html> |
53fc7392 CG |
3 | <head> |
4 | ||
d58f8b51 | 5 | <!-- |
f7ec5b2c | 6 | noVNC example: simple example using default UI |
d58f8b51 | 7 | Copyright (C) 2012 Joel Martin |
682fd02b | 8 | Copyright (C) 2016 Samuel Mannehed for Cendio AB |
6cba147d | 9 | Copyright (C) 2016 Pierre Ossman for Cendio AB |
1d728ace | 10 | noVNC is licensed under the MPL 2.0 (see LICENSE.txt) |
d58f8b51 | 11 | This file is licensed under the 2-Clause BSD license (see LICENSE.txt). |
9f0d23de PÅ |
12 | |
13 | Connect parameters are provided in query string: | |
14 | http://example.com/?host=HOST&port=PORT&encrypt=1&true_color=1 | |
494b407a GV |
15 | or the fragment: |
16 | http://example.com/#host=HOST&port=PORT&encrypt=1&true_color=1 | |
d595e656 | 17 | --> |
01a9eee9 | 18 | <title>noVNC</title> |
53fc7392 | 19 | |
a1dbbcc1 | 20 | <meta charset="utf-8" /> |
01a9eee9 JM |
21 | |
22 | <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
23 | Remove this if you use the .htaccess --> | |
a1dbbcc1 | 24 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
01a9eee9 | 25 | |
2b4e6ed5 PO |
26 | <!-- Icons (see Makefile for what the sizes are for) --> |
27 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> | |
28 | <link rel="icon" sizes="24x24" type="image/png" href="app/images/icons/novnc-24x24.png"> | |
29 | <link rel="icon" sizes="32x32" type="image/png" href="app/images/icons/novnc-32x32.png"> | |
30 | <link rel="icon" sizes="48x48" type="image/png" href="app/images/icons/novnc-48x48.png"> | |
31 | <link rel="icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png"> | |
32 | <link rel="icon" sizes="64x64" type="image/png" href="app/images/icons/novnc-64x64.png"> | |
33 | <link rel="icon" sizes="72x72" type="image/png" href="app/images/icons/novnc-72x72.png"> | |
34 | <link rel="icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png"> | |
35 | <link rel="icon" sizes="96x96" type="image/png" href="app/images/icons/novnc-96x96.png"> | |
36 | <link rel="icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png"> | |
37 | <link rel="icon" sizes="144x144" type="image/png" href="app/images/icons/novnc-144x144.png"> | |
38 | <link rel="icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png"> | |
39 | <link rel="icon" sizes="192x192" type="image/png" href="app/images/icons/novnc-192x192.png"> | |
40 | <link rel="icon" sizes="512x512" type="image/png" href="app/images/icons/novnc-512x512.png"> | |
41 | <link rel="icon" sizes="any" type="image/svg+xml" href="app/images/icons/novnc-icon.svg"> | |
42 | <!-- Repeated last so that legacy handling will pick this --> | |
43 | <link rel="icon" sizes="16x16" type="image/png" href="app/images/icons/novnc-16x16.png"> | |
44 | ||
a5df24b4 | 45 | <!-- Apple iOS Safari settings --> |
a1dbbcc1 | 46 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
01a9eee9 | 47 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
b597bdd1 | 48 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
2b4e6ed5 PO |
49 | <!-- Home Screen Icons (favourites and bookmarks use the normal icons) --> |
50 | <link rel="apple-touch-icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png"> | |
51 | <link rel="apple-touch-icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png"> | |
52 | <link rel="apple-touch-icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png"> | |
53 | <link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png"> | |
5299db1a | 54 | |
01a9eee9 | 55 | <!-- Stylesheets --> |
ae510306 SR |
56 | <link rel="stylesheet" href="app/styles/base.css" /> |
57 | <link rel="alternate stylesheet" href="app/styles/black.css" TITLE="Black" /> | |
58 | <link rel="alternate stylesheet" href="app/styles/blue.css" TITLE="Blue" /> | |
01a9eee9 | 59 | |
01a9eee9 | 60 | <!-- |
5299db1a | 61 | <script type='text/javascript' |
01a9eee9 JM |
62 | src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> |
63 | --> | |
64 | ||
5299db1a | 65 | </head> |
65e27ddd | 66 | |
53fc7392 | 67 | <body> |
d24de750 SM |
68 | |
69 | <div id="noVNC_fallback_error"> | |
70 | <div>noVNC encountered an error:</div> | |
71 | <div id="noVNC_fallback_errormsg"></div> | |
72 | </div> | |
73 | ||
3911256c | 74 | <!-- noVNC Control Bar --> |
fb7c3b3b | 75 | <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> |
3911256c | 76 | |
38323d4d | 77 | <div id="noVNC_control_bar"> |
65e3d7d6 | 78 | <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div> |
38323d4d PO |
79 | |
80 | <div class="noVNC_scroll"> | |
81 | ||
4d3aa0ef PO |
82 | <h1 class="noVNC_logo"><span>no</span><br />VNC</h1> |
83 | ||
3911256c | 84 | <!-- Drag/Pan the viewport --> |
8bf68826 | 85 | <input type="image" alt="viewport drag" src="app/images/drag.svg" |
a49d9298 | 86 | id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" |
a1dbbcc1 | 87 | title="Move/Drag Viewport" /> |
3911256c | 88 | |
89 | <!--noVNC Touch Device only buttons--> | |
a5df24b4 | 90 | <div id="noVNC_mobile_buttons"> |
8bf68826 | 91 | <input type="image" alt="No mousebutton" src="app/images/mouse_none.svg" |
cd5a035d PO |
92 | id="noVNC_mouse_button0" class="noVNC_button" |
93 | title="Active Mouse Button"/> | |
8bf68826 | 94 | <input type="image" alt="Left mousebutton" src="app/images/mouse_left.svg" |
cd5a035d PO |
95 | id="noVNC_mouse_button1" class="noVNC_button" |
96 | title="Active Mouse Button"/> | |
8bf68826 | 97 | <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.svg" |
cd5a035d PO |
98 | id="noVNC_mouse_button2" class="noVNC_button" |
99 | title="Active Mouse Button"/> | |
8bf68826 | 100 | <input type="image" alt="Right mousebutton" src="app/images/mouse_right.svg" |
cd5a035d PO |
101 | id="noVNC_mouse_button4" class="noVNC_button" |
102 | title="Active Mouse Button"/> | |
8bf68826 | 103 | <input type="image" alt="Keyboard" src="app/images/keyboard.svg" |
a49d9298 | 104 | id="noVNC_keyboard_button" class="noVNC_button" |
a1dbbcc1 | 105 | value="Keyboard" title="Show Keyboard" /> |
a5df24b4 | 106 | </div> |
01a9eee9 | 107 | |
ebbec43a PO |
108 | <!-- Extra manual keys --> |
109 | <div id="noVNC_extra_keys"> | |
110 | <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg" | |
cd5a035d PO |
111 | id="noVNC_toggle_extra_keys_button" class="noVNC_button" |
112 | title="Show Extra Keys"/> | |
fb7c3b3b PO |
113 | <div class="noVNC_vcenter"> |
114 | <div id="noVNC_modifiers" class="noVNC_panel"> | |
ebbec43a | 115 | <input type="image" alt="Ctrl" src="app/images/ctrl.svg" |
cd5a035d PO |
116 | id="noVNC_toggle_ctrl_button" class="noVNC_button" |
117 | title="Toggle Ctrl"/> | |
ebbec43a | 118 | <input type="image" alt="Alt" src="app/images/alt.svg" |
cd5a035d PO |
119 | id="noVNC_toggle_alt_button" class="noVNC_button" |
120 | title="Toggle Alt"/> | |
ebbec43a | 121 | <input type="image" alt="Tab" src="app/images/tab.svg" |
cd5a035d PO |
122 | id="noVNC_send_tab_button" class="noVNC_button" |
123 | title="Send Tab"/> | |
ebbec43a | 124 | <input type="image" alt="Esc" src="app/images/esc.svg" |
cd5a035d PO |
125 | id="noVNC_send_esc_button" class="noVNC_button" |
126 | title="Send Escape"/> | |
ca25d2ae PO |
127 | <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" |
128 | id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" | |
129 | title="Send Ctrl-Alt-Del" /> | |
bd88b943 | 130 | </div> |
fb7c3b3b | 131 | </div> |
a5df24b4 | 132 | </div> |
0fa4e0a9 | 133 | |
3911256c | 134 | <!-- XVP Shutdown/Reboot --> |
8bf68826 | 135 | <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg" |
a49d9298 | 136 | id="noVNC_xvp_button" class="noVNC_button" |
fb35d50f | 137 | title="Shutdown/Reboot..." /> |
fb7c3b3b | 138 | <div class="noVNC_vcenter"> |
286947cb | 139 | <div id="noVNC_xvp" class="noVNC_panel"> |
5454c345 PO |
140 | <div class="noVNC_heading"> |
141 | <img src="app/images/power.svg"> Power | |
142 | </div> | |
a49d9298 | 143 | <input type="button" id="noVNC_xvp_shutdown_button" value="Shutdown" /> |
144 | <input type="button" id="noVNC_xvp_reboot_button" value="Reboot" /> | |
145 | <input type="button" id="noVNC_xvp_reset_button" value="Reset" /> | |
3911256c | 146 | </div> |
fb7c3b3b | 147 | </div> |
0fa4e0a9 | 148 | |
3911256c | 149 | <!-- Clipboard --> |
8bf68826 | 150 | <input type="image" alt="Clipboard" src="app/images/clipboard.svg" |
a49d9298 | 151 | id="noVNC_clipboard_button" class="noVNC_button" |
26945049 | 152 | title="Clipboard" /> |
fb7c3b3b | 153 | <div class="noVNC_vcenter"> |
286947cb | 154 | <div id="noVNC_clipboard" class="noVNC_panel"> |
5454c345 PO |
155 | <div class="noVNC_heading"> |
156 | <img src="app/images/clipboard.svg"> Clipboard | |
157 | </div> | |
667a83e6 | 158 | <textarea id="noVNC_clipboard_text" rows=5></textarea> |
3911256c | 159 | <br /> |
160 | <input id="noVNC_clipboard_clear_button" type="button" | |
79fd3b1f | 161 | value="Clear" class="noVNC_submit" /> |
3911256c | 162 | </div> |
fb7c3b3b | 163 | </div> |
01a9eee9 | 164 | |
3911256c | 165 | <!-- Toggle fullscreen --> |
8bf68826 | 166 | <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg" |
a49d9298 | 167 | id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden" |
7d1dc09a | 168 | title="Fullscreen" /> |
fb35d50f | 169 | |
3911256c | 170 | <!-- Settings --> |
8bf68826 | 171 | <input type="image" alt="Settings" src="app/images/settings.svg" |
a49d9298 | 172 | id="noVNC_settings_button" class="noVNC_button" |
26945049 | 173 | title="Settings" /> |
fb7c3b3b | 174 | <div class="noVNC_vcenter"> |
286947cb | 175 | <div id="noVNC_settings" class="noVNC_panel"> |
01a9eee9 | 176 | <ul> |
5454c345 PO |
177 | <li class="noVNC_heading"> |
178 | <img src="app/images/settings.svg"> Settings | |
179 | </li> | |
1fe9faee PO |
180 | <li> |
181 | <label><input id="noVNC_setting_encrypt" type="checkbox" /> Encrypt</label> | |
182 | </li> | |
183 | <li> | |
184 | <label><input id="noVNC_setting_true_color" type="checkbox" checked /> True Color</label> | |
185 | </li> | |
186 | <li> | |
187 | <label><input id="noVNC_setting_cursor" type="checkbox" /> Local Cursor</label> | |
188 | </li> | |
189 | <li> | |
190 | <label><input id="noVNC_setting_clip" type="checkbox" /> Clip to Window</label> | |
191 | </li> | |
192 | <li> | |
193 | <label><input id="noVNC_setting_shared" type="checkbox" /> Shared Mode</label> | |
194 | </li> | |
195 | <li> | |
196 | <label><input id="noVNC_setting_view_only" type="checkbox" /> View Only</label> | |
197 | </li> | |
198 | <li><hr></li> | |
199 | <li> | |
200 | <label for="noVNC_setting_path">Path:</label> | |
201 | <input id="noVNC_setting_path" type="input" value="websockify" /> | |
202 | </li> | |
203 | <li> | |
204 | <label for="noVNC_setting_resize">Scaling Mode:</label> | |
682fd02b | 205 | <select id="noVNC_setting_resize" name="vncResize"> |
8b46c0de | 206 | <option value="off">None</option> |
72747869 SR |
207 | <option value="scale">Local Scaling</option> |
208 | <option value="downscale">Local Downscaling</option> | |
8b46c0de | 209 | <option value="remote">Remote Resizing</option> |
1fe9faee PO |
210 | </select> |
211 | </li> | |
212 | <li> | |
213 | <label for="noVNC_setting_repeaterID">Repeater ID:</label> | |
214 | <input id="noVNC_setting_repeaterID" type="input" value="" /> | |
8b46c0de | 215 | </li> |
1fe9faee | 216 | <li><hr></li> |
01a9eee9 | 217 | <!-- Stylesheet selection dropdown --> |
1fe9faee PO |
218 | <li> |
219 | <label>Style: | |
eeb395dc | 220 | <select id="noVNC_setting_stylesheet" name="vncStyle"> |
221 | <option value="default">default</option> | |
1fe9faee PO |
222 | </select> |
223 | </label> | |
01a9eee9 | 224 | </li> |
01a9eee9 | 225 | <!-- Logging selection dropdown --> |
1fe9faee PO |
226 | <li> |
227 | <label>Logging: | |
eeb395dc | 228 | <select id="noVNC_setting_logging" name="vncLogging"> |
1fe9faee PO |
229 | </select> |
230 | </label> | |
231 | </li> | |
232 | <li><hr></li> | |
233 | <li> | |
234 | <input type="button" id="noVNC_settings_apply" value="Apply" class="noVNC_submit" /> | |
01a9eee9 | 235 | </li> |
01a9eee9 | 236 | </ul> |
3911256c | 237 | </div> |
fb7c3b3b | 238 | </div> |
01a9eee9 | 239 | |
3911256c | 240 | <!-- Connection Controls --> |
8bf68826 | 241 | <input type="image" alt="Connect" src="app/images/connect.svg" |
a49d9298 | 242 | id="noVNC_connect_controls_button" class="noVNC_button" |
26945049 | 243 | title="Connect" /> |
8bf68826 | 244 | <input type="image" alt="Disconnect" src="app/images/disconnect.svg" |
a49d9298 | 245 | id="noVNC_disconnect_button" class="noVNC_button" |
26945049 | 246 | title="Disconnect" /> |
fb7c3b3b | 247 | <div class="noVNC_vcenter"> |
a49d9298 | 248 | <div id="noVNC_connect_controls" class="noVNC_panel"> |
3911256c | 249 | <ul> |
5454c345 PO |
250 | <li class="noVNC_heading"> |
251 | <img src="app/images/connect.svg"> Connection | |
252 | </li> | |
1fe9faee PO |
253 | <li> |
254 | <label for="noVNC_setting_host">Host:</label> | |
255 | <input id="noVNC_setting_host" /> | |
256 | </li> | |
257 | <li> | |
258 | <label for="noVNC_setting_port">Port:</label> | |
259 | <input id="noVNC_setting_port" /> | |
260 | </li> | |
261 | <li> | |
262 | <label for="noVNC_setting_password">Password:</label> | |
263 | <input id="noVNC_setting_password" type="password" /> | |
264 | </li> | |
265 | <li> | |
266 | <label for="noVNC_setting_token">Token:</label> | |
267 | <input id="noVNC_setting_token" /> | |
268 | </li> | |
269 | <li><hr></li> | |
270 | <li> | |
271 | <input id="noVNC_connect_button" type="button" value="Connect" class="noVNC_submit" /> | |
272 | </li> | |
3911256c | 273 | </ul> |
274 | </div> | |
fb7c3b3b | 275 | </div> |
38323d4d PO |
276 | |
277 | </div> | |
01a9eee9 JM |
278 | </div> |
279 | ||
3f2c25a6 | 280 | </div> <!-- End of noVNC_control_bar --> |
01a9eee9 | 281 | |
8434cc81 PO |
282 | <!-- Status Dialog --> |
283 | <div id="noVNC_status"></div> | |
284 | ||
8a7ec6ea SM |
285 | <!-- Password Dialog --> |
286 | <div class="noVNC_center"> | |
287 | <div id="noVNC_password_dlg" class="noVNC_panel"> | |
288 | <ul> | |
1fe9faee PO |
289 | <li> |
290 | <label>Password:</label> | |
291 | <input id="noVNC_password_input" type="password" /> | |
292 | </li> | |
293 | <li> | |
294 | <input id="noVNC_password_button" type="button" value="Send Password" class="noVNC_submit" /> | |
295 | </li> | |
8a7ec6ea SM |
296 | </ul> |
297 | </div> | |
298 | </div> | |
b70ce077 | 299 | |
8d710e8b PO |
300 | <!-- Transition Screens --> |
301 | <div id="noVNC_transition"> | |
302 | <div id="noVNC_transition_text"></div> | |
303 | <div class="noVNC_spinner"></div> | |
304 | </div> | |
305 | ||
553864e8 | 306 | <div id="noVNC_container"> |
4d3aa0ef | 307 | <h1 id="noVNC_logo" class="noVNC_logo"><span>no</span><br />VNC</h1> |
a5df24b4 JM |
308 | |
309 | <!-- HTML5 Canvas --> | |
553864e8 | 310 | <div id="noVNC_screen"> |
c8d4402f PO |
311 | <!-- Note that Google Chrome on Android doesn't respect any of these, |
312 | html attributes which attempt to disable text suggestions on the | |
313 | on-screen keyboard. Let's hope Chrome implements the ime-mode | |
314 | style for example --> | |
315 | <textarea id="noVNC_keyboardinput" autocapitalize="off" | |
316 | autocorrect="off" autocomplete="off" spellcheck="false" | |
317 | mozactionhint="Enter"></textarea> | |
318 | ||
fdedbafb | 319 | <canvas id="noVNC_canvas" width="0" height="0"> |
a5df24b4 JM |
320 | Canvas not supported. |
321 | </canvas> | |
322 | </div> | |
323 | ||
01a9eee9 | 324 | </div> |
63bf2ba5 PO |
325 | |
326 | <audio id="noVNC_bell"> | |
327 | <source src="app/sounds/bell.oga" type="audio/ogg"> | |
328 | <source src="app/sounds/bell.mp3" type="audio/mpeg"> | |
329 | </audio> | |
330 | ||
ae510306 SR |
331 | <!-- begin scripts --> |
332 | <script src="core/util.js"></script> | |
72bdd06e | 333 | <script src="app/webutil.js"></script> |
ae510306 SR |
334 | <script src="app/ui.js"></script> |
335 | <!-- end scripts --> | |
6f4b1e40 | 336 | |
53fc7392 | 337 | </body> |
65e27ddd | 338 | </html> |