WebDAV-/Nextcloud-Sync mit Einstellungsseite (v1.1.0)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
bec85f7e50
commit
bb7ee831a8
@@ -0,0 +1,44 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>LabLinks – Sync</title>
|
||||
<link rel="stylesheet" href="popup.css">
|
||||
<link rel="stylesheet" href="options.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="crt">
|
||||
<h1>LAB<span>LINKS</span> <small>// SYNC</small></h1>
|
||||
<p class="hint">
|
||||
Synchronisiert deine Links als <code>lablinks.json</code> per WebDAV – z. B. mit Nextcloud.<br>
|
||||
Nextcloud: <em>Einstellungen → Sicherheit → App-Passwort erstellen</em> und nutze dieses statt deines Passworts.
|
||||
</p>
|
||||
|
||||
<form id="cfg" autocomplete="off">
|
||||
<label>WEBDAV-ORDNER (URL)
|
||||
<input id="url" type="text" placeholder="https://cloud.example.com/remote.php/dav/files/NUTZER/LabLinks" required>
|
||||
</label>
|
||||
<label>BENUTZER
|
||||
<input id="user" type="text" required>
|
||||
</label>
|
||||
<label>APP-PASSWORT
|
||||
<input id="pass" type="password" required>
|
||||
</label>
|
||||
<div class="btns">
|
||||
<button type="submit" class="primary">[SPEICHERN & TESTEN]</button>
|
||||
<button type="button" id="now" hidden>[JETZT SYNCEN]</button>
|
||||
<button type="button" id="off" hidden>[TRENNEN]</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<p id="status" role="status"></p>
|
||||
<p class="hint small">
|
||||
Der Ordner wird bei Bedarf angelegt. Zugangsdaten bleiben lokal in diesem Browser
|
||||
(nicht über das Google-Konto synchronisiert, aber unverschlüsselt gespeichert).
|
||||
Konflikte löst der jeweils neuere Eintrag.
|
||||
</p>
|
||||
</div>
|
||||
<script src="sync.js"></script>
|
||||
<script src="options.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user