Files
2026-10-11 18:15:37 +00:00

45 lines
1.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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.&nbsp;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 &amp; 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>