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
c9d8fdb5
Commit
c9d8fdb5
authored
Apr 27, 2015
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc create wizard: add disk size option
parent
9befff6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
CreateWizard.js
www/manager/lxc/CreateWizard.js
+2
-1
Resources.js
www/manager/lxc/Resources.js
+12
-12
No files found.
www/manager/lxc/CreateWizard.js
View file @
c9d8fdb5
...
@@ -144,7 +144,8 @@ Ext.define('PVE.lxc.CreateWizard', {
...
@@ -144,7 +144,8 @@ Ext.define('PVE.lxc.CreateWizard', {
},
},
{
{
xtype
:
'
pveLxcResourceInputPanel
'
,
xtype
:
'
pveLxcResourceInputPanel
'
,
title
:
gettext
(
'
Resources
'
)
title
:
gettext
(
'
Resources
'
),
insideWizard
:
true
},
},
networkpanel
,
networkpanel
,
{
{
...
...
www/manager/lxc/Resources.js
View file @
c9d8fdb5
...
@@ -35,18 +35,18 @@ Ext.define('PVE.lxc.RessourceInputPanel', {
...
@@ -35,18 +35,18 @@ Ext.define('PVE.lxc.RessourceInputPanel', {
];
];
me
.
column2
=
[
me
.
column2
=
[
//
{
{
// xtype: 'number
field',
xtype
:
me
.
insideWizard
?
'
numberfield
'
:
'
display
field
'
,
//
name: 'disk',
name
:
'
disk
'
,
// minValue: 0.001
,
minValue
:
0
,
//
maxValue: 128*1024,
maxValue
:
128
*
1024
,
//
decimalPrecision: 3,
decimalPrecision
:
3
,
// value: '4
',
value
:
'
8
'
,
//
step: 1,
step
:
1
,
//
fieldLabel: gettext('Disk size') + ' (GB)',
fieldLabel
:
gettext
(
'
Disk size
'
)
+
'
(GB)
'
,
//
labelWidth: labelWidth,
labelWidth
:
labelWidth
,
//
allowBlank: false
allowBlank
:
false
//
},
},
{
{
xtype
:
'
numberfield
'
,
xtype
:
'
numberfield
'
,
name
:
'
cpus
'
,
name
:
'
cpus
'
,
...
...
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