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