From 6befc2b7a2228caac7230f010ab1aa9d8609e319 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sun, 23 Mar 2025 17:16:50 +0100 Subject: [PATCH] Fetch new eventlogs when the user scrolls to the bottom --- dashboard/src/style.css | 16 ++- dashboard/src/views/EventlogView.vue | 154 ++++++++++++++++----------- 2 files changed, 108 insertions(+), 62 deletions(-) diff --git a/dashboard/src/style.css b/dashboard/src/style.css index 598627aa9..415f9c146 100644 --- a/dashboard/src/style.css +++ b/dashboard/src/style.css @@ -196,8 +196,20 @@ tr:hover .table-actions { gap: 6px; } -h1.section-header { - margin-top: 20px; +.view-header { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + margin: 0; + margin-right: 10px; + margin-bottom: 10px; + gap: 5px; +} + +.view-header > div { + display: flex; + gap: 6px; } .button-bar { diff --git a/dashboard/src/views/EventlogView.vue b/dashboard/src/views/EventlogView.vue index 94874f648..84011a959 100644 --- a/dashboard/src/views/EventlogView.vue +++ b/dashboard/src/views/EventlogView.vue @@ -1,11 +1,7 @@