9 - noVNC example: simple example using default UI
10 - Copyright (C) 2012 Joel Martin
11 - Copyright (C) 2013 Samuel Mannehed for Cendio AB
12 - noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
13 - This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
15 - Connect parameters are provided in query string:
16 - http://example.com/?host=HOST&port=PORT&encrypt=1&true_color=1
18 - <title>noVNC</title>
19 + <title>[% nodename %] - Proxmox Console</title>
21 <meta charset="utf-8">
25 <!-- Apple iOS Safari settings -->
26 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
27 - <meta name="apple-mobile-web-app-capable" content="yes" />
28 - <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
29 - <!-- App Start Icon -->
30 - <link rel="apple-touch-startup-image" href="images/screen_320x460.png" />
31 - <!-- For iOS devices set the icon to use if user bookmarks app on their homescreen -->
32 - <link rel="apple-touch-icon" href="images/screen_57x57.png">
34 - <link rel="apple-touch-icon-precomposed" href="images/screen_57x57.png" />
39 - <link rel="stylesheet" href="include/base.css" />
40 - <link rel="alternate stylesheet" href="include/black.css" TITLE="Black" />
41 - <link rel="alternate stylesheet" href="include/blue.css" TITLE="Blue" />
44 - <script type='text/javascript'
45 - src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
47 + <link rel="stylesheet" href="/novnc/include/base.css" />
50 + <script type='text/javascript' src='/pve2/locale/pve-lang-[% lang %].js'></script>
52 + <script type="text/javascript">function gettext(buf) { return buf; }</script>
54 + <script type="text/javascript">
55 +if (typeof(PVE) === 'undefined') PVE = {};
56 +PVE.UserName = '[% username %]';
57 +PVE.CSRFPreventionToken = '[% token %]';
58 +INCLUDE_URI='/novnc/include/';
63 <div id="noVNC-control-bar" class="noVNC_status_normal">
64 <!--noVNC Mobile Device only Buttons-->
65 <div class="noVNC-buttons-left">
66 - <input type="image" alt="viewport drag" src="images/drag.png"
67 + <input type="image" alt="viewport drag" src="/novnc/images/drag.png"
68 id="noVNC_view_drag_button" class="noVNC_status_button"
69 title="Move/Drag Viewport">
70 <div id="noVNC_mobile_buttons">
71 - <input type="image" alt="No mousebutton" src="images/mouse_none.png"
72 + <input type="image" alt="No mousebutton" src="/novnc/images/mouse_none.png"
73 id="noVNC_mouse_button0" class="noVNC_status_button">
74 - <input type="image" alt="Left mousebutton" src="images/mouse_left.png"
75 + <input type="image" alt="Left mousebutton" src="/novnc/images/mouse_left.png"
76 id="noVNC_mouse_button1" class="noVNC_status_button">
77 - <input type="image" alt="Middle mousebutton" src="images/mouse_middle.png"
78 + <input type="image" alt="Middle mousebutton" src="/novnc/images/mouse_middle.png"
79 id="noVNC_mouse_button2" class="noVNC_status_button">
80 - <input type="image" alt="Right mousebutton" src="images/mouse_right.png"
81 + <input type="image" alt="Right mousebutton" src="/novnc/images/mouse_right.png"
82 id="noVNC_mouse_button4" class="noVNC_status_button">
83 - <input type="image" alt="Keyboard" src="images/keyboard.png"
84 + <input type="image" alt="Keyboard" src="/novnc/images/keyboard.png"
85 id="showKeyboard" class="noVNC_status_button"
86 value="Keyboard" title="Show Keyboard"/>
87 <!-- Note that Google Chrome on Android doesn't respect any of these,
89 autocorrect="off" autocomplete="off" spellcheck="false"
90 mozactionhint="Enter"></textarea>
91 <div id="noVNC_extra_keys">
92 - <input type="image" alt="Extra keys" src="images/showextrakeys.png"
93 + <input type="image" alt="Extra keys" src="/novnc/images/showextrakeys.png"
94 id="showExtraKeysButton" class="noVNC_status_button">
95 - <input type="image" alt="Ctrl" src="images/ctrl.png"
96 + <input type="image" alt="Ctrl" src="/novnc/images/ctrl.png"
97 id="toggleCtrlButton" class="noVNC_status_button">
98 - <input type="image" alt="Alt" src="images/alt.png"
99 + <input type="image" alt="Alt" src="/novnc/images/alt.png"
100 id="toggleAltButton" class="noVNC_status_button">
101 - <input type="image" alt="Tab" src="images/tab.png"
102 + <input type="image" alt="Tab" src="/novnc/images/tab.png"
103 id="sendTabButton" class="noVNC_status_button">
104 - <input type="image" alt="Esc" src="images/esc.png"
105 + <input type="image" alt="Esc" src="/novnc/images/esc.png"
106 id="sendEscButton" class="noVNC_status_button">
107 + <input type="image" alt="Ctrl+Alt+Del" src="/novnc/images/ctrlaltdel.png"
108 + id="sendCtrlAltDelButton" class="noVNC_status_button">
115 <div class="noVNC-buttons-right">
116 - <input type="image" alt="Ctrl+Alt+Del" src="images/ctrlaltdel.png"
117 - id="sendCtrlAltDelButton" class="noVNC_status_button"
118 - title="Send Ctrl-Alt-Del" />
119 - <input type="image" alt="Shutdown/Reboot" src="images/power.png"
120 - id="xvpButton" class="noVNC_status_button"
121 - title="Shutdown/Reboot..." />
122 - <input type="image" alt="Clipboard" src="images/clipboard.png"
123 + <input type="image" alt="Send keys" src="/novnc/images/showextrakeys.png"
124 + id="showSendKeysButton" class="noVNC_status_button"
125 + title="Send keys" />
126 + <input type="image" alt="Clipboard" src="/novnc/images/clipboard.png"
127 id="clipboardButton" class="noVNC_status_button"
129 - <input type="image" alt="Fullscreen" src="images/fullscreen.png"
130 + <input type="image" alt="Fullscreen" src="/novnc/images/fullscreen.png"
131 id="fullscreenButton" class="noVNC_status_button"
132 title="Fullscreen" />
133 - <input type="image" alt="Settings" src="images/settings.png"
134 - id="settingsButton" class="noVNC_status_button"
135 - title="Settings" />
136 - <input type="image" alt="Connect" src="images/connect.png"
137 - id="connectButton" class="noVNC_status_button"
139 - <input type="image" alt="Disconnect" src="images/disconnect.png"
140 - id="disconnectButton" class="noVNC_status_button"
141 - title="Disconnect" />
142 + <input type="image" alt="Commands" src="/novnc/images/power.png"
143 + id="pveCommandsButton" class="noVNC_status_button"
144 + title="Commands" />
147 - <!-- Description Panel -->
148 - <!-- Shown by default when hosted at for kanaka.github.com -->
149 <div id="noVNC_description" class="">
150 - noVNC is a browser based VNC client implemented using HTML5 Canvas
151 - and WebSockets. You will either need a VNC server with WebSockets
152 - support (such as <a href="http://libvncserver.sourceforge.net/">libvncserver</a>)
153 - or you will need to use
154 - <a href="https://github.com/kanaka/websockify">websockify</a>
155 - to bridge between your browser and VNC server. See the noVNC
156 - <a href="https://github.com/kanaka/noVNC">README</a>
157 - and <a href="http://kanaka.github.com/noVNC">website</a>
158 - for more information.
160 - <input id="descriptionButton" type="button" value="Close">
163 <!-- Popup Status -->
164 @@ -142,14 +104,11 @@
168 - <!-- XVP Shutdown/Reboot Panel -->
169 - <div id="noVNC_xvp" class="triangle-right top">
170 - <span id="noVNC_xvp_menu">
171 - <input type="button" id="xvpShutdownButton" value="Shutdown" />
172 - <input type="button" id="xvpRebootButton" value="Reboot" />
173 - <input type="button" id="xvpResetButton" value="Reset" />
176 + <!-- PVE command Panel -->
177 + <div id="noVNC_pve_commands" class="triangle-right top">
178 + <span id="noVNC_pve_command_menu">
182 <!-- Settings Panel -->
183 <div id="noVNC_settings" class="triangle-right top">
188 + <!-- PVE Send Key Panel -->
189 + <div id="noVNC_send_keys" class="triangle-right top">
190 + <span id="noVNC_send_keys_panel">
194 <!-- Connection Panel -->
195 <div id="noVNC_controls" class="triangle-right top">
201 - <script src="include/util.js"></script>
202 - <script src="include/ui.js"></script>
203 + <script src="/novnc/include/util.js"></script>
204 + <script src="/novnc/include/pveui.js"></script>