dokytree/samples/it_v1/templates/computers.pug
2023-03-09 00:38:30 +01:00

24 lines
448 B
Plaintext

div#HEADFILES
table
thead
th Name
th OS
th IPs
th Emplacement
each computer in node.items
tr
td
a(href=computer.url)=computer.data.name
if (computer.data.os.substr(0,1) == '!')
td.alert=computer.data.os
else
td=computer.data.os
td
if computer.data.interfaces
each interface in computer.data.interfaces
if interface.ip
div=interface.ip
td=computer.data.location
div#FILES
div#FOOTFILES