8
0
mirror of https://github.com/key-networks/ztncui.git synced 2024-08-31 04:28:00 +00:00
ztncui/views/networks.pug

48 lines
1.3 KiB
Plaintext

//-
ztncui - ZeroTier network controller UI
Copyright (C) 2017 Key Networks (https://key-networks.com)
Licensed under GPLv3 - see LICENSE for details.
extends controller_layout
block content
h1= title
if error
b #{error}
else
table.table.table-responsive.table-striped.table-hover
tr
th(width='3%')
= ''
th(width='20%')
| Network name
th(width='10%')
| Network ID
th(width='7%')
= ''
th(width='10%')
= ''
th(width='50%')
= ''
each network in networks
tr
td
a(href='/controller/network/' + network.nwid + '/delete')
i.glyphicon.glyphicon-trash
td
a(href='/controller/network/' + network.nwid + '/name') #{network.name}
td
= network.nwid
td
a(href='/controller/network/' + network.nwid) detail
td
a(href='/controller/network/' + network.nwid + '/easy') easy setup
td
a(href='/controller/network/' + network.nwid + '/members') members
else
.alert.alert-info
strong There are no networks on this network controller - click "Add network" above to create a new network.