[pve-devel] [PATCH manager] fix #2017: add help button to storage input panels
Dominik Csapak
d.csapak at proxmox.com
Fri Dec 7 11:33:41 CET 2018
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/storage/CIFSEdit.js | 2 ++
www/manager6/storage/CephFSEdit.js | 2 ++
www/manager6/storage/DirEdit.js | 2 ++
www/manager6/storage/GlusterFsEdit.js | 2 ++
www/manager6/storage/IScsiEdit.js | 2 ++
www/manager6/storage/LVMEdit.js | 2 ++
www/manager6/storage/LvmThinEdit.js | 2 ++
www/manager6/storage/NFSEdit.js | 2 ++
www/manager6/storage/RBDEdit.js | 2 ++
www/manager6/storage/ZFSPoolEdit.js | 2 ++
10 files changed, 20 insertions(+)
diff --git a/www/manager6/storage/CIFSEdit.js b/www/manager6/storage/CIFSEdit.js
index 8a3ddb1f..021feaa1 100644
--- a/www/manager6/storage/CIFSEdit.js
+++ b/www/manager6/storage/CIFSEdit.js
@@ -80,6 +80,8 @@ Ext.define('PVE.storage.CIFSScan', {
Ext.define('PVE.storage.CIFSInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_cifs',
+
initComponent : function() {
var me = this;
diff --git a/www/manager6/storage/CephFSEdit.js b/www/manager6/storage/CephFSEdit.js
index 0580e8fc..b71d4b2a 100644
--- a/www/manager6/storage/CephFSEdit.js
+++ b/www/manager6/storage/CephFSEdit.js
@@ -3,6 +3,8 @@ Ext.define('PVE.storage.CephFSInputPanel', {
extend: 'PVE.panel.StorageBase',
controller: 'cephstorage',
+ onlineHelp: 'storage_cephfs',
+
viewModel: {
type: 'cephstorage'
},
diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
index e3caa314..955febac 100644
--- a/www/manager6/storage/DirEdit.js
+++ b/www/manager6/storage/DirEdit.js
@@ -1,6 +1,8 @@
Ext.define('PVE.storage.DirInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_directory',
+
initComponent : function() {
var me = this;
diff --git a/www/manager6/storage/GlusterFsEdit.js b/www/manager6/storage/GlusterFsEdit.js
index b0140556..85454b86 100644
--- a/www/manager6/storage/GlusterFsEdit.js
+++ b/www/manager6/storage/GlusterFsEdit.js
@@ -60,6 +60,8 @@ Ext.define('PVE.storage.GlusterFsScan', {
Ext.define('PVE.storage.GlusterFsInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_glusterfs',
+
initComponent : function() {
var me = this;
diff --git a/www/manager6/storage/IScsiEdit.js b/www/manager6/storage/IScsiEdit.js
index bebe3323..0b7c91d7 100644
--- a/www/manager6/storage/IScsiEdit.js
+++ b/www/manager6/storage/IScsiEdit.js
@@ -59,6 +59,8 @@ Ext.define('PVE.storage.IScsiScan', {
Ext.define('PVE.storage.IScsiInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_open_iscsi',
+
onGetValues: function(values) {
var me = this;
diff --git a/www/manager6/storage/LVMEdit.js b/www/manager6/storage/LVMEdit.js
index af79c527..8cb74b8b 100644
--- a/www/manager6/storage/LVMEdit.js
+++ b/www/manager6/storage/LVMEdit.js
@@ -86,6 +86,8 @@ Ext.define('PVE.storage.BaseStorageSelector', {
Ext.define('PVE.storage.LVMInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_lvm',
+
initComponent : function() {
var me = this;
diff --git a/www/manager6/storage/LvmThinEdit.js b/www/manager6/storage/LvmThinEdit.js
index 6ec51ed8..30a5c92f 100644
--- a/www/manager6/storage/LvmThinEdit.js
+++ b/www/manager6/storage/LvmThinEdit.js
@@ -94,6 +94,8 @@ Ext.define('PVE.storage.BaseVGSelector', {
Ext.define('PVE.storage.LvmThinInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_lvmthin',
+
initComponent : function() {
var me = this;
diff --git a/www/manager6/storage/NFSEdit.js b/www/manager6/storage/NFSEdit.js
index 179ba5e8..9eaa8bc5 100644
--- a/www/manager6/storage/NFSEdit.js
+++ b/www/manager6/storage/NFSEdit.js
@@ -60,6 +60,8 @@ Ext.define('PVE.storage.NFSScan', {
Ext.define('PVE.storage.NFSInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_nfs',
+
onGetValues: function(values) {
var me = this;
diff --git a/www/manager6/storage/RBDEdit.js b/www/manager6/storage/RBDEdit.js
index c38759df..70b8b4ee 100644
--- a/www/manager6/storage/RBDEdit.js
+++ b/www/manager6/storage/RBDEdit.js
@@ -77,6 +77,8 @@ Ext.define('PVE.storage.RBDInputPanel', {
extend: 'PVE.panel.StorageBase',
controller: 'cephstorage',
+ onlineHelp: 'ceph_rados_block_devices',
+
viewModel: {
type: 'cephstorage'
},
diff --git a/www/manager6/storage/ZFSPoolEdit.js b/www/manager6/storage/ZFSPoolEdit.js
index 69d03817..57b9ba8b 100644
--- a/www/manager6/storage/ZFSPoolEdit.js
+++ b/www/manager6/storage/ZFSPoolEdit.js
@@ -37,6 +37,8 @@ Ext.define('PVE.storage.ZFSPoolSelector', {
Ext.define('PVE.storage.ZFSPoolInputPanel', {
extend: 'PVE.panel.StorageBase',
+ onlineHelp: 'storage_zfspool',
+
initComponent : function() {
var me = this;
--
2.11.0
More information about the pve-devel
mailing list