]>
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 | |
a5df24b4 | 26 | <!-- Apple iOS Safari settings --> |
a1dbbcc1 | 27 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
01a9eee9 | 28 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
b597bdd1 | 29 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
a5df24b4 | 30 | <!-- App Start Icon --> |
ae510306 | 31 | <link rel="apple-touch-startup-image" href="app/images/screen_320x460.png" /> |
a5df24b4 | 32 | <!-- For iOS devices set the icon to use if user bookmarks app on their homescreen --> |
ae510306 | 33 | <link rel="apple-touch-icon" href="app/images/screen_57x57.png" /> |
01a9eee9 | 34 | <!-- |
ae510306 | 35 | <link rel="apple-touch-icon-precomposed" href="app/images/screen_57x57.png" /> |
01a9eee9 | 36 | --> |
a5df24b4 | 37 | |
5299db1a | 38 | |
01a9eee9 | 39 | <!-- Stylesheets --> |
ae510306 SR |
40 | <link rel="stylesheet" href="app/styles/base.css" /> |
41 | <link rel="alternate stylesheet" href="app/styles/black.css" TITLE="Black" /> | |
42 | <link rel="alternate stylesheet" href="app/styles/blue.css" TITLE="Blue" /> | |
01a9eee9 | 43 | |
01a9eee9 | 44 | <!-- |
5299db1a | 45 | <script type='text/javascript' |
01a9eee9 JM |
46 | src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> |
47 | --> | |
48 | ||
5299db1a | 49 | </head> |
65e27ddd | 50 | |
53fc7392 | 51 | <body> |
3911256c | 52 | <!-- noVNC Control Bar --> |
fb7c3b3b | 53 | <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> |
3911256c | 54 | |
38323d4d | 55 | <div id="noVNC_control_bar"> |
65e3d7d6 | 56 | <div id="noVNC_control_bar_handle" title="Hide/Show the control bar"><div></div></div> |
38323d4d PO |
57 | |
58 | <div class="noVNC_scroll"> | |
59 | ||
4d3aa0ef PO |
60 | <h1 class="noVNC_logo"><span>no</span><br />VNC</h1> |
61 | ||
3911256c | 62 | <!-- Drag/Pan the viewport --> |
8bf68826 | 63 | <input type="image" alt="viewport drag" src="app/images/drag.svg" |
a49d9298 | 64 | id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" |
a1dbbcc1 | 65 | title="Move/Drag Viewport" /> |
3911256c | 66 | |
67 | <!--noVNC Touch Device only buttons--> | |
6244e383 | 68 | <div id="noVNC_mobile_buttons"> |
8bf68826 | 69 | <input type="image" alt="No mousebutton" src="app/images/mouse_none.svg" |
cd5a035d PO |
70 | id="noVNC_mouse_button0" class="noVNC_button" |
71 | title="Active Mouse Button"/> | |
8bf68826 | 72 | <input type="image" alt="Left mousebutton" src="app/images/mouse_left.svg" |
cd5a035d PO |
73 | id="noVNC_mouse_button1" class="noVNC_button" |
74 | title="Active Mouse Button"/> | |
8bf68826 | 75 | <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.svg" |
cd5a035d PO |
76 | id="noVNC_mouse_button2" class="noVNC_button" |
77 | title="Active Mouse Button"/> | |
8bf68826 | 78 | <input type="image" alt="Right mousebutton" src="app/images/mouse_right.svg" |
cd5a035d PO |
79 | id="noVNC_mouse_button4" class="noVNC_button" |
80 | title="Active Mouse Button"/> | |
8bf68826 | 81 | <input type="image" alt="Keyboard" src="app/images/keyboard.svg" |
a49d9298 | 82 | id="noVNC_keyboard_button" class="noVNC_button" |
a1dbbcc1 | 83 | value="Keyboard" title="Show Keyboard" /> |
ebbec43a PO |
84 | </div> |
85 | ||
86 | <!-- Extra manual keys --> | |
87 | <div id="noVNC_extra_keys"> | |
88 | <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.svg" | |
cd5a035d PO |
89 | id="noVNC_toggle_extra_keys_button" class="noVNC_button" |
90 | title="Show Extra Keys"/> | |
fb7c3b3b PO |
91 | <div class="noVNC_vcenter"> |
92 | <div id="noVNC_modifiers" class="noVNC_panel"> | |
ebbec43a | 93 | <input type="image" alt="Ctrl" src="app/images/ctrl.svg" |
cd5a035d PO |
94 | id="noVNC_toggle_ctrl_button" class="noVNC_button" |
95 | title="Toggle Ctrl"/> | |
ebbec43a | 96 | <input type="image" alt="Alt" src="app/images/alt.svg" |
cd5a035d PO |
97 | id="noVNC_toggle_alt_button" class="noVNC_button" |
98 | title="Toggle Alt"/> | |
ebbec43a | 99 | <input type="image" alt="Tab" src="app/images/tab.svg" |
cd5a035d PO |
100 | id="noVNC_send_tab_button" class="noVNC_button" |
101 | title="Send Tab"/> | |
ebbec43a | 102 | <input type="image" alt="Esc" src="app/images/esc.svg" |
cd5a035d PO |
103 | id="noVNC_send_esc_button" class="noVNC_button" |
104 | title="Send Escape"/> | |
ca25d2ae PO |
105 | <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg" |
106 | id="noVNC_send_ctrl_alt_del_button" class="noVNC_button" | |
107 | title="Send Ctrl-Alt-Del" /> | |
bd88b943 | 108 | </div> |
fb7c3b3b | 109 | </div> |
a5df24b4 | 110 | </div> |
01a9eee9 | 111 | |
3911256c | 112 | <!-- XVP Shutdown/Reboot --> |
8bf68826 | 113 | <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg" |
a49d9298 | 114 | id="noVNC_xvp_button" class="noVNC_button" |
fb35d50f | 115 | title="Shutdown/Reboot..." /> |
fb7c3b3b | 116 | <div class="noVNC_vcenter"> |
286947cb | 117 | <div id="noVNC_xvp" class="noVNC_panel"> |
a49d9298 | 118 | <input type="button" id="noVNC_xvp_shutdown_button" value="Shutdown" /> |
119 | <input type="button" id="noVNC_xvp_reboot_button" value="Reboot" /> | |
120 | <input type="button" id="noVNC_xvp_reset_button" value="Reset" /> | |
3911256c | 121 | </div> |
fb7c3b3b | 122 | </div> |
3911256c | 123 | |
124 | <!-- Clipboard --> | |
8bf68826 | 125 | <input type="image" alt="Clipboard" src="app/images/clipboard.svg" |
a49d9298 | 126 | id="noVNC_clipboard_button" class="noVNC_button" |
26945049 | 127 | title="Clipboard" /> |
fb7c3b3b | 128 | <div class="noVNC_vcenter"> |
286947cb | 129 | <div id="noVNC_clipboard" class="noVNC_panel"> |
3911256c | 130 | <textarea id="noVNC_clipboard_text" rows=5> |
131 | </textarea> | |
132 | <br /> | |
133 | <input id="noVNC_clipboard_clear_button" type="button" | |
79fd3b1f | 134 | value="Clear" class="noVNC_submit" /> |
3911256c | 135 | </div> |
fb7c3b3b | 136 | </div> |
3911256c | 137 | |
138 | <!-- Toggle fullscreen --> | |
8bf68826 | 139 | <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg" |
a49d9298 | 140 | id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden" |
7d1dc09a | 141 | title="Fullscreen" /> |
3911256c | 142 | |
143 | <!-- Settings --> | |
8bf68826 | 144 | <input type="image" alt="Settings" src="app/images/settings.svg" |
a49d9298 | 145 | id="noVNC_settings_button" class="noVNC_button" |
26945049 | 146 | title="Settings" /> |
fb7c3b3b | 147 | <div class="noVNC_vcenter"> |
286947cb | 148 | <div id="noVNC_settings" class="noVNC_panel"> |
eeb395dc | 149 | <ul> |
1fe9faee PO |
150 | <li> |
151 | <label><input id="noVNC_setting_encrypt" type="checkbox" /> Encrypt</label> | |
152 | </li> | |
153 | <li> | |
154 | <label><input id="noVNC_setting_true_color" type="checkbox" checked /> True Color</label> | |
155 | </li> | |
156 | <li> | |
157 | <label><input id="noVNC_setting_cursor" type="checkbox" /> Local Cursor</label> | |
158 | </li> | |
159 | <li> | |
160 | <label><input id="noVNC_setting_clip" type="checkbox" /> Clip to Window</label> | |
161 | </li> | |
162 | <li> | |
163 | <label><input id="noVNC_setting_shared" type="checkbox" /> Shared Mode</label> | |
164 | </li> | |
165 | <li> | |
166 | <label><input id="noVNC_setting_view_only" type="checkbox" /> View Only</label> | |
167 | </li> | |
168 | <li><hr></li> | |
169 | <li> | |
170 | <label for="noVNC_setting_path">Path:</label> | |
171 | <input id="noVNC_setting_path" type="input" value="websockify" /> | |
172 | </li> | |
173 | <li> | |
174 | <label for="noVNC_setting_resize">Scaling Mode:</label> | |
175 | <select id="noVNC_setting_resize" name="vncResize"> | |
176 | <option value="off">None</option> | |
177 | <option value="scale">Local Scaling</option> | |
178 | <option value="downscale">Local Downscaling</option> | |
179 | <option value="remote">Remote Resizing</option> | |
180 | </select> | |
181 | </li> | |
182 | <li> | |
183 | <label for="noVNC_setting_repeaterID">Repeater ID:</label> | |
184 | <input id="noVNC_setting_repeaterID" type="input" value="" /> | |
185 | </li> | |
186 | <li><hr></li> | |
eeb395dc | 187 | <!-- Stylesheet selection dropdown --> |
1fe9faee PO |
188 | <li> |
189 | <label>Style: | |
eeb395dc | 190 | <select id="noVNC_setting_stylesheet" name="vncStyle"> |
191 | <option value="default">default</option> | |
1fe9faee PO |
192 | </select> |
193 | </label> | |
eeb395dc | 194 | </li> |
195 | <!-- Logging selection dropdown --> | |
1fe9faee PO |
196 | <li> |
197 | <label>Logging: | |
eeb395dc | 198 | <select id="noVNC_setting_logging" name="vncLogging"> |
1fe9faee PO |
199 | </select> |
200 | </label> | |
201 | </li> | |
202 | <li><hr></li> | |
203 | <li> | |
204 | <input type="button" id="noVNC_settings_apply" value="Apply" class="noVNC_submit" /> | |
eeb395dc | 205 | </li> |
eeb395dc | 206 | </ul> |
3911256c | 207 | </div> |
fb7c3b3b | 208 | </div> |
3911256c | 209 | |
210 | <!-- Connection Controls --> | |
8bf68826 | 211 | <input type="image" alt="Connect" src="app/images/connect.svg" |
a49d9298 | 212 | id="noVNC_connect_controls_button" class="noVNC_button" |
26945049 | 213 | title="Connect" /> |
8bf68826 | 214 | <input type="image" alt="Disconnect" src="app/images/disconnect.svg" |
a49d9298 | 215 | id="noVNC_disconnect_button" class="noVNC_button" |
26945049 | 216 | title="Disconnect" /> |
fb7c3b3b | 217 | <div class="noVNC_vcenter"> |
a49d9298 | 218 | <div id="noVNC_connect_controls" class="noVNC_panel"> |
3911256c | 219 | <ul> |
1fe9faee PO |
220 | <li> |
221 | <label for="noVNC_setting_host">Host:</label> | |
222 | <input id="noVNC_setting_host" /> | |
223 | </li> | |
224 | <li> | |
225 | <label for="noVNC_setting_port">Port:</label> | |
226 | <input id="noVNC_setting_port" /> | |
227 | </li> | |
228 | <li> | |
229 | <label for="noVNC_setting_password">Password:</label> | |
230 | <input id="noVNC_setting_password" type="password" /> | |
231 | </li> | |
232 | <li> | |
233 | <label for="noVNC_setting_token">Token:</label> | |
234 | <input id="noVNC_setting_token" /> | |
235 | </li> | |
236 | <li><hr></li> | |
237 | <li> | |
238 | <input id="noVNC_connect_button" type="button" value="Connect" class="noVNC_submit" /> | |
239 | </li> | |
3911256c | 240 | </ul> |
241 | </div> | |
fb7c3b3b | 242 | </div> |
38323d4d PO |
243 | |
244 | </div> | |
245 | </div> | |
01a9eee9 | 246 | |
3f2c25a6 | 247 | </div> <!-- End of noVNC_control_bar --> |
01a9eee9 | 248 | |
8434cc81 PO |
249 | <!-- Status Dialog --> |
250 | <div id="noVNC_status"></div> | |
251 | ||
8a7ec6ea SM |
252 | <!-- Password Dialog --> |
253 | <div class="noVNC_center"> | |
254 | <div id="noVNC_password_dlg" class="noVNC_panel"> | |
255 | <ul> | |
1fe9faee PO |
256 | <li> |
257 | <label>Password:</label> | |
258 | <input id="noVNC_password_input" type="password" /> | |
259 | </li> | |
260 | <li> | |
261 | <input id="noVNC_password_button" type="button" value="Send Password" class="noVNC_submit" /> | |
262 | </li> | |
8a7ec6ea SM |
263 | </ul> |
264 | </div> | |
265 | </div> | |
266 | ||
553864e8 | 267 | <div id="noVNC_container"> |
4d3aa0ef | 268 | <h1 id="noVNC_logo" class="noVNC_logo"><span>no</span><br />VNC</h1> |
a5df24b4 JM |
269 | |
270 | <!-- HTML5 Canvas --> | |
6244e383 | 271 | <div id="noVNC_screen"> |
c8d4402f PO |
272 | <!-- Note that Google Chrome on Android doesn't respect any of these, |
273 | html attributes which attempt to disable text suggestions on the | |
274 | on-screen keyboard. Let's hope Chrome implements the ime-mode | |
275 | style for example --> | |
276 | <textarea id="noVNC_keyboardinput" autocapitalize="off" | |
277 | autocorrect="off" autocomplete="off" spellcheck="false" | |
278 | mozactionhint="Enter"></textarea> | |
279 | ||
fdedbafb | 280 | <canvas id="noVNC_canvas" width="0" height="0"> |
a5df24b4 JM |
281 | Canvas not supported. |
282 | </canvas> | |
283 | </div> | |
284 | ||
01a9eee9 | 285 | </div> |
ae510306 SR |
286 | <!-- begin scripts --> |
287 | <script src="core/util.js"></script> | |
72bdd06e | 288 | <script src="app/webutil.js"></script> |
ae510306 SR |
289 | <script src="app/ui.js"></script> |
290 | <!-- end scripts --> | |
6f4b1e40 | 291 | |
53fc7392 | 292 | </body> |
65e27ddd | 293 | </html> |