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:
5
app.py
5
app.py
@@ -18,7 +18,7 @@ from flask import Flask, jsonify, request
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
VERSION = '1.0.2'
|
||||
VERSION = '1.0.3'
|
||||
RAW_BASE = 'https://git.leuschner.dev/Tobias/PiCopy/raw/branch/main'
|
||||
|
||||
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>
|
||||
PiCopy
|
||||
</div>
|
||||
<div id="upd-badge" class="upd-badge" onclick="installUpdate()" title="Klicken zum Installieren">
|
||||
↑ <span id="upd-version"></span> verfügbar
|
||||
</div>
|
||||
<div class="topbar-wifi">
|
||||
<div class="wdot d" id="wdot"></div>
|
||||
<span id="wifi-label">Verbinde…</span>
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.2
|
||||
1.0.3
|
||||
|
||||
Reference in New Issue
Block a user