dokytree/samples/it_v1/templates/domains.pug

29 lines
453 B
Plaintext
Raw Normal View History

2023-03-08 23:38:30 +00:00
div#HEADFILES
table
thead
th Name
th DC
th FSMO
th Members
each itm in node.items
tr
td=itm.name
td
if (itm.data)
each dc in itm.data.dc
div
a(href="/devices/servers?itm="+dc.name)=dc.name
td
if (itm.data)
each dc in itm.data.dc
div=dc.fsmo
td
if (itm.data)
each srv in itm.data.servers
div
a(href="/devices/servers?itm="+srv.name)=srv.name
div#FILES
div#FOOTFILES