]> git.proxmox.com Git - mirror_novnc.git/blob - vnc.html
Simplify modifier button display
[mirror_novnc.git] / vnc.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4
5 <!--
6 noVNC example: simple example using default UI
7 Copyright (C) 2012 Joel Martin
8 Copyright (C) 2016 Samuel Mannehed for Cendio AB
9 Copyright (C) 2016 Pierre Ossman for Cendio AB
10 noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
11 This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
12
13 Connect parameters are provided in query string:
14 http://example.com/?host=HOST&port=PORT&encrypt=1&true_color=1
15 or the fragment:
16 http://example.com/#host=HOST&port=PORT&encrypt=1&true_color=1
17 -->
18 <title>noVNC</title>
19
20 <meta charset="utf-8" />
21
22 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
23 Remove this if you use the .htaccess -->
24 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
25
26 <!-- Apple iOS Safari settings -->
27 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
28 <meta name="apple-mobile-web-app-capable" content="yes" />
29 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
30 <!-- App Start Icon -->
31 <link rel="apple-touch-startup-image" href="app/images/screen_320x460.png" />
32 <!-- For iOS devices set the icon to use if user bookmarks app on their homescreen -->
33 <link rel="apple-touch-icon" href="app/images/screen_57x57.png" />
34 <!--
35 <link rel="apple-touch-icon-precomposed" href="app/images/screen_57x57.png" />
36 -->
37
38
39 <!-- Stylesheets -->
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" />
43
44 <!--
45 <script type='text/javascript'
46 src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
47 -->
48
49 </head>
50
51 <body>
52 <!-- noVNC Control Bar -->
53 <div id="noVNC_control_bar" class="noVNC_status_normal">
54
55 <div class="noVNC_buttons_left">
56
57 <!-- Drag/Pan the viewport -->
58 <input type="image" alt="viewport drag" src="app/images/drag.png"
59 id="noVNC_view_drag_button" class="noVNC_status_button"
60 title="Move/Drag Viewport" />
61
62 <!--noVNC Touch Device only buttons-->
63 <div id="noVNC_mobile_buttons">
64 <input type="image" alt="No mousebutton" src="app/images/mouse_none.png"
65 id="noVNC_mouse_button0" class="noVNC_status_button" />
66 <input type="image" alt="Left mousebutton" src="app/images/mouse_left.png"
67 id="noVNC_mouse_button1" class="noVNC_status_button" />
68 <input type="image" alt="Middle mousebutton" src="app/images/mouse_middle.png"
69 id="noVNC_mouse_button2" class="noVNC_status_button" />
70 <input type="image" alt="Right mousebutton" src="app/images/mouse_right.png"
71 id="noVNC_mouse_button4" class="noVNC_status_button" />
72 <input type="image" alt="Keyboard" src="app/images/keyboard.png"
73 id="noVNC_keyboard_button" class="noVNC_status_button"
74 value="Keyboard" title="Show Keyboard" />
75 <!-- Note that Google Chrome on Android doesn't respect any of these,
76 html attributes which attempt to disable text suggestions on the
77 on-screen keyboard. Let's hope Chrome implements the ime-mode
78 style for example -->
79 <textarea id="noVNC_keyboardinput" autocapitalize="off"
80 autocorrect="off" autocomplete="off" spellcheck="false"
81 mozactionhint="Enter"></textarea>
82 <div id="noVNC_extra_keys">
83 <input type="image" alt="Extra keys" src="app/images/toggleextrakeys.png"
84 id="noVNC_toggleExtraKeys_button" class="noVNC_status_button" />
85 <div id="noVNC_modifiers">
86 <input type="image" alt="Ctrl" src="app/images/ctrl.png"
87 id="noVNC_toggleCtrl_button" class="noVNC_status_button" />
88 <input type="image" alt="Alt" src="app/images/alt.png"
89 id="noVNC_toggleAlt_button" class="noVNC_status_button" />
90 <input type="image" alt="Tab" src="app/images/tab.png"
91 id="noVNC_sendTab_button" class="noVNC_status_button" />
92 <input type="image" alt="Esc" src="app/images/esc.png"
93 id="noVNC_sendEsc_button" class="noVNC_status_button" />
94 </div>
95 </div>
96 </div>
97 </div>
98
99 <div id="noVNC_status"></div>
100
101 <div class="noVNC_buttons_right">
102 <!-- Send Ctrl+Alt+Delete -->
103 <input type="image" alt="Ctrl+Alt+Del" src="app/images/ctrlaltdel.png"
104 id="noVNC_sendCtrlAltDel_button" class="noVNC_status_button"
105 title="Send Ctrl-Alt-Del" />
106
107 <!-- XVP Shutdown/Reboot -->
108 <input type="image" alt="Shutdown/Reboot" src="app/images/power.png"
109 id="noVNC_toggleXvp_button" class="noVNC_status_button"
110 title="Shutdown/Reboot..." />
111 <div id="noVNC_xvp" class="noVNC_panel">
112 <input type="button" id="noVNC_xvpShutdown_button" value="Shutdown" />
113 <input type="button" id="noVNC_xvpReboot_button" value="Reboot" />
114 <input type="button" id="noVNC_xvpReset_button" value="Reset" />
115 </div>
116
117 <!-- Clipboard -->
118 <input type="image" alt="Clipboard" src="app/images/clipboard.png"
119 id="noVNC_clipboard_button" class="noVNC_status_button"
120 title="Clipboard" />
121 <div id="noVNC_clipboard" class="noVNC_panel">
122 <textarea id="noVNC_clipboard_text" rows=5>
123 </textarea>
124 <br />
125 <input id="noVNC_clipboard_clear_button" type="button"
126 value="Clear" />
127 </div>
128
129 <!-- Toggle fullscreen -->
130 <input type="image" alt="Fullscreen" src="app/images/fullscreen.png"
131 id="noVNC_fullscreen_button" class="noVNC_status_button"
132 title="Fullscreen" />
133
134 <!-- Settings -->
135 <input type="image" alt="Settings" src="app/images/settings.png"
136 id="noVNC_settings_button" class="noVNC_status_button"
137 title="Settings" />
138 <div id="noVNC_settings" class="noVNC_panel">
139 <ul>
140 <li><input id="noVNC_setting_encrypt" type="checkbox" /> Encrypt</li>
141 <li><input id="noVNC_setting_true_color" type="checkbox" checked /> True Color</li>
142 <li><input id="noVNC_setting_cursor" type="checkbox" /> Local Cursor</li>
143 <li><input id="noVNC_setting_clip" type="checkbox" /> Clip to Window</li>
144 <li><input id="noVNC_setting_shared" type="checkbox" /> Shared Mode</li>
145 <li><input id="noVNC_setting_view_only" type="checkbox" /> View Only</li>
146 <hr>
147 <li><input id="noVNC_setting_path" type="input" value="websockify" /> Path</li>
148 <li><label>
149 <select id="noVNC_setting_resize" name="vncResize">
150 <option value="off">None</option>
151 <option value="scale">Local Scaling</option>
152 <option value="downscale">Local Downscaling</option>
153 <option value="remote">Remote Resizing</option>
154 </select> Scaling Mode</label>
155 </li>
156 <li><input id="noVNC_setting_repeaterID" type="input" value="" /> Repeater ID</li>
157 <hr>
158 <!-- Stylesheet selection dropdown -->
159 <li><label><strong>Style: </strong>
160 <select id="noVNC_setting_stylesheet" name="vncStyle">
161 <option value="default">default</option>
162 </select></label>
163 </li>
164 <!-- Logging selection dropdown -->
165 <li><label><strong>Logging: </strong>
166 <select id="noVNC_setting_logging" name="vncLogging">
167 </select></label>
168 </li>
169 <hr>
170 <li><input type="button" id="noVNC_settings_apply" value="Apply" /></li>
171 </ul>
172 </div>
173
174 <!-- Connection Controls -->
175 <input type="image" alt="Connect" src="app/images/connect.png"
176 id="noVNC_connectPanel_button" class="noVNC_status_button"
177 title="Connect" />
178 <input type="image" alt="Disconnect" src="app/images/disconnect.png"
179 id="noVNC_disconnect_button" class="noVNC_status_button"
180 title="Disconnect" />
181 <div id="noVNC_controls" class="noVNC_panel">
182 <ul>
183 <li><label><strong>Host: </strong><input id="noVNC_setting_host" /></label></li>
184 <li><label><strong>Port: </strong><input id="noVNC_setting_port" /></label></li>
185 <li><label><strong>Password: </strong><input id="noVNC_setting_password" type="password" /></label></li>
186 <li><label><strong>Token: </strong><input id="noVNC_setting_token" /></label></li>
187 <li><input id="noVNC_connect_button" type="button" value="Connect" /></li>
188 </ul>
189 </div>
190 </div>
191
192 <!-- Popup Status -->
193 <div id="noVNC_popup_status" class="">
194 </div>
195
196 </div> <!-- End of noVNC_control_bar -->
197
198 <div id="noVNC_container">
199 <h1 id="noVNC_logo"><span>no</span><br />VNC</h1>
200
201 <!-- HTML5 Canvas -->
202 <div id="noVNC_screen">
203 <canvas id="noVNC_canvas" width="0" height="0">
204 Canvas not supported.
205 </canvas>
206 </div>
207
208 </div>
209 <!-- begin scripts -->
210 <script src="core/util.js"></script>
211 <script src="app/webutil.js"></script>
212 <script src="app/ui.js"></script>
213 <!-- end scripts -->
214
215 </body>
216 </html>