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
aeb64e52
Commit
aeb64e52
authored
Apr 22, 2015
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc GUI: add DNS panel to create wizard.
parent
9dc60ef5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
CreateWizard.js
www/manager/lxc/CreateWizard.js
+45
-0
No files found.
www/manager/lxc/CreateWizard.js
View file @
aeb64e52
...
...
@@ -147,6 +147,51 @@ Ext.define('PVE.lxc.CreateWizard', {
title
:
gettext
(
'
Resources
'
)
},
networkpanel
,
{
xtype
:
'
inputpanel
'
,
title
:
gettext
(
'
DNS
'
),
column1
:
[
{
xtype
:
'
pvetextfield
'
,
name
:
'
searchdomain
'
,
skipEmptyText
:
true
,
fieldLabel
:
gettext
(
'
DNS domain
'
),
emptyText
:
'
use host settings
'
,
allowBlank
:
true
,
listeners
:
{
change
:
function
(
f
,
value
)
{
if
(
!
me
.
rendered
)
{
return
;
}
var
field
=
me
.
down
(
'
#dns1
'
);
field
.
setDisabled
(
!
value
);
field
.
clearInvalid
();
field
=
me
.
down
(
'
#dns2
'
);
field
.
setDisabled
(
!
value
);
field
.
clearInvalid
();
}
}
},
{
xtype
:
'
pvetextfield
'
,
fieldLabel
:
gettext
(
'
DNS server
'
)
+
"
1
"
,
vtype
:
'
IPAddress
'
,
allowBlank
:
true
,
disabled
:
true
,
name
:
'
nameserver
'
,
itemId
:
'
dns1
'
},
{
xtype
:
'
pvetextfield
'
,
fieldLabel
:
gettext
(
'
DNS server
'
)
+
"
2
"
,
vtype
:
'
IPAddress
'
,
skipEmptyText
:
true
,
disabled
:
true
,
name
:
'
nameserver
'
,
itemId
:
'
dns2
'
}
]
},
{
title
:
gettext
(
'
Confirm
'
),
layout
:
'
fit
'
,
...
...
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