]> git.proxmox.com Git - proxmox-backup.git/commitdiff
add DataStoreStatus.js dummy
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 29 Apr 2020 09:22:05 +0000 (11:22 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 29 Apr 2020 09:22:05 +0000 (11:22 +0200)
www/DataStoreStatus.js [new file with mode: 0644]
www/Makefile
www/NavigationTree.js

diff --git a/www/DataStoreStatus.js b/www/DataStoreStatus.js
new file mode 100644 (file)
index 0000000..b42c65b
--- /dev/null
@@ -0,0 +1,9 @@
+Ext.define('PBS.DataStoreStatus', {
+    extend: 'Ext.panel.Panel',
+    alias: 'widget.pbsDataStoreStatus',
+
+    title: gettext('Data Store Status'),
+
+    html: "Add fancy datastore dashboard...",
+    
+});
index 4c1efccb247741aa97ad4ef356cc1fc246019b28..ef7c7300da73cc326d5244d5982a835d7be022c3 100644 (file)
@@ -14,6 +14,7 @@ JSSRC=                                                        \
        Subscription.js                                 \
        DataStorePrune.js                               \
        DataStoreConfig.js                              \
+       DataStoreStatus.js                              \
        DataStoreContent.js                             \
        ServerAdministration.js                         \
        Dashboard.js                                    \
index e1004cada7b02ecc24b49a40829884dcebfbeb36..ad62b54e39903dd1aa853031a4241be1e065b1de 100644 (file)
@@ -67,17 +67,17 @@ Ext.define('PBS.view.main.NavigationTree', {
 
            let root = view.getStore().getRoot();
 
-           if (!root.findChild('path', 'pbsDataStoreList', false)) {
+           if (!root.findChild('path', 'pbsDataStoreStatus', false)) {
                root.appendChild({
                    text: gettext('Data Store'),
                    expanded: true,
                    iconCls: 'fa fa-archive',
-                   path: 'pbsDataStoreList',
+                   path: 'pbsDataStoreStatus',
                    leaf: false
                });
            }
 
-           var list = root.findChild('path', 'pbsDataStoreList', false);
+           var list = root.findChild('path', 'pbsDataStoreStatus', false);
            var length = records.length;
            var lookup_hash = {};
            for (var i = 0; i < length; i++) {