+ if query != "" {
+
+ }
if page == 1 && query == "" && len(records) > 0 {
- Current Public IP
- { records[0].IP }
-
- { records[0].Timestamp.Format("Jan 02, 15:04:05 MST") }
-
+ Current Public IP
+ { records[0].IP }
+ { records[0].Timestamp.Format("Jan 02, 15:04:05 MST") } ({ humanize(records[0].Timestamp) })
}
-
-
- | Timestamp | IP Address |
-
-
- for _, r := range records {
+ if len(records) > 0 {
+
+
- | { r.Timestamp.Format("2006-01-02 15:04:05") } |
- { r.IP } |
+ Timestamp |
+ IP Address |
+
+
+ for _, r := range records {
+
+ |
+ { r.Timestamp.Format("2006-01-02 15:04:05") }
+ { humanize(r.Timestamp) }
+ |
+ { r.IP } |
+
+ }
+
+
+ } else {
+
+
No IP found matching your search.
+ if query != "" {
+
}
-
-
+