diff --git a/frontend/src/views/LogsView.vue b/frontend/src/views/LogsView.vue index e8b1b31..f11b3d8 100644 --- a/frontend/src/views/LogsView.vue +++ b/frontend/src/views/LogsView.vue @@ -198,6 +198,7 @@ function clearFilters() { Category User Action / Endpoint + IP Status Duration @@ -220,6 +221,7 @@ function clearFilters() { {{ entry.method }} {{ displayLabel(entry) }} + {{ entry.ip_address || "—" }} {{ entry.status_code }} @@ -230,9 +232,10 @@ function clearFilters() { {{ entry.duration_ms != null ? entry.duration_ms + "ms" : "—" }} - - -
{{ formatDetails(entry.details) }}
+ + +
IP: {{ entry.ip_address }}
+
{{ formatDetails(entry.details) }}
@@ -406,11 +409,23 @@ function clearFilters() { font-family: monospace; font-size: 0.85rem; } +.cell-ip { + font-family: monospace; + font-size: 0.8rem; + color: var(--color-text-muted); + white-space: nowrap; +} .cell-duration { color: var(--color-text-muted); font-size: 0.8rem; white-space: nowrap; } +.detail-ip { + font-family: monospace; + font-size: 0.8rem; + color: var(--color-text-muted); + margin-bottom: 0.4rem; +} .text-error { color: var(--color-danger); }