Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
57dc77fe
Commit
57dc77fe
authored
Aug 26, 2014
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GUI: allow to add ZFS storage
parent
3936e994
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
StorageView.js
www/manager/dc/StorageView.js
+8
-8
ZFSEdit.js
www/manager/storage/ZFSEdit.js
+1
-1
No files found.
www/manager/dc/StorageView.js
View file @
57dc77fe
...
...
@@ -156,23 +156,23 @@ Ext.define('PVE.dc.StorageView', {
win
.
on
(
'
destroy
'
,
reload
);
win
.
show
();
}
}
/* the following type are conidered unstable
* so we do not enable that on the GUI for now
},
{
text: PVE.Utils.format_storage_type('
sheepdog
'),
text
:
PVE
.
Utils
.
format_storage_type
(
'
zfs
'
),
iconCls
:
'
pve-itype-icon-network-server
'
,
handler
:
function
()
{
var win = Ext.create('PVE.storage.
Sheepdog
Edit', {});
var
win
=
Ext
.
create
(
'
PVE.storage.
ZFS
Edit
'
,
{});
win
.
on
(
'
destroy
'
,
reload
);
win
.
show
();
}
},
}
/* the following type are conidered unstable
* so we do not enable that on the GUI for now
{
text: PVE.Utils.format_storage_type('
zfs
'),
text: PVE.Utils.format_storage_type('
sheepdog
'),
iconCls: 'pve-itype-icon-network-server',
handler: function() {
var win = Ext.create('PVE.storage.
ZFS
Edit', {});
var win = Ext.create('PVE.storage.
Sheepdog
Edit', {});
win.on('destroy', reload);
win.show();
}
...
...
www/manager/storage/ZFSEdit.js
View file @
57dc77fe
...
...
@@ -58,7 +58,7 @@ Ext.define('PVE.storage.ZFSInputPanel', {
xtype
:
me
.
create
?
'
textfield
'
:
'
displayfield
'
,
name
:
'
target
'
,
height
:
22
,
// hack: set same height as text fields
value
:
'
iqn.2010-09.org.openindiana:omnios:....
'
,
value
:
''
,
fieldLabel
:
gettext
(
'
Target
'
),
allowBlank
:
false
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment