{% extends 'base.html' %} {# Sweet Alerts — faithful re-expression of src/html/pages/sweet-alerts.html: a gallery of status dialogs (success/error/warning/info), confirmations (with a simulated async), prompt/input alerts and corner toasts. Pure Alpine — uses the runtime-registered axModal() component + $toast magic, no page script. Reference hrefs converted to clean Django routes. #} {% block main %}

Sweet Alerts

A gallery of status dialogs — success, error, warning, confirm, prompt and a stack of corner toasts. Pure Alpine, no library.

Status

Status alerts

A coloured status glyph, a title and a short message — one button to dismiss.

Confirm

Confirmations

Two-button decisions — destructive actions get a danger primary and a result toast.

Prompt

Input alerts

Collect a value inside the dialog — text or a single choice. Submit is simulated.

Toast

Corner toasts

Lightweight, auto-dismissing notifications that stack in the corner — fired through the global toast store.

{% endblock %}