@if (searchResults.subnets.items.length > 0) {
Subnets
@for (sn of searchResults.subnets.items; track sn) {
[{{ sn.id }}] {{ sn.subnet }}
}
}
@if (searchResults.sharedNetworks.items.length > 0) {
Shared Networks
@for (net of searchResults.sharedNetworks.items; track net) {
[{{ net.id }}] {{ net.name }}
}
}
@if (searchResults.hosts.items.length > 0) {
Hosts
@for (h of searchResults.hosts.items; track h) {
[{{ h.id }}]
@for (i of h.hostIdentifiers; track i) {
{{ i.idType + '=' + i.idHexValue }}
}
}
}
@if (searchResults.machines.items.length > 0) {
Machines
@for (m of searchResults.machines.items; track m) {
}
}
@if (searchResults.daemons.items.length > 0) {
Daemons
@for (d of searchResults.daemons.items; track d) {
}
}
@if (searchResults.users.items.length > 0) {
Users
@for (u of searchResults.users.items; track u) {
[{{ u.id }}] {{ u.email || u.login }}
}
}
@if (searchResults.groups.items.length > 0) {
Groups
@for (g of searchResults.groups.items; track g) {
[{{ g.id }}] {{ g.name }}
}
}
@if (noResults()) {
No results
}