]>
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 |
0019d3b0 | 8 | Copyright (C) 2013 Samuel Mannehed for Cendio AB |
1d728ace | 9 | noVNC is licensed under the MPL 2.0 (see LICENSE.txt) |
d58f8b51 | 10 | This file is licensed under the 2-Clause BSD license (see LICENSE.txt). |
9f0d23de PÅ |
11 | |
12 | Connect parameters are provided in query string: | |
13 | http://example.com/?host=HOST&port=PORT&encrypt=1&true_color=1 | |
d595e656 | 14 | --> |
01a9eee9 | 15 | <title>noVNC</title> |
53fc7392 | 16 | |
01a9eee9 JM |
17 | <meta charset="utf-8"> |
18 | ||
19 | <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
20 | Remove this if you use the .htaccess --> | |
21 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
22 | ||
a5df24b4 JM |
23 | <!-- Apple iOS Safari settings --> |
24 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
01a9eee9 | 25 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
b597bdd1 | 26 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
a5df24b4 | 27 | <!-- App Start Icon --> |
5299db1a | 28 | <link rel="apple-touch-startup-image" href="images/screen_320x460.png" /> |
a5df24b4 JM |
29 | <!-- For iOS devices set the icon to use if user bookmarks app on their homescreen --> |
30 | <link rel="apple-touch-icon" href="images/screen_57x57.png"> | |
01a9eee9 | 31 | <!-- |
5299db1a | 32 | <link rel="apple-touch-icon-precomposed" href="images/screen_57x57.png" /> |
01a9eee9 | 33 | --> |
a5df24b4 | 34 | |
5299db1a | 35 | |
01a9eee9 JM |
36 | <!-- Stylesheets --> |
37 | <link rel="stylesheet" href="include/base.css" /> | |
53fc7392 | 38 | <link rel="alternate stylesheet" href="include/black.css" TITLE="Black" /> |
01a9eee9 JM |
39 | <link rel="alternate stylesheet" href="include/blue.css" TITLE="Blue" /> |
40 | ||
01a9eee9 | 41 | <!-- |
5299db1a | 42 | <script type='text/javascript' |
01a9eee9 JM |
43 | src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> |
44 | --> | |
45 | ||
5299db1a | 46 | </head> |
65e27ddd | 47 | |
53fc7392 | 48 | <body> |
58ded70d | 49 | <div id="noVNC-control-bar" class="noVNC_status_normal"> |
01a9eee9 | 50 | <!--noVNC Mobile Device only Buttons--> |
a5df24b4 | 51 | <div class="noVNC-buttons-left"> |
23817e15 | 52 | <input type="image" alt="viewport drag" src="images/drag.png" |
a5df24b4 | 53 | id="noVNC_view_drag_button" class="noVNC_status_button" |
26945049 | 54 | title="Move/Drag Viewport"> |
a5df24b4 | 55 | <div id="noVNC_mobile_buttons"> |
23817e15 | 56 | <input type="image" alt="No mousebutton" src="images/mouse_none.png" |
26945049 | 57 | id="noVNC_mouse_button0" class="noVNC_status_button"> |
23817e15 | 58 | <input type="image" alt="Left mousebutton" src="images/mouse_left.png" |
26945049 | 59 | id="noVNC_mouse_button1" class="noVNC_status_button"> |
23817e15 | 60 | <input type="image" alt="Middle mousebutton" src="images/mouse_middle.png" |
26945049 | 61 | id="noVNC_mouse_button2" class="noVNC_status_button"> |
23817e15 | 62 | <input type="image" alt="Right mousebutton" src="images/mouse_right.png" |
26945049 | 63 | id="noVNC_mouse_button4" class="noVNC_status_button"> |
23817e15 | 64 | <input type="image" alt="Keyboard" src="images/keyboard.png" |
5299db1a | 65 | id="showKeyboard" class="noVNC_status_button" |
26945049 | 66 | value="Keyboard" title="Show Keyboard"/> |
8f4a291b | 67 | <!-- Note that Google Chrome on Android doesn't respect any of these, |
68 | html attributes which attempt to disable text suggestions on the | |
69 | on-screen keyboard. Let's hope Chrome implements the ime-mode | |
70 | style for example --> | |
eeda79d3 | 71 | <textarea id="keyboardinput" autocapitalize="off" |
de8edde4 | 72 | autocorrect="off" autocomplete="off" spellcheck="false" |
48d26b2d | 73 | mozactionhint="Enter"></textarea> |
bd88b943 | 74 | <div id="noVNC_extra_keys"> |
23817e15 | 75 | <input type="image" alt="Extra keys" src="images/showextrakeys.png" |
76 | id="showExtraKeysButton" class="noVNC_status_button"> | |
77 | <input type="image" alt="Ctrl" src="images/ctrl.png" | |
78 | id="toggleCtrlButton" class="noVNC_status_button"> | |
79 | <input type="image" alt="Alt" src="images/alt.png" | |
80 | id="toggleAltButton" class="noVNC_status_button"> | |
81 | <input type="image" alt="Tab" src="images/tab.png" | |
82 | id="sendTabButton" class="noVNC_status_button"> | |
83 | <input type="image" alt="Esc" src="images/esc.png" | |
84 | id="sendEscButton" class="noVNC_status_button"> | |
bd88b943 | 85 | </div> |
a5df24b4 | 86 | </div> |
01a9eee9 JM |
87 | </div> |
88 | ||
58ded70d | 89 | <div id="noVNC_status"></div> |
0fa4e0a9 | 90 | |
01a9eee9 | 91 | <!--noVNC Buttons--> |
608e0f52 | 92 | <div class="noVNC-buttons-right"> |
23817e15 | 93 | <input type="image" alt="Ctrl+Alt+Del" src="images/ctrlaltdel.png" |
94 | id="sendCtrlAltDelButton" class="noVNC_status_button" | |
26945049 | 95 | title="Send Ctrl-Alt-Del" /> |
23817e15 | 96 | <input type="image" alt="Shutdown/Reboot" src="images/power.png" |
fb35d50f MS |
97 | id="xvpButton" class="noVNC_status_button" |
98 | title="Shutdown/Reboot..." /> | |
23817e15 | 99 | <input type="image" alt="Clipboard" src="images/clipboard.png" |
a5df24b4 | 100 | id="clipboardButton" class="noVNC_status_button" |
26945049 | 101 | title="Clipboard" /> |
7d1dc09a | 102 | <input type="image" alt="Fullscreen" src="images/fullscreen.png" |
103 | id="fullscreenButton" class="noVNC_status_button" | |
104 | title="Fullscreen" /> | |
23817e15 | 105 | <input type="image" alt="Settings" src="images/settings.png" |
c506a481 | 106 | id="settingsButton" class="noVNC_status_button" |
26945049 | 107 | title="Settings" /> |
23817e15 | 108 | <input type="image" alt="Connect" src="images/connect.png" |
0ce93900 | 109 | id="connectButton" class="noVNC_status_button" |
26945049 | 110 | title="Connect" /> |
23817e15 | 111 | <input type="image" alt="Disconnect" src="images/disconnect.png" |
a5df24b4 | 112 | id="disconnectButton" class="noVNC_status_button" |
26945049 | 113 | title="Disconnect" /> |
01a9eee9 JM |
114 | </div> |
115 | ||
0ce93900 JM |
116 | <!-- Description Panel --> |
117 | <!-- Shown by default when hosted at for kanaka.github.com --> | |
2fa1c098 | 118 | <div id="noVNC_description" class=""> |
0ce93900 JM |
119 | noVNC is a browser based VNC client implemented using HTML5 Canvas |
120 | and WebSockets. You will either need a VNC server with WebSockets | |
121 | support (such as <a href="http://libvncserver.sourceforge.net/">libvncserver</a>) | |
122 | or you will need to use | |
123 | <a href="https://github.com/kanaka/websockify">websockify</a> | |
124 | to bridge between your browser and VNC server. See the noVNC | |
125 | <a href="https://github.com/kanaka/noVNC">README</a> | |
126 | and <a href="http://kanaka.github.com/noVNC">website</a> | |
127 | for more information. | |
128 | <br /> | |
26945049 | 129 | <input id="descriptionButton" type="button" value="Close"> |
0ce93900 JM |
130 | </div> |
131 | ||
74f2ac96 | 132 | <!-- Popup Status --> |
133 | <div id="noVNC_popup_status" class=""> | |
0fa4e0a9 SM |
134 | </div> |
135 | ||
01a9eee9 JM |
136 | <!-- Clipboard Panel --> |
137 | <div id="noVNC_clipboard" class="triangle-right top"> | |
26945049 | 138 | <textarea id="noVNC_clipboard_text" rows=5> |
01a9eee9 JM |
139 | </textarea> |
140 | <br /> | |
141 | <input id="noVNC_clipboard_clear_button" type="button" | |
26945049 | 142 | value="Clear"> |
01a9eee9 JM |
143 | </div> |
144 | ||
fb35d50f MS |
145 | <!-- XVP Shutdown/Reboot Panel --> |
146 | <div id="noVNC_xvp" class="triangle-right top"> | |
147 | <span id="noVNC_xvp_menu"> | |
148 | <input type="button" id="xvpShutdownButton" value="Shutdown" /> | |
149 | <input type="button" id="xvpRebootButton" value="Reboot" /> | |
150 | <input type="button" id="xvpResetButton" value="Reset" /> | |
151 | </span> | |
152 | </div> | |
153 | ||
01a9eee9 | 154 | <!-- Settings Panel --> |
a5df24b4 | 155 | <div id="noVNC_settings" class="triangle-right top"> |
26945049 | 156 | <span id="noVNC_settings_menu"> |
01a9eee9 JM |
157 | <ul> |
158 | <li><input id="noVNC_encrypt" type="checkbox"> Encrypt</li> | |
159 | <li><input id="noVNC_true_color" type="checkbox" checked> True Color</li> | |
160 | <li><input id="noVNC_cursor" type="checkbox"> Local Cursor</li> | |
06a9ef0c | 161 | <li><input id="noVNC_clip" type="checkbox"> Clip to Window</li> |
01a9eee9 | 162 | <li><input id="noVNC_shared" type="checkbox"> Shared Mode</li> |
06a9ef0c | 163 | <li><input id="noVNC_view_only" type="checkbox"> View Only</li> |
8b46c0de | 164 | <hr> |
523cc4d6 | 165 | <li><input id="noVNC_path" type="input" value="websockify"> Path</li> |
8b46c0de SR |
166 | <li><label> |
167 | <select id="noVNC_resize" name="vncResize"> | |
168 | <option value="off">None</option> | |
72747869 SR |
169 | <option value="scale">Local Scaling</option> |
170 | <option value="downscale">Local Downscaling</option> | |
8b46c0de SR |
171 | <option value="remote">Remote Resizing</option> |
172 | </select> Scaling Mode</label> | |
173 | </li> | |
a997c5fd | 174 | <li><input id="noVNC_repeaterID" type="input" value=""> Repeater ID</li> |
01a9eee9 JM |
175 | <hr> |
176 | <!-- Stylesheet selection dropdown --> | |
177 | <li><label><strong>Style: </strong> | |
178 | <select id="noVNC_stylesheet" name="vncStyle"> | |
179 | <option value="default">default</option> | |
180 | </select></label> | |
181 | </li> | |
182 | ||
183 | <!-- Logging selection dropdown --> | |
184 | <li><label><strong>Logging: </strong> | |
185 | <select id="noVNC_logging" name="vncLogging"> | |
186 | </select></label> | |
187 | </li> | |
188 | <hr> | |
26945049 | 189 | <li><input type="button" id="noVNC_apply" value="Apply"></li> |
01a9eee9 JM |
190 | </ul> |
191 | </span> | |
192 | </div> | |
193 | ||
194 | <!-- Connection Panel --> | |
195 | <div id="noVNC_controls" class="triangle-right top"> | |
196 | <ul> | |
197 | <li><label><strong>Host: </strong><input id="noVNC_host" /></label></li> | |
198 | <li><label><strong>Port: </strong><input id="noVNC_port" /></label></li> | |
199 | <li><label><strong>Password: </strong><input id="noVNC_password" type="password" /></label></li> | |
26945049 | 200 | <li><input id="noVNC_connect_button" type="button" value="Connect"></li> |
01a9eee9 JM |
201 | </ul> |
202 | </div> | |
203 | ||
204 | </div> <!-- End of noVNC-control-bar --> | |
205 | ||
b70ce077 | 206 | |
01a9eee9 | 207 | <div id="noVNC_screen"> |
b70ce077 | 208 | <h1 id="noVNC_logo"><span>no</span><br />VNC</h1> |
a5df24b4 JM |
209 | |
210 | <!-- HTML5 Canvas --> | |
211 | <div id="noVNC_container"> | |
fdedbafb | 212 | <canvas id="noVNC_canvas" width="0" height="0"> |
a5df24b4 JM |
213 | Canvas not supported. |
214 | </canvas> | |
215 | </div> | |
216 | ||
01a9eee9 | 217 | </div> |
6f4b1e40 JM |
218 | <script src="include/util.js"></script> |
219 | <script src="include/ui.js"></script> | |
220 | ||
53fc7392 | 221 | </body> |
65e27ddd | 222 | </html> |