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
54338383
Commit
54338383
authored
Oct 03, 2013
by
Michael Rasmussen
Committed by
Dietmar Maurer
Oct 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Latest-changes-which-removes-unused-config
Signed-off-by:
Michael Rasmussen
<
mir@datanom.net
>
parent
c5750188
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
2 deletions
+18
-2
Makefile
www/manager/Makefile
+1
-0
Utils.js
www/manager/Utils.js
+2
-0
StorageView.js
www/manager/dc/StorageView.js
+11
-0
Clone.js
www/manager/qemu/Clone.js
+2
-1
HDEdit.js
www/manager/qemu/HDEdit.js
+2
-1
No files found.
www/manager/Makefile
View file @
54338383
...
@@ -135,6 +135,7 @@ JSSRC= \
...
@@ -135,6 +135,7 @@ JSSRC= \
storage/RBDEdit.js
\
storage/RBDEdit.js
\
storage/SheepdogEdit.js
\
storage/SheepdogEdit.js
\
storage/NexentaEdit.js
\
storage/NexentaEdit.js
\
storage/ZFSEdit.js
\
dc/Summary.js
\
dc/Summary.js
\
dc/OptionView.js
\
dc/OptionView.js
\
dc/StorageView.js
\
dc/StorageView.js
\
...
...
www/manager/Utils.js
View file @
54338383
...
@@ -692,6 +692,8 @@ Ext.define('PVE.Utils', { statics: {
...
@@ -692,6 +692,8 @@ Ext.define('PVE.Utils', { statics: {
return
'
Sheepdog
'
;
return
'
Sheepdog
'
;
}
else
if
(
value
===
'
nexenta
'
)
{
}
else
if
(
value
===
'
nexenta
'
)
{
return
'
Nexenta
'
;
return
'
Nexenta
'
;
}
else
if
(
value
===
'
zfs
'
)
{
return
'
ZFS
'
;
}
else
if
(
value
===
'
iscsidirect
'
)
{
}
else
if
(
value
===
'
iscsidirect
'
)
{
return
'
iSCSIDirect
'
;
return
'
iSCSIDirect
'
;
}
else
{
}
else
{
...
...
www/manager/dc/StorageView.js
View file @
54338383
...
@@ -48,6 +48,8 @@ Ext.define('PVE.dc.StorageView', {
...
@@ -48,6 +48,8 @@ Ext.define('PVE.dc.StorageView', {
editor
=
'
PVE.storage.SheepdogEdit
'
;
editor
=
'
PVE.storage.SheepdogEdit
'
;
}
else
if
(
type
===
'
nexenta
'
)
{
}
else
if
(
type
===
'
nexenta
'
)
{
editor
=
'
PVE.storage.NexentaEdit
'
;
editor
=
'
PVE.storage.NexentaEdit
'
;
}
else
if
(
type
===
'
zfs
'
)
{
editor
=
'
PVE.storage.ZFSEdit
'
;
}
else
{
}
else
{
return
;
return
;
}
}
...
@@ -175,6 +177,15 @@ Ext.define('PVE.dc.StorageView', {
...
@@ -175,6 +177,15 @@ Ext.define('PVE.dc.StorageView', {
win.show();
win.show();
}
}
},
},
{
text: PVE.Utils.format_storage_type('ZFS'),
iconCls: 'pve-itype-icon-node',
handler: function() {
var win = Ext.create('PVE.storage.ZFSEdit', {});
win.on('destroy', reload);
win.show();
}
}
*/
*/
]
]
})
})
...
...
www/manager/qemu/Clone.js
View file @
54338383
...
@@ -69,7 +69,8 @@ Ext.define('PVE.window.Clone', {
...
@@ -69,7 +69,8 @@ Ext.define('PVE.window.Clone', {
rec
.
data
.
type
===
'
rbd
'
||
rec
.
data
.
type
===
'
rbd
'
||
rec
.
data
.
type
===
'
iscsi
'
||
rec
.
data
.
type
===
'
iscsi
'
||
rec
.
data
.
type
===
'
sheepdog
'
||
rec
.
data
.
type
===
'
sheepdog
'
||
rec
.
data
.
type
===
'
nexenta
'
rec
.
data
.
type
===
'
nexenta
'
||
rec
.
data
.
type
===
'
zfs
'
)
{
)
{
me
.
formatsel
.
setValue
(
'
raw
'
);
me
.
formatsel
.
setValue
(
'
raw
'
);
me
.
formatsel
.
setDisabled
(
true
);
me
.
formatsel
.
setDisabled
(
true
);
...
...
www/manager/qemu/HDEdit.js
View file @
54338383
...
@@ -192,7 +192,8 @@ Ext.define('PVE.qemu.HDInputPanel', {
...
@@ -192,7 +192,8 @@ Ext.define('PVE.qemu.HDInputPanel', {
}
else
if
(
rec
.
data
.
type
===
'
lvm
'
||
}
else
if
(
rec
.
data
.
type
===
'
lvm
'
||
rec
.
data
.
type
===
'
rbd
'
||
rec
.
data
.
type
===
'
rbd
'
||
rec
.
data
.
type
===
'
sheepdog
'
||
rec
.
data
.
type
===
'
sheepdog
'
||
rec
.
data
.
type
===
'
nexenta
'
)
{
rec
.
data
.
type
===
'
nexenta
'
||
rec
.
data
.
type
===
'
zfs
'
)
{
me
.
hdfilesel
.
setDisabled
(
true
);
me
.
hdfilesel
.
setDisabled
(
true
);
me
.
hdfilesel
.
setVisible
(
false
);
me
.
hdfilesel
.
setVisible
(
false
);
me
.
formatsel
.
setValue
(
'
raw
'
);
me
.
formatsel
.
setValue
(
'
raw
'
);
...
...
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