diff --git a/www/DataStoreStatus.js b/www/DataStoreStatus.js new file mode 100644 index 00000000..b42c65bf --- /dev/null +++ b/www/DataStoreStatus.js @@ -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...", + +}); diff --git a/www/Makefile b/www/Makefile index 4c1efccb..ef7c7300 100644 --- a/www/Makefile +++ b/www/Makefile @@ -14,6 +14,7 @@ JSSRC= \ Subscription.js \ DataStorePrune.js \ DataStoreConfig.js \ + DataStoreStatus.js \ DataStoreContent.js \ ServerAdministration.js \ Dashboard.js \ diff --git a/www/NavigationTree.js b/www/NavigationTree.js index e1004cad..ad62b54e 100644 --- a/www/NavigationTree.js +++ b/www/NavigationTree.js @@ -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++) {