]>
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 |
1d728ace | 8 | noVNC is licensed under the MPL 2.0 (see LICENSE.txt) |
d58f8b51 | 9 | This file is licensed under the 2-Clause BSD license (see LICENSE.txt). |
9f0d23de PÅ |
10 | |
11 | Connect parameters are provided in query string: | |
12 | http://example.com/?host=HOST&port=PORT&encrypt=1&true_color=1 | |
d595e656 | 13 | --> |
01a9eee9 | 14 | <title>noVNC</title> |
53fc7392 | 15 | |
01a9eee9 JM |
16 | <meta charset="utf-8"> |
17 | ||
18 | <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
19 | Remove this if you use the .htaccess --> | |
20 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
21 | ||
a5df24b4 JM |
22 | <!-- Apple iOS Safari settings --> |
23 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
01a9eee9 | 24 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
b597bdd1 | 25 | <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
a5df24b4 | 26 | <!-- App Start Icon --> |
5299db1a | 27 | <link rel="apple-touch-startup-image" href="images/screen_320x460.png" /> |
a5df24b4 JM |
28 | <!-- For iOS devices set the icon to use if user bookmarks app on their homescreen --> |
29 | <link rel="apple-touch-icon" href="images/screen_57x57.png"> | |
01a9eee9 | 30 | <!-- |
5299db1a | 31 | <link rel="apple-touch-icon-precomposed" href="images/screen_57x57.png" /> |
01a9eee9 | 32 | --> |
a5df24b4 | 33 | |
5299db1a | 34 | |
01a9eee9 JM |
35 | <!-- Stylesheets --> |
36 | <link rel="stylesheet" href="include/base.css" /> | |
53fc7392 | 37 | <link rel="alternate stylesheet" href="include/black.css" TITLE="Black" /> |
01a9eee9 JM |
38 | <link rel="alternate stylesheet" href="include/blue.css" TITLE="Blue" /> |
39 | ||
01a9eee9 | 40 | <!-- |
5299db1a | 41 | <script type='text/javascript' |
01a9eee9 JM |
42 | src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> |
43 | --> | |
44 | ||
5299db1a | 45 | </head> |
65e27ddd | 46 | |
53fc7392 | 47 | <body> |
01a9eee9 | 48 | <div id="noVNC-control-bar"> |
26945049 JM |
49 | <div id="noVNC-menu-bar" style="display:none;"> |
50 | </div> | |
01a9eee9 | 51 | <!--noVNC Mobile Device only Buttons--> |
a5df24b4 | 52 | <div class="noVNC-buttons-left"> |
5299db1a | 53 | <input type="image" src="images/drag.png" |
a5df24b4 | 54 | id="noVNC_view_drag_button" class="noVNC_status_button" |
26945049 | 55 | title="Move/Drag Viewport"> |
a5df24b4 | 56 | <div id="noVNC_mobile_buttons"> |
5299db1a | 57 | <input type="image" src="images/mouse_none.png" |
26945049 | 58 | id="noVNC_mouse_button0" class="noVNC_status_button"> |
5299db1a | 59 | <input type="image" src="images/mouse_left.png" |
26945049 | 60 | id="noVNC_mouse_button1" class="noVNC_status_button"> |
5299db1a | 61 | <input type="image" src="images/mouse_middle.png" |
26945049 | 62 | id="noVNC_mouse_button2" class="noVNC_status_button"> |
5299db1a | 63 | <input type="image" src="images/mouse_right.png" |
26945049 | 64 | id="noVNC_mouse_button4" class="noVNC_status_button"> |
5299db1a JM |
65 | <input type="image" src="images/keyboard.png" |
66 | id="showKeyboard" class="noVNC_status_button" | |
26945049 | 67 | value="Keyboard" title="Show Keyboard"/> |
5299db1a | 68 | <input type="email" |
a7db5059 | 69 | autocapitalize="off" autocorrect="off" |
26945049 | 70 | id="keyboardinput" class="noVNC_status_button"/> |
a5df24b4 | 71 | </div> |
01a9eee9 JM |
72 | </div> |
73 | ||
0fa4e0a9 SM |
74 | <div id="noVNC_status_bar" class="noVNC_status_bar"> |
75 | <div id="noVNC_status">Loading</div> | |
76 | </div> | |
77 | ||
01a9eee9 | 78 | <!--noVNC Buttons--> |
608e0f52 | 79 | <div class="noVNC-buttons-right"> |
5299db1a JM |
80 | <input type="image" src="images/ctrlaltdel.png" |
81 | id="sendCtrlAltDelButton" class="noVNC_status_button" | |
26945049 | 82 | title="Send Ctrl-Alt-Del" /> |
5299db1a | 83 | <input type="image" src="images/clipboard.png" |
a5df24b4 | 84 | id="clipboardButton" class="noVNC_status_button" |
26945049 | 85 | title="Clipboard" /> |
5299db1a | 86 | <input type="image" src="images/settings.png" |
c506a481 | 87 | id="settingsButton" class="noVNC_status_button" |
26945049 | 88 | title="Settings" /> |
5299db1a | 89 | <input type="image" src="images/connect.png" |
0ce93900 | 90 | id="connectButton" class="noVNC_status_button" |
26945049 | 91 | title="Connect" /> |
5299db1a | 92 | <input type="image" src="images/disconnect.png" |
a5df24b4 | 93 | id="disconnectButton" class="noVNC_status_button" |
26945049 | 94 | title="Disconnect" /> |
01a9eee9 JM |
95 | </div> |
96 | ||
0ce93900 JM |
97 | <!-- Description Panel --> |
98 | <!-- Shown by default when hosted at for kanaka.github.com --> | |
99 | <div id="noVNC_description" style="display:none;" class=""> | |
100 | noVNC is a browser based VNC client implemented using HTML5 Canvas | |
101 | and WebSockets. You will either need a VNC server with WebSockets | |
102 | support (such as <a href="http://libvncserver.sourceforge.net/">libvncserver</a>) | |
103 | or you will need to use | |
104 | <a href="https://github.com/kanaka/websockify">websockify</a> | |
105 | to bridge between your browser and VNC server. See the noVNC | |
106 | <a href="https://github.com/kanaka/noVNC">README</a> | |
107 | and <a href="http://kanaka.github.com/noVNC">website</a> | |
108 | for more information. | |
109 | <br /> | |
26945049 | 110 | <input id="descriptionButton" type="button" value="Close"> |
0ce93900 JM |
111 | </div> |
112 | ||
0fa4e0a9 SM |
113 | <!-- Popup Status Panel --> |
114 | <div id="noVNC_popup_status_panel" class=""> | |
115 | </div> | |
116 | ||
01a9eee9 JM |
117 | <!-- Clipboard Panel --> |
118 | <div id="noVNC_clipboard" class="triangle-right top"> | |
26945049 | 119 | <textarea id="noVNC_clipboard_text" rows=5> |
01a9eee9 JM |
120 | </textarea> |
121 | <br /> | |
122 | <input id="noVNC_clipboard_clear_button" type="button" | |
26945049 | 123 | value="Clear"> |
01a9eee9 JM |
124 | </div> |
125 | ||
126 | <!-- Settings Panel --> | |
a5df24b4 | 127 | <div id="noVNC_settings" class="triangle-right top"> |
26945049 | 128 | <span id="noVNC_settings_menu"> |
01a9eee9 JM |
129 | <ul> |
130 | <li><input id="noVNC_encrypt" type="checkbox"> Encrypt</li> | |
131 | <li><input id="noVNC_true_color" type="checkbox" checked> True Color</li> | |
132 | <li><input id="noVNC_cursor" type="checkbox"> Local Cursor</li> | |
06a9ef0c | 133 | <li><input id="noVNC_clip" type="checkbox"> Clip to Window</li> |
01a9eee9 | 134 | <li><input id="noVNC_shared" type="checkbox"> Shared Mode</li> |
06a9ef0c | 135 | <li><input id="noVNC_view_only" type="checkbox"> View Only</li> |
01a9eee9 | 136 | <li><input id="noVNC_connectTimeout" type="input"> Connect Timeout (s)</li> |
523cc4d6 | 137 | <li><input id="noVNC_path" type="input" value="websockify"> Path</li> |
a997c5fd | 138 | <li><input id="noVNC_repeaterID" type="input" value=""> Repeater ID</li> |
01a9eee9 JM |
139 | <hr> |
140 | <!-- Stylesheet selection dropdown --> | |
141 | <li><label><strong>Style: </strong> | |
142 | <select id="noVNC_stylesheet" name="vncStyle"> | |
143 | <option value="default">default</option> | |
144 | </select></label> | |
145 | </li> | |
146 | ||
147 | <!-- Logging selection dropdown --> | |
148 | <li><label><strong>Logging: </strong> | |
149 | <select id="noVNC_logging" name="vncLogging"> | |
150 | </select></label> | |
151 | </li> | |
152 | <hr> | |
26945049 | 153 | <li><input type="button" id="noVNC_apply" value="Apply"></li> |
01a9eee9 JM |
154 | </ul> |
155 | </span> | |
156 | </div> | |
157 | ||
158 | <!-- Connection Panel --> | |
159 | <div id="noVNC_controls" class="triangle-right top"> | |
160 | <ul> | |
161 | <li><label><strong>Host: </strong><input id="noVNC_host" /></label></li> | |
162 | <li><label><strong>Port: </strong><input id="noVNC_port" /></label></li> | |
163 | <li><label><strong>Password: </strong><input id="noVNC_password" type="password" /></label></li> | |
26945049 | 164 | <li><input id="noVNC_connect_button" type="button" value="Connect"></li> |
01a9eee9 JM |
165 | </ul> |
166 | </div> | |
167 | ||
168 | </div> <!-- End of noVNC-control-bar --> | |
169 | ||
b70ce077 | 170 | |
01a9eee9 | 171 | <div id="noVNC_screen"> |
b70ce077 JM |
172 | <div id="noVNC_screen_pad"></div> |
173 | ||
b70ce077 | 174 | <h1 id="noVNC_logo"><span>no</span><br />VNC</h1> |
a5df24b4 JM |
175 | |
176 | <!-- HTML5 Canvas --> | |
177 | <div id="noVNC_container"> | |
178 | <canvas id="noVNC_canvas" width="640px" height="20px"> | |
179 | Canvas not supported. | |
180 | </canvas> | |
181 | </div> | |
182 | ||
01a9eee9 | 183 | </div> |
6f4b1e40 JM |
184 | <script src="include/util.js"></script> |
185 | <script src="include/ui.js"></script> | |
186 | ||
53fc7392 | 187 | </body> |
65e27ddd | 188 | </html> |