55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
|
//-
|
||
|
ztncui - ZeroTier network controller UI
|
||
|
Copyright (C) 2017 Key Networks (https://key-networks.com)
|
||
|
Licensed under GPLv3 - see LICENSE for details.
|
||
|
|
||
|
extends network_layout
|
||
|
|
||
|
block net_content
|
||
|
form(method='POST' action='')
|
||
|
table.table.table-responsive.table-striped.table-hover
|
||
|
tr
|
||
|
th(width='25%')
|
||
|
th(width='2%') Yes
|
||
|
th(width='73%') No
|
||
|
tr
|
||
|
td ZT 6plane (/80 routable for each device)
|
||
|
td
|
||
|
.radio
|
||
|
label
|
||
|
input(type='radio' name='6plane' value='true' checked=network.v6AssignMode['6plane'])
|
||
|
td
|
||
|
.radio
|
||
|
label
|
||
|
input(type='radio' name='6plane' value='false' checked=!network.v6AssignMode['6plane'])
|
||
|
tr
|
||
|
td ZT rfc4193 (/128 for each device)
|
||
|
td
|
||
|
.radio
|
||
|
label
|
||
|
input(type='radio' name='rfc4193' value='true' checked=network.v6AssignMode.rfc4193)
|
||
|
td
|
||
|
.radio
|
||
|
label
|
||
|
input(type='radio' name='rfc4193' value='false' checked=!network.v6AssignMode.rfc4193)
|
||
|
tr
|
||
|
td Auto-assign from IP Assignment Pool
|
||
|
td
|
||
|
.radio
|
||
|
label
|
||
|
input(type='radio' name='zt' value='true' checked=network.v6AssignMode.zt)
|
||
|
td
|
||
|
.radio
|
||
|
label
|
||
|
input(type='radio' name='zt' value='false' checked=!network.v6AssignMode.zt)
|
||
|
|
||
|
.form-group(style='padding-top: 10px')
|
||
|
button.btn.btn-primary(type='submit') Submit
|
||
|
= ' '
|
||
|
a.btn.btn-default(href='/controller/network/' + network.nwid name='cancel' role='button') Cancel
|
||
|
|
||
|
if errors
|
||
|
ul
|
||
|
for err in errors
|
||
|
li!= err.msg
|