dokytree/samples/it_v1/templates/subnets.pug

26 lines
412 B
Plaintext
Raw Normal View History

2023-03-08 23:38:30 +00:00
div#HEADFILES
table
thead
th Name
th Subnet
th Gateway
th DNS
th VLANS
each subnet in node.items
tr
td=subnet.data.name
td=subnet.data.subnet
td=subnet.data.gw
td
if subnet.data.dns
each dns in subnet.data.dns
div=dns
td
if subnet.data.vlans
-var array = []
each vlan in subnet.data.vlans
-array.push(vlan)
div=array
div#FILES
div#FOOTFILES