[pbs-devel] [PATCH proxmox-backup 1/4] ui: remote edit: Add tooltips

Dominic Jäger d.jaeger at proxmox.com
Tue Jan 19 12:09:12 CET 2021


Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
---
 www/window/RemoteEdit.js | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/www/window/RemoteEdit.js b/www/window/RemoteEdit.js
index 4a4d8114..74a9412b 100644
--- a/www/window/RemoteEdit.js
+++ b/www/window/RemoteEdit.js
@@ -39,6 +39,10 @@ Ext.define('PBS.window.RemoteEdit', {
 		cbind: {
 		    editable: '{isCreate}',
 		},
+		autoEl: {
+		    tag: 'div',
+		    'data-qtip': gettext('A unique name to identify this remote.'),
+		},
 	    },
 	    {
 		xtype: 'proxmoxtextfield',
@@ -47,6 +51,10 @@ Ext.define('PBS.window.RemoteEdit', {
 		submitValue: false,
 		vtype: 'HostPort',
 		fieldLabel: gettext('Host'),
+		autoEl: {
+		    tag: 'div',
+		    'data-qtip': gettext('The DNS or IP address of the remote, optionally with a port.'),
+		},
 		listeners: {
 		    change: function(field, newvalue) {
 			let host = newvalue;
@@ -93,6 +101,10 @@ Ext.define('PBS.window.RemoteEdit', {
 		allowBlank: false,
 		name: 'auth-id',
 		fieldLabel: gettext('Auth ID'),
+		autoEl: {
+		    tag: 'div',
+		    'data-qtip': gettext('For example: admin at pbs.'),
+		},
 	    },
 	    {
 		xtype: 'textfield',
-- 
2.20.1





More information about the pbs-devel mailing list