email in admin
Build LinkLog Development Image / development-image (push) Successful in 9s

This commit is contained in:
2026-08-26 12:38:38 +02:00
parent 158bc64268
commit fec4c8def5
7 changed files with 337 additions and 16 deletions
+32
View File
@@ -72,6 +72,38 @@
<h2>Labels</h2>
<div id="admin-label-list" class="plugin-list" aria-live="polite">Loading labels...</div>
</section>
<section class="link-item settings-panel">
<h2>SMTP settings</h2>
<form id="smtp-form">
<label>
SMTP host
<input name="smtp_host" type="text" required />
</label>
<label>
SMTP port
<input name="smtp_port" type="number" min="1" max="65535" required />
</label>
<label>
SMTP username
<input name="smtp_username" type="text" autocomplete="off" />
</label>
<label>
SMTP password
<input name="smtp_password" type="password" autocomplete="new-password" />
</label>
<label>
From address
<input name="smtp_from" type="text" required />
</label>
<label class="checkbox-label">
<input name="smtp_use_tls" type="checkbox" /> Use STARTTLS
</label>
<button id="smtp-test-button" type="button">Send validation email</button>
<p id="smtp-status" class="status" role="status"></p>
<button type="submit">Save SMTP settings</button>
</form>
</section>
</div>
</main>
<footer class="site-footer">Copyright © 2026 Olaf Kolkman · <a href="https://git.kolkman.org/olaf/Link-Log">git.kolkman.org/LinkLog</a></footer>