public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 3/3] ui: add mising panel help buttons
Date: Tue, 10 Nov 2020 13:38:50 +0100	[thread overview]
Message-ID: <20201110123850.21491-3-a.lauterer@proxmox.com> (raw)
In-Reply-To: <20201110123850.21491-1-a.lauterer@proxmox.com>

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@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





  parent reply	other threads:[~2020-11-10 12:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10 12:38 [pbs-devel] [PATCH proxmox-backup 1/3] docs: add ref for sysadmin host admin section Aaron Lauterer
2020-11-10 12:38 ` [pbs-devel] [PATCH proxmox-backup 2/3] ui: onlinehelp update with sysadmin_host_administration Aaron Lauterer
2020-11-10 12:53   ` Thomas Lamprecht
2020-11-10 13:15     ` Aaron Lauterer
2020-11-10 13:40       ` Thomas Lamprecht
2020-11-10 12:38 ` Aaron Lauterer [this message]
2020-11-10 13:10   ` [pbs-devel] applied: [PATCH proxmox-backup 3/3] ui: add mising panel help buttons Thomas Lamprecht
2020-11-10 13:10 ` [pbs-devel] applied: [PATCH proxmox-backup 1/3] docs: add ref for sysadmin host admin section Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201110123850.21491-3-a.lauterer@proxmox.com \
    --to=a.lauterer@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal