]> git.proxmox.com Git - mirror_novnc.git/blame - vnc.html
Make sure all buttons have a tooltip
[mirror_novnc.git] / vnc.html
CommitLineData
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
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"/>
bd88b943 105 </div>
fb7c3b3b 106 </div>
a5df24b4 107 </div>
01a9eee9 108
3911256c 109 <!-- Send Ctrl+Alt+Delete -->
8bf68826 110 <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.svg"
a49d9298 111 id="noVNC_send_ctrl_alt_del_button" class="noVNC_button"
26945049 112 title="Send Ctrl-Alt-Del" />
3911256c 113
114 <!-- XVP Shutdown/Reboot -->
8bf68826 115 <input type="image" alt="Shutdown/Reboot" src="app/images/power.svg"
a49d9298 116 id="noVNC_xvp_button" class="noVNC_button"
fb35d50f 117 title="Shutdown/Reboot..." />
fb7c3b3b 118 <div class="noVNC_vcenter">
286947cb 119 <div id="noVNC_xvp" class="noVNC_panel">
a49d9298 120 <input type="button" id="noVNC_xvp_shutdown_button" value="Shutdown" />
121 <input type="button" id="noVNC_xvp_reboot_button" value="Reboot" />
122 <input type="button" id="noVNC_xvp_reset_button" value="Reset" />
3911256c 123 </div>
fb7c3b3b 124 </div>
3911256c 125
126 <!-- Clipboard -->
8bf68826 127 <input type="image" alt="Clipboard" src="app/images/clipboard.svg"
a49d9298 128 id="noVNC_clipboard_button" class="noVNC_button"
26945049 129 title="Clipboard" />
fb7c3b3b 130 <div class="noVNC_vcenter">
286947cb 131 <div id="noVNC_clipboard" class="noVNC_panel">
3911256c 132 <textarea id="noVNC_clipboard_text" rows=5>
133 </textarea>
134 <br />
135 <input id="noVNC_clipboard_clear_button" type="button"
79fd3b1f 136 value="Clear" class="noVNC_submit" />
3911256c 137 </div>
fb7c3b3b 138 </div>
3911256c 139
140 <!-- Toggle fullscreen -->
8bf68826 141 <input type="image" alt="Fullscreen" src="app/images/fullscreen.svg"
a49d9298 142 id="noVNC_fullscreen_button" class="noVNC_button noVNC_hidden"
7d1dc09a 143 title="Fullscreen" />
3911256c 144
145 <!-- Settings -->
8bf68826 146 <input type="image" alt="Settings" src="app/images/settings.svg"
a49d9298 147 id="noVNC_settings_button" class="noVNC_button"
26945049 148 title="Settings" />
fb7c3b3b 149 <div class="noVNC_vcenter">
286947cb 150 <div id="noVNC_settings" class="noVNC_panel">
eeb395dc 151 <ul>
152 <li><input id="noVNC_setting_encrypt" type="checkbox" /> Encrypt</li>
153 <li><input id="noVNC_setting_true_color" type="checkbox" checked /> True Color</li>
154 <li><input id="noVNC_setting_cursor" type="checkbox" /> Local Cursor</li>
155 <li><input id="noVNC_setting_clip" type="checkbox" /> Clip to Window</li>
156 <li><input id="noVNC_setting_shared" type="checkbox" /> Shared Mode</li>
157 <li><input id="noVNC_setting_view_only" type="checkbox" /> View Only</li>
158 <hr>
159 <li><input id="noVNC_setting_path" type="input" value="websockify" /> Path</li>
160 <li><label>
161 <select id="noVNC_setting_resize" name="vncResize">
162 <option value="off">None</option>
163 <option value="scale">Local Scaling</option>
164 <option value="downscale">Local Downscaling</option>
165 <option value="remote">Remote Resizing</option>
166 </select> Scaling Mode</label>
167 </li>
168 <li><input id="noVNC_setting_repeaterID" type="input" value="" /> Repeater ID</li>
169 <hr>
170 <!-- Stylesheet selection dropdown -->
171 <li><label><strong>Style: </strong>
172 <select id="noVNC_setting_stylesheet" name="vncStyle">
173 <option value="default">default</option>
174 </select></label>
175 </li>
176 <!-- Logging selection dropdown -->
177 <li><label><strong>Logging: </strong>
178 <select id="noVNC_setting_logging" name="vncLogging">
179 </select></label>
180 </li>
181 <hr>
79fd3b1f 182 <li><input type="button" id="noVNC_settings_apply" value="Apply" class="noVNC_submit" /></li>
eeb395dc 183 </ul>
3911256c 184 </div>
fb7c3b3b 185 </div>
3911256c 186
187 <!-- Connection Controls -->
8bf68826 188 <input type="image" alt="Connect" src="app/images/connect.svg"
a49d9298 189 id="noVNC_connect_controls_button" class="noVNC_button"
26945049 190 title="Connect" />
8bf68826 191 <input type="image" alt="Disconnect" src="app/images/disconnect.svg"
a49d9298 192 id="noVNC_disconnect_button" class="noVNC_button"
26945049 193 title="Disconnect" />
fb7c3b3b 194 <div class="noVNC_vcenter">
a49d9298 195 <div id="noVNC_connect_controls" class="noVNC_panel">
3911256c 196 <ul>
197 <li><label><strong>Host: </strong><input id="noVNC_setting_host" /></label></li>
198 <li><label><strong>Port: </strong><input id="noVNC_setting_port" /></label></li>
199 <li><label><strong>Password: </strong><input id="noVNC_setting_password" type="password" /></label></li>
200 <li><label><strong>Token: </strong><input id="noVNC_setting_token" /></label></li>
79fd3b1f 201 <li><input id="noVNC_connect_button" type="button" value="Connect" class="noVNC_submit" /></li>
3911256c 202 </ul>
203 </div>
fb7c3b3b 204 </div>
38323d4d
PO
205
206 </div>
207 </div>
01a9eee9 208
3f2c25a6 209 </div> <!-- End of noVNC_control_bar -->
01a9eee9 210
8434cc81
PO
211 <!-- Status Dialog -->
212 <div id="noVNC_status"></div>
213
8a7ec6ea
SM
214 <!-- Password Dialog -->
215 <div class="noVNC_center">
216 <div id="noVNC_password_dlg" class="noVNC_panel">
217 <ul>
218 <li><label><strong>Password: </strong><input id="noVNC_password_input" type="password" /></label></li>
219 <li><input id="noVNC_password_button" type="button" value="Send Password" class="noVNC_submit" /></li>
220 </ul>
221 </div>
222 </div>
223
553864e8 224 <div id="noVNC_container">
4d3aa0ef 225 <h1 id="noVNC_logo" class="noVNC_logo"><span>no</span><br />VNC</h1>
a5df24b4
JM
226
227 <!-- HTML5 Canvas -->
6244e383 228 <div id="noVNC_screen">
c8d4402f
PO
229 <!-- Note that Google Chrome on Android doesn't respect any of these,
230 html attributes which attempt to disable text suggestions on the
231 on-screen keyboard. Let's hope Chrome implements the ime-mode
232 style for example -->
233 <textarea id="noVNC_keyboardinput" autocapitalize="off"
234 autocorrect="off" autocomplete="off" spellcheck="false"
235 mozactionhint="Enter"></textarea>
236
fdedbafb 237 <canvas id="noVNC_canvas" width="0" height="0">
a5df24b4
JM
238 Canvas not supported.
239 </canvas>
240 </div>
241
01a9eee9 242 </div>
ae510306
SR
243 <!-- begin scripts -->
244 <script src="core/util.js"></script>
72bdd06e 245 <script src="app/webutil.js"></script>
ae510306
SR
246 <script src="app/ui.js"></script>
247 <!-- end scripts -->
6f4b1e40 248
53fc7392 249 </body>
65e27ddd 250</html>