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
4031f444
Commit
4031f444
authored
Feb 10, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compression selector
parent
291b7860
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
27 deletions
+25
-27
changelog.Debian
debian/changelog.Debian
+8
-0
defines.mk
defines.mk
+1
-1
ComboGrid.js
www/manager/form/ComboGrid.js
+1
-1
CompressionSelector.js
www/manager/form/CompressionSelector.js
+3
-14
CreateWizard.js
www/manager/qemu/CreateWizard.js
+1
-1
Backup.js
www/manager/window/Backup.js
+11
-10
No files found.
debian/changelog.Debian
View file @
4031f444
pve-manager (2.0-22) unstable; urgency=low
* fix lint errors
* fix compression selector
-- Proxmox Support Team <support@proxmox.com> Fri, 10 Feb 2012 12:26:39 +0100
pve-manager (2.0-21) unstable; urgency=low
* fix postinst script (write correct /root/.forward)
...
...
defines.mk
View file @
4031f444
...
...
@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=2
1
PACKAGERELEASE=2
2
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5
...
...
www/manager/form/ComboGrid.js
View file @
4031f444
...
...
@@ -97,7 +97,7 @@ Ext.define('PVE.form.ComboGrid', {
if
(
me
.
enableAfterLoad
)
{
delete
me
.
enableAfterLoad
;
me
.
setDisabled
(
false
);
me
.
setDisabled
(
false
);
}
var
def
=
me
.
getValue
();
...
...
www/manager/form/CompressionSelector.js
View file @
4031f444
...
...
@@ -6,20 +6,9 @@ Ext.define('PVE.form.CompressionSelector', {
var
me
=
this
;
me
.
data
=
[
[
''
,
'
Default (qemu64)
'
],
[
'
486
'
,
'
486
'
],
[
'
athlon
'
,
'
athlon
'
],
[
'
core2duo
'
,
'
core2duo
'
],
[
'
coreduo
'
,
'
coreduo
'
],
[
'
kvm32
'
,
'
kvm32
'
],
[
'
kvm64
'
,
'
kvm64
'
],
[
'
pentium
'
,
'
pentium
'
],
[
'
pentium2
'
,
'
pentium2
'
],
[
'
pentium3
'
,
'
pentium3
'
],
[
'
phenom
'
,
'
phenom
'
],
[
'
qemu32
'
,
'
qemu32
'
],
[
'
qemu64
'
,
'
qemu64
'
],
[
'
host
'
,
'
host
'
]
[
''
,
'
none
'
],
[
'
lzo
'
,
'
LZO (fast)
'
],
[
'
gzip
'
,
'
GZIP (good)
'
]
];
me
.
callParent
();
...
...
www/manager/qemu/CreateWizard.js
View file @
4031f444
...
...
@@ -77,7 +77,7 @@ Ext.define('PVE.qemu.CreateWizard', {
name
:
'
pool
'
,
value
:
''
,
allowBlank
:
true
}
,
}
],
onGetValues
:
function
(
values
)
{
if
(
!
values
.
name
)
{
...
...
www/manager/window/Backup.js
View file @
4031f444
...
...
@@ -43,10 +43,9 @@ Ext.define('PVE.window.Backup', {
name
:
'
mode
'
},
{
xtype
:
'
pve
checkbox
'
,
xtype
:
'
pve
CompressionSelector
'
,
name
:
'
compress
'
,
uncheckedValue
:
0
,
checked
:
true
,
value
:
'
lzo
'
,
fieldLabel
:
'
Compress
'
}
]
...
...
@@ -59,16 +58,18 @@ Ext.define('PVE.window.Backup', {
handler
:
function
(){
var
storage
=
storagesel
.
getValue
();
var
values
=
form
.
getValues
();
console
.
dir
(
me
.
vmid
,
me
.
nodename
,
values
.
online
);
PVE
.
Utils
.
API2Request
({
url
:
'
/nodes/
'
+
me
.
nodename
+
'
/vzdump
'
,
params
:
{
var
params
=
{
storage
:
storage
,
vmid
:
me
.
vmid
,
compress
:
values
.
compress
,
mode
:
values
.
mode
},
};
if
(
values
.
compress
)
{
params
.
compress
=
values
.
compress
;
}
PVE
.
Utils
.
API2Request
({
url
:
'
/nodes/
'
+
me
.
nodename
+
'
/vzdump
'
,
params
:
params
,
method
:
'
POST
'
,
failure
:
function
(
response
,
opts
)
{
Ext
.
Msg
.
alert
(
'
Error
'
,
response
.
htmlStatus
);
...
...
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