ui: move disks/directory stuff to tab panel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d5f7755467
commit
ee0ab12dd0
@ -1,6 +1,8 @@
|
||||
Storage
|
||||
=======
|
||||
|
||||
.. _storage_disk_management:
|
||||
|
||||
Disk Management
|
||||
---------------
|
||||
|
||||
@ -121,6 +123,8 @@ number of backups to keep in that store. :ref:`backup-pruning` and
|
||||
periodically based on a configured schedule (see :ref:`calendar-events`) per datastore.
|
||||
|
||||
|
||||
.. _storage_datastore_create:
|
||||
|
||||
Creating a Datastore
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
.. image:: images/screenshots/pbs-gui-datastore-create-general.png
|
||||
|
@ -43,6 +43,7 @@ JSSRC= \
|
||||
panel/Tasks.js \
|
||||
panel/XtermJsConsole.js \
|
||||
panel/AccessControl.js \
|
||||
panel/StorageAndDisks.js \
|
||||
ZFSList.js \
|
||||
DirectoryList.js \
|
||||
LoginView.js \
|
||||
|
@ -62,24 +62,10 @@ Ext.define('PBS.store.NavigationStore', {
|
||||
leaf: true,
|
||||
},
|
||||
{
|
||||
text: gettext('Disks'),
|
||||
text: gettext('Storage / Disks'),
|
||||
iconCls: 'fa fa-hdd-o',
|
||||
path: 'pmxDiskList',
|
||||
leaf: false,
|
||||
children: [
|
||||
{
|
||||
text: Proxmox.Utils.directoryText,
|
||||
iconCls: 'fa fa-folder',
|
||||
path: 'pbsDirectoryList',
|
||||
leaf: true,
|
||||
},
|
||||
{
|
||||
text: "ZFS",
|
||||
iconCls: 'fa fa-th-large',
|
||||
path: 'pbsZFSList',
|
||||
leaf: true,
|
||||
},
|
||||
],
|
||||
path: 'pbsStorageAndDiskPanel',
|
||||
leaf: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -31,6 +31,10 @@ const proxmoxOnlineHelpInfo = {
|
||||
"link": "/docs/managing-remotes.html#syncjobs",
|
||||
"title": "Sync Jobs"
|
||||
},
|
||||
"storage-disk-management": {
|
||||
"link": "/docs/storage.html#storage-disk-management",
|
||||
"title": "Disk Management"
|
||||
},
|
||||
"datastore-intro": {
|
||||
"link": "/docs/storage.html#datastore-intro",
|
||||
"title": "Datastore"
|
||||
|
37
www/panel/StorageAndDisks.js
Normal file
37
www/panel/StorageAndDisks.js
Normal file
@ -0,0 +1,37 @@
|
||||
Ext.define('PBS.StorageAndDiskPanel', {
|
||||
extend: 'Ext.tab.Panel',
|
||||
alias: 'widget.pbsStorageAndDiskPanel',
|
||||
mixins: ['Proxmox.Mixin.CBind'],
|
||||
|
||||
title: gettext('Storage / Disks'),
|
||||
|
||||
tools: [PBS.Utils.get_help_tool("storage-disk-management")],
|
||||
|
||||
border: false,
|
||||
defaults: {
|
||||
border: false,
|
||||
},
|
||||
|
||||
items: [
|
||||
{
|
||||
xtype: 'pmxDiskList',
|
||||
title: gettext('Disks'),
|
||||
itemId: 'disks',
|
||||
iconCls: 'fa fa-hdd-o',
|
||||
},
|
||||
{
|
||||
xtype: 'pbsDirectoryList',
|
||||
title: Proxmox.Utils.directoryText,
|
||||
itemId: 'directorystorage',
|
||||
iconCls: 'fa fa-folder',
|
||||
},
|
||||
{
|
||||
xtype: 'pbsZFSList',
|
||||
title: "ZFS",
|
||||
nodename: 'localhost',
|
||||
iconCls: 'fa fa-th-large',
|
||||
itemId: 'zfsstorage',
|
||||
},
|
||||
],
|
||||
|
||||
});
|
Loading…
Reference in New Issue
Block a user