mirror of
https://github.com/key-networks/ztncui.git
synced 2025-06-07 18:53:45 +02:00
Display current DNS configuration above inputs
This commit is contained in:
parent
2bce8e54c0
commit
32d43462db
1 changed files with 22 additions and 0 deletions
|
@ -7,6 +7,28 @@ extends network_layout
|
||||||
|
|
||||||
block net_content
|
block net_content
|
||||||
- const dns = network.dns || {};
|
- const dns = network.dns || {};
|
||||||
|
if (!dns.domain && !(dns.servers && dns.servers.length > 0))
|
||||||
|
.row
|
||||||
|
.col-sm-12
|
||||||
|
b No DNS configuration on this network.
|
||||||
|
else
|
||||||
|
.row
|
||||||
|
.col-sm-2
|
||||||
|
b Domain:
|
||||||
|
.col-sm-10
|
||||||
|
p= dns.domain
|
||||||
|
.row
|
||||||
|
.col-sm-2
|
||||||
|
b Servers:
|
||||||
|
.col-sm-10
|
||||||
|
.row
|
||||||
|
each server in dns.servers
|
||||||
|
.col-sm-12= server
|
||||||
|
|
||||||
|
.row
|
||||||
|
.col-sm-12
|
||||||
|
h3 Change DNS configuration:
|
||||||
|
|
||||||
form(method='POST' action='')
|
form(method='POST' action='')
|
||||||
.form-group.row
|
.form-group.row
|
||||||
.col-sm-12
|
.col-sm-12
|
||||||
|
|
Loading…
Add table
Reference in a new issue