added Support for ntfy and apprise

This commit is contained in:
jschaufuss@leitwerk.de
2025-08-15 13:02:19 +02:00
parent 839fafdb33
commit 3ba0f3ddcb
13 changed files with 443 additions and 103 deletions

View File

@@ -18,13 +18,26 @@
{% endif %}
<div class="profile-section">
<h3>Email address</h3>
<h3>Notifications</h3>
<form method="post" class="profile-form compact-form">
{% csrf_token %}
<div class="form-row">
<label for="id_email">Email</label>
{{ form.email }}
</div>
<div class="form-row">
<label for="id_notification_channel">Channel</label>
{{ form.notification_channel }}
<div class="help">Email, ntfy, or Apprise</div>
</div>
<div class="form-row">
<label for="id_ntfy_topic">ntfy topic (optional)</label>
{{ form.ntfy_topic }}
</div>
<div class="form-row">
<label for="id_apprise_url">Apprise URL(s)</label>
{{ form.apprise_url }}
</div>
<button type="submit" class="btn-primary">Save</button>
</form>