v0.6.0: form limits, callback expiry, dashboard filter, payment ref, STEMS interest, helper refactor
This commit is contained in:
parent
0bfe8c315c
commit
0a01381d44
9 changed files with 603 additions and 497 deletions
|
|
@ -291,6 +291,17 @@
|
|||
{% if not hermes_key_set %}
|
||||
<p class="status-bad">⚠️ No Hermes API key is configured. Set the HERMES_API_KEY environment variable in Portainer before using the callback workflow.</p>
|
||||
{% endif %}
|
||||
|
||||
<hr style="border:none;border-top:1px solid var(--border);margin:1.5rem 0;">
|
||||
|
||||
<h3>Callback Link Expiry</h3>
|
||||
<p class="copy-hint">How long the signed Hermes callback URL stays valid (in hours). Default is 168 hours (7 days).</p>
|
||||
<form method="POST">
|
||||
<input type="hidden" name="action" value="save_callback_expiry">
|
||||
<label for="callback_expiry_hours">Callback expiry (hours)</label>
|
||||
<input type="number" id="callback_expiry_hours" name="callback_expiry_hours" value="{{ current_callback_expiry_hours }}" min="1">
|
||||
<button type="submit">Save Callback Expiry</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- ntfy push notifications -->
|
||||
|
|
|
|||
Reference in a new issue