From aa665d6609733c45c1afa1391186a869f9d78240 Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Fri, 25 Apr 2025 21:54:13 +0800 Subject: [PATCH] update --- .../src/components/NotificationSettings.vue | 32 ++++--- packages/frontend/src/views/AuditLogView.vue | 24 +++-- packages/frontend/src/views/SettingsView.vue | 94 ++++++++++--------- 3 files changed, 81 insertions(+), 69 deletions(-) diff --git a/packages/frontend/src/components/NotificationSettings.vue b/packages/frontend/src/components/NotificationSettings.vue index ae85428..2d0392e 100644 --- a/packages/frontend/src/components/NotificationSettings.vue +++ b/packages/frontend/src/components/NotificationSettings.vue @@ -4,25 +4,28 @@ {{ $t('settings.notifications.title') }} - -
| {{ $t('settings.ipBlacklist.table.ipAddress') }} | -{{ $t('settings.ipBlacklist.table.attempts') }} | -{{ $t('settings.ipBlacklist.table.lastAttempt') }} | -{{ $t('settings.ipBlacklist.table.bannedUntil') }} | -{{ $t('settings.ipBlacklist.table.actions') }} | -
|---|---|---|---|---|
| {{ entry.ip }} | -{{ entry.attempts }} | -{{ new Date(entry.last_attempt_at * 1000).toLocaleString() }} | -{{ entry.blocked_until ? new Date(entry.blocked_until * 1000).toLocaleString() : $t('statusMonitor.notAvailable') }} | -- - | -
{{ $t('settings.ipBlacklist.noBannedIps') }}
-{{ blacklistDeleteError }}
+ +{{ $t('settings.ipBlacklist.noBannedIps') }}
+ +| {{ $t('settings.ipBlacklist.table.ipAddress') }} | +{{ $t('settings.ipBlacklist.table.attempts') }} | +{{ $t('settings.ipBlacklist.table.lastAttempt') }} | +{{ $t('settings.ipBlacklist.table.bannedUntil') }} | +{{ $t('settings.ipBlacklist.table.actions') }} | +
|---|---|---|---|---|
| {{ entry.ip }} | +{{ entry.attempts }} | +{{ new Date(entry.last_attempt_at * 1000).toLocaleString() }} | +{{ entry.blocked_until ? new Date(entry.blocked_until * 1000).toLocaleString() : $t('statusMonitor.notAvailable') }} | ++ + | +
{{ blacklistDeleteError }}