diff --git a/src/templates/index.html b/src/templates/index.html index 863e751..8d09787 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -4,7 +4,7 @@
| Name | @@ -20,7 +20,13 @@{{ .Ip }} | {{ .Mac }} | {{ .Hw }} | -{{ .Known }} | ++ {{ if eq .Known 1 }} + + {{ else }} + + {{ end }} + | Hardware | Last seen | Known | +{{ range . }} {{ if eq .Now 0 }} - |
|---|---|---|---|---|---|
| {{ .Name }} | -{{ .Ip }} | -{{ .Mac }} | -{{ .Hw }} | -{{ .Date }} | -{{ .Known }} | -