From ced5d77e27411390f8e87c5ab9456926fe6132cb Mon Sep 17 00:00:00 2001 From: Tobias Leuschner Date: Sat, 9 May 2026 19:33:31 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Passwortfeld=20mit=20Sichtbarkeitsschal?= =?UTF-8?q?ter=20hinzugef=C3=BCgt;=20Versionsnummer=20auf=201.0.58=20erh?= =?UTF-8?q?=C3=B6ht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 15 ++++++++++++++- version.txt | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 84d92d9..c7558fd 100644 --- a/app.py +++ b/app.py @@ -2594,7 +2594,12 @@ body{background:var(--bg);color:var(--txt);font-family:-apple-system,BlinkMacSys
-
+
+
+ + +
+
@@ -3033,6 +3038,7 @@ async function loadCfg(){ $('c-verify').checked=!!cfg.verify_checksum; $('c-delsrc').checked=!!cfg.delete_source; $('w-ssid').value=cfg.wifi_ssid||''; $('ap-ssid').value=cfg.ap_ssid||'PiCopy'; + $('ap-pw').value=cfg.ap_password||''; $('dst-type').value=cfg.dest_type||'usb'; onDestTypeChange(false); } @@ -3061,6 +3067,13 @@ async function scanNets(){ }).join(''); } function pickNet(s){$('w-ssid').value=s;$('net-list').style.display='none';$('w-pw').focus();} +function togglePwVis(inputId, btnId){ + const inp=$(inputId), btn=$(btnId); + const show = inp.type==='password'; + inp.type = show ? 'text' : 'password'; + btn.textContent = show ? '🙈' : '👁'; +} + async function connectWifi(){ const ssid=$('w-ssid').value.trim(),pw=$('w-pw').value; if(!ssid){flash('wifi-flash','err','Bitte SSID eingeben');return;} diff --git a/version.txt b/version.txt index 91cc3fe..4ded4f9 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.57 \ No newline at end of file +1.0.58 \ No newline at end of file