style: v0.2.2 - Compact node table layout, align SNR right, battery left

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ppfeiffer 2026-02-15 14:21:54 +01:00
parent ee90e0a8dc
commit ed56628ba4
4 changed files with 15 additions and 9 deletions

View file

@ -1,5 +1,11 @@
# Changelog # Changelog
## [0.2.2] - 2026-02-15
### Changed
- SNR-Spalte rechtsbündig, Batterie-Spalte linksbündig
- Spaltenabstände in der Nodesliste reduziert (kompakteres Layout)
- Spaltenüberschrift "Zuletzt gesehen" zu "Zuletzt" gekürzt
## [0.2.1] - 2026-02-15 ## [0.2.1] - 2026-02-15
### Changed ### Changed
- Stats Cards kompakter (kleinerer Padding und Schrift) - Stats Cards kompakter (kleinerer Padding und Schrift)

View file

@ -1,4 +1,4 @@
version: "0.2.1" version: "0.2.2"
bot: bot:
name: "MeshDD-Bot" name: "MeshDD-Bot"

View file

@ -83,10 +83,10 @@
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Hardware</th> <th>Hardware</th>
<th class="text-center">SNR</th> <th class="text-end px-1">SNR</th>
<th class="text-center">Batterie</th> <th class="px-1">Batterie</th>
<th class="text-center">Hops</th> <th class="text-center px-1">Hops</th>
<th class="text-end">Zuletzt gesehen</th> <th class="text-end px-1">Zuletzt</th>
</tr> </tr>
</thead> </thead>
<tbody id="nodesTable"></tbody> <tbody id="nodesTable"></tbody>

View file

@ -75,10 +75,10 @@ function renderNodes() {
return `<tr> return `<tr>
<td class="${onlineClass}">${escapeHtml(name)}</td> <td class="${onlineClass}">${escapeHtml(name)}</td>
<td class="text-body-secondary">${escapeHtml(hw)}</td> <td class="text-body-secondary">${escapeHtml(hw)}</td>
<td class="text-center">${snr}</td> <td class="text-end px-1">${snr}</td>
<td class="text-center">${battery}</td> <td class="px-1">${battery}</td>
<td class="text-center">${hops}</td> <td class="text-center px-1">${hops}</td>
<td class="text-end text-body-secondary">${lastSeen}</td> <td class="text-end px-1 text-body-secondary">${lastSeen}</td>
</tr>`; </tr>`;
}).join(''); }).join('');
} }