fix v1.0.3 – Update-Badge HTML-Element fehlte im Topbar

Das <div id="upd-badge"> war im CSS und JS vorhanden, aber
nie ins HTML-Template eingefügt worden – daher kein sichtbares Badge.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 02:14:14 +02:00
parent e96ce8a7d3
commit f57d755156
2 changed files with 5 additions and 2 deletions

5
app.py
View File

@@ -18,7 +18,7 @@ from flask import Flask, jsonify, request
app = Flask(__name__) app = Flask(__name__)
VERSION = '1.0.2' VERSION = '1.0.3'
RAW_BASE = 'https://git.leuschner.dev/Tobias/PiCopy/raw/branch/main' RAW_BASE = 'https://git.leuschner.dev/Tobias/PiCopy/raw/branch/main'
BASE_DIR = Path('/opt/picopy') BASE_DIR = Path('/opt/picopy')
@@ -1312,6 +1312,9 @@ body{background:var(--bg);color:var(--txt);font-family:-apple-system,BlinkMacSys
<div class="logo-dot"></div> <div class="logo-dot"></div>
PiCopy PiCopy
</div> </div>
<div id="upd-badge" class="upd-badge" onclick="installUpdate()" title="Klicken zum Installieren">
&#8593; <span id="upd-version"></span> verfügbar
</div>
<div class="topbar-wifi"> <div class="topbar-wifi">
<div class="wdot d" id="wdot"></div> <div class="wdot d" id="wdot"></div>
<span id="wifi-label">Verbinde…</span> <span id="wifi-label">Verbinde…</span>

View File

@@ -1 +1 @@
1.0.2 1.0.3