From f5f0ec8643702d53b53d97dd443e96d5668ea589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C3=96ster?= Date: Mon, 25 Nov 2024 17:24:13 +0200 Subject: [PATCH] Add Refresh button --- Software/src/devboard/webserver/can_logging_html.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Software/src/devboard/webserver/can_logging_html.cpp b/Software/src/devboard/webserver/can_logging_html.cpp index ac19e973..368c3e93 100644 --- a/Software/src/devboard/webserver/can_logging_html.cpp +++ b/Software/src/devboard/webserver/can_logging_html.cpp @@ -18,7 +18,7 @@ String can_logger_processor(const String& var) { ".can-message { background-color: #404E57; margin-bottom: 5px; padding: 10px; border-radius: 5px; font-family: " "monospace; }"; content += ""; - + content += " "; content += ""; // Start a new block for the CAN messages @@ -26,7 +26,7 @@ String can_logger_processor(const String& var) { // Check for messages if (datalayer.system.info.logged_can_messages[0] == 0) { - content += "No incoming/outgoing CAN messages yet"; + content += "CAN logger started! Refresh page to display incoming(RX) and outgoing(TX) messages"; } else { // Split the messages using the newline character String messages = String(datalayer.system.info.logged_can_messages); @@ -46,6 +46,7 @@ String can_logger_processor(const String& var) { // Add JavaScript for navigation content += ""; return content; }