update navigation links, enhance NFC data display, and improve MQTT connection handling
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
<a href="/">Start</a>
|
||||
<a href="/waage">Scale</a>
|
||||
<a href="/spoolman">Spoolman/Bambu</a>
|
||||
<a href="/rfid">RFID</a>
|
||||
<a href="/">About</a>
|
||||
</nav>
|
||||
<div class="status-container">
|
||||
<div class="status-item">
|
||||
|
@ -448,7 +448,7 @@ function updateNfcData(data) {
|
||||
|
||||
// HTML für die Datenanzeige erstellen
|
||||
let html = `
|
||||
<div style="margin-top: 10px;">
|
||||
<div class="nfc-card-data" style="margin-top: 10px;">
|
||||
<p><strong>Brand:</strong> ${data.brand || 'N/A'}</p>
|
||||
<p><strong>Type:</strong> ${data.type || 'N/A'} ${data.color_hex ? `<span style="
|
||||
background-color: #${data.color_hex};
|
||||
|
@ -255,7 +255,7 @@ button:hover {
|
||||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
color: #555;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
a {
|
||||
@ -325,6 +325,13 @@ a:hover {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.nfc-card-data {
|
||||
padding-left: 20px !important;
|
||||
color: white !important;
|
||||
font-weight: bold !important;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
|
||||
.nfc-success {
|
||||
color: green;
|
||||
}
|
||||
|
Reference in New Issue
Block a user