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
8e703e48
Commit
8e703e48
authored
Aug 31, 2015
by
Emmanuel Kasper
Committed by
Dietmar Maurer
Sep 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext5migrate: adapt Backup items to new KVCombobox parent class
This allows the Backup to work with ExtJS5
parent
5c922347
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
44 deletions
+16
-44
BackupModeSelector.js
www/manager5/form/BackupModeSelector.js
+5
-12
CompressionSelector.js
www/manager5/form/CompressionSelector.js
+5
-12
DayOfWeekSelector.js
www/manager5/form/DayOfWeekSelector.js
+2
-9
EmailNotificationSelector.js
www/manager5/form/EmailNotificationSelector.js
+4
-11
No files found.
www/manager5/form/BackupModeSelector.js
View file @
8e703e48
Ext
.
define
(
'
PVE.form.BackupModeSelector
'
,
{
extend
:
'
PVE.form.KVComboBox
'
,
alias
:
[
'
widget.pveBackupModeSelector
'
],
initComponent
:
function
()
{
var
me
=
this
;
me
.
data
=
[
[
'
snapshot
'
,
gettext
(
'
Snapshot
'
)],
[
'
suspend
'
,
gettext
(
'
Suspend
'
)],
[
'
stop
'
,
gettext
(
'
Stop
'
)]
];
me
.
callParent
();
}
comboItems
:
[
[
'
snapshot
'
,
gettext
(
'
Snapshot
'
)],
[
'
suspend
'
,
gettext
(
'
Suspend
'
)],
[
'
stop
'
,
gettext
(
'
Stop
'
)]
]
});
www/manager5/form/CompressionSelector.js
View file @
8e703e48
Ext
.
define
(
'
PVE.form.CompressionSelector
'
,
{
extend
:
'
PVE.form.KVComboBox
'
,
alias
:
[
'
widget.pveCompressionSelector
'
],
initComponent
:
function
()
{
var
me
=
this
;
me
.
data
=
[
[
''
,
PVE
.
Utils
.
noneText
],
[
'
lzo
'
,
'
LZO (
'
+
gettext
(
'
fast
'
)
+
'
)
'
],
[
'
gzip
'
,
'
GZIP (
'
+
gettext
(
'
good
'
)
+
'
)
'
]
];
me
.
callParent
();
}
comboItems
:
[
[
''
,
PVE
.
Utils
.
noneText
],
[
'
lzo
'
,
'
LZO (
'
+
gettext
(
'
fast
'
)
+
'
)
'
],
[
'
gzip
'
,
'
GZIP (
'
+
gettext
(
'
good
'
)
+
'
)
'
]
]
});
www/manager5/form/DayOfWeekSelector.js
View file @
8e703e48
Ext
.
define
(
'
PVE.form.DayOfWeekSelector
'
,
{
extend
:
'
PVE.form.KVComboBox
'
,
alias
:
[
'
widget.pveDayOfWeekSelector
'
],
initComponent
:
function
()
{
var
me
=
this
;
me
.
data
=
[
comboItems
:
[
[
'
sun
'
,
Ext
.
util
.
Format
.
htmlDecode
(
Ext
.
Date
.
dayNames
[
0
])],
[
'
mon
'
,
Ext
.
util
.
Format
.
htmlDecode
(
Ext
.
Date
.
dayNames
[
1
])],
[
'
tue
'
,
Ext
.
util
.
Format
.
htmlDecode
(
Ext
.
Date
.
dayNames
[
2
])],
...
...
@@ -13,8 +9,5 @@ Ext.define('PVE.form.DayOfWeekSelector', {
[
'
thu
'
,
Ext
.
util
.
Format
.
htmlDecode
(
Ext
.
Date
.
dayNames
[
4
])],
[
'
fri
'
,
Ext
.
util
.
Format
.
htmlDecode
(
Ext
.
Date
.
dayNames
[
5
])],
[
'
sat
'
,
Ext
.
util
.
Format
.
htmlDecode
(
Ext
.
Date
.
dayNames
[
6
])]
];
me
.
callParent
();
}
]
});
www/manager5/form/EmailNotificationSelector.js
View file @
8e703e48
Ext
.
define
(
'
PVE.form.EmailNotificationSelector
'
,
{
extend
:
'
PVE.form.KVComboBox
'
,
alias
:
[
'
widget.pveEmailNotificationSelector
'
],
initComponent
:
function
()
{
var
me
=
this
;
me
.
data
=
[
[
'
always
'
,
gettext
(
'
Always
'
)],
[
'
failure
'
,
gettext
(
'
On failure only
'
)]
];
me
.
callParent
();
}
comboItems
:
[
[
'
always
'
,
gettext
(
'
Always
'
)],
[
'
failure
'
,
gettext
(
'
On failure only
'
)]
]
});
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