This commit is contained in:
David Schroeder
2026-07-26 10:33:50 -05:00
parent 60a739a1aa
commit 0ed0fb5817
8 changed files with 35 additions and 63 deletions
+2 -4
View File
@@ -29,7 +29,7 @@
<span>Event</span>
<span>Customer / deployment</span>
<span>User / host / package</span>
<span>WAN / LAN / details</span>
<span>IP / Details</span>
</div>
{{range .AuditEvents}}
<div class="audit-row">
@@ -46,9 +46,7 @@
{{if .PackageSlug}}<span>{{.PackageSlug}}</span>{{end}}
</div>
<div>
{{if .SourceIP}}<span>WAN: {{.SourceIP}}</span>{{end}}
{{if .LANIP}}<span>LAN: {{.LANIP}}</span>{{end}}
{{if and (not .SourceIP) (not .LANIP)}}<span></span>{{end}}
{{if .SourceIP}}<span>{{.SourceIP}}</span>{{else}}<span></span>{{end}}
{{if .Details}}<small>{{.Details}}</small>{{end}}
</div>
</div>