Some info on the settings page of the webplugin and mod to style.css
Build LinkLog Development Image / development-image (push) Successful in 10s

This commit is contained in:
2026-08-26 12:05:21 +02:00
parent dd450ea3b5
commit 6651ce8993
6 changed files with 72 additions and 38 deletions
+59 -34
View File
@@ -2,44 +2,69 @@
<!-- Copyright © 2026 Olaf Kolkman -->
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<html lang="en">
<head>
<meta charset="utf-8" />
<title>LinkLog Settings</title>
<link rel="stylesheet" href="options.css" />
</head>
<body>
<main class="options-shell">
<img class="extension-logo" src="logo.svg" alt="LinkLog" />
<h1>Settings</h1>
<div id="status" class="status hidden" aria-live="polite"></div>
<head>
<meta charset="utf-8" />
<title>LinkLog Settings</title>
<link rel="stylesheet" href="options.css" />
</head>
<section id="logged-in" class="logged-in hidden" aria-live="polite">
<p id="session-summary"></p>
<button type="button" id="sign-out">Sign out</button>
</section>
<body>
<main class="options-shell">
<img class="extension-logo" src="logo.svg" alt="LinkLog" />
<h1>Settings</h1>
<form id="settings-form">
<label>
Backend URL
<input id="backend-url" type="url" placeholder="https://example.com" />
</label>
<div id="status" class="status hidden" aria-live="polite"></div>
<label>
Username
<input id="username" type="text" placeholder="alice" />
</label>
<section id="logged-in" class="logged-in hidden" aria-live="polite">
<p id="session-summary"></p>
<button type="button" id="sign-out">Sign out</button>
</section>
<label>
Password
<input id="password" type="password" />
</label>
<form id="settings-form">
<label>
Backend URL
<input id="backend-url" type="url" placeholder="https://example.com" />
</label>
<button type="submit">Save and log in</button>
</form>
</main>
<footer class="extension-footer">Copyright © 2026 Olaf Kolkman · <a href="https://git.kolkman.org/olaf/Link-Log">Repository</a></footer>
<label>
Username
<input id="username" type="text" placeholder="alice" />
</label>
<script src="options.js"></script>
</body>
</html>
<label>
Password
<input id="password" type="password" />
</label>
<button type="submit">Save and log in</button>
</form>
<section class="about-plugin">
<h2>This Plugin</h2>
<p>This plugin will log links to a backend LinkLog server which will publish them on a website and potentially as
an entry
on a fediverse service or other locations, depending on the plugins configured.</p>
<p>Users of this plugin will need an account on a LinkLog server</p>
<h2>Privacy</h2>
<p>This plugin respects your privacy and does not collect any personal data beyond what is necessary to log links
to your LinkLog server.</p>
<p>The URL - after a best effort try to remove tracking parameters -, the title of the webpage, a possible
comment, and a timestamp of visit will be stored on the backend server, and will be made public in combination
with
the user's profile as registered on the backend server.
</p>
<h2>LinkLog Backend</h2>
<p>The backend URL is a selfhosted linklog application. See its <a
href="https://git.kolkman.org/olaf/Link-Log">repository</a> for its source.</p>
</section>
</main>
<footer class="extension-footer">Copyright © 2026 Olaf Kolkman · <a
href="https://git.kolkman.org/olaf/Link-Log">Repository</a></footer>
<script src="options.js"></script>
</body>
</html>