[pbs-devel] [PATCH proxmox-backup 3/3] ui: add mising panel help buttons

Aaron Lauterer a.lauterer at proxmox.com
Tue Nov 10 13:38:50 CET 2020


add missing help buttons (question mark, top right) so that we are
consistent and each panel has it.

I chose the IMHO most fitting sections.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 www/ServerAdministration.js | 2 ++
 www/Subscription.js         | 1 +
 www/SystemConfiguration.js  | 1 +
 3 files changed, 4 insertions(+)

diff --git a/www/ServerAdministration.js b/www/ServerAdministration.js
index b79d62cd..0d803ac4 100644
--- a/www/ServerAdministration.js
+++ b/www/ServerAdministration.js
@@ -7,6 +7,8 @@ Ext.define('PBS.ServerAdministration', {
     border: true,
     defaults: { border: false },
 
+    tools: [PBS.Utils.get_help_tool("sysadmin-host-administration")],
+
     controller: {
 	xclass: 'Ext.app.ViewController',
 
diff --git a/www/Subscription.js b/www/Subscription.js
index 54b8ae27..b641f2f3 100644
--- a/www/Subscription.js
+++ b/www/Subscription.js
@@ -24,6 +24,7 @@ Ext.define('PBS.Subscription', {
     border: true,
 
     onlineHelp: 'get_help',
+    tools: [PBS.Utils.get_help_tool("get_help")],
 
     viewConfig: {
 	enableTextSelection: true,
diff --git a/www/SystemConfiguration.js b/www/SystemConfiguration.js
index 82d875ee..d82396af 100644
--- a/www/SystemConfiguration.js
+++ b/www/SystemConfiguration.js
@@ -6,6 +6,7 @@ Ext.define('PBS.SystemConfiguration', {
     border: true,
     scrollable: true,
     defaults: { border: false },
+    tools: [PBS.Utils.get_help_tool("sysadmin-network-configuration")],
     items: [
 	{
 	    title: gettext('Network/Time'),
-- 
2.20.1






More information about the pbs-devel mailing list