]> git.proxmox.com Git - novnc-pve.git/blame - debian/patches/0007-add-pve-vnc-commands.patch
upgrade novnc and patches to 1.4.0
[novnc-pve.git] / debian / patches / 0007-add-pve-vnc-commands.patch
CommitLineData
2b8dde16 1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
fe91e9e1
DC
2From: Dominik Csapak <d.csapak@proxmox.com>
3Date: Fri, 20 Jan 2017 10:35:43 +0100
bf74ff33 4Subject: [PATCH] add pve vnc commands
fe91e9e1
DC
5
6Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7---
4cc9ed08
DC
8 vnc.html | 21 +++++++++++++++++++++
9 1 file changed, 21 insertions(+)
fe91e9e1
DC
10
11diff --git a/vnc.html b/vnc.html
f422faae 12index f081aee..9281009 100644
fe91e9e1
DC
13--- a/vnc.html
14+++ b/vnc.html
f422faae 15@@ -229,6 +229,27 @@
4cc9ed08
DC
16 </div>
17 </div>
fe91e9e1
DC
18
19+ <!-- PVE Commands -->
20+ <input type="image" alt="Commands" src="/novnc/app/images/power.svg"
21+ id="pve_commands_button" class="noVNC_button"
22+ title="Commands" />
23+
24+ <div class="noVNC_vcenter">
25+ <div id="pve_commands" class="noVNC_panel">
26+ <div class="noVNC_heading">
27+ <img src="/novnc/app/images/power.svg"> Commands
28+ </div>
29+ <input id="pve_command_start" type="button" value="Start" />
30+ <input id="pve_command_shutdown" type="button" value="Shutdown" />
4eff717c
TL
31+ <input id="pve_command_stop" type="button" value="Hard Stop" />
32+ <input id="pve_command_reset" type="button" value="Hard Reset" />
fe91e9e1
DC
33+ <input id="pve_command_suspend" type="button" value="Suspend" />
34+ <input id="pve_command_resume" type="button" value="Resume" />
4eff717c 35+ <input id="pve_command_reload" type="button" value="Reload noVNC" />
fe91e9e1
DC
36+ </div>
37+ </div>
38+
4cc9ed08
DC
39+
40 <!-- Connection Controls -->
41 <input type="image" alt="Disconnect" src="/novnc/app/images/disconnect.svg"
42 id="noVNC_disconnect_button" class="noVNC_button"