{% extends 'layouts/vertical.html' %} {% load static i18n %} {% block title %}SweetAlert2{% endblock title %} {% block extra_css %} {% endblock extra_css %} {% block page_content %}
BasicDisplays a simple SweetAlert popup. |
|
TitleA popup with a title and supporting text. |
|
HTMLShows a popup with custom HTML content. |
|
All StatesExamples of SweetAlert in different alert states. |
|
Long ContentA popup with extended content for demonstration. |
|
With Confirm ButtonA confirmation dialog with an attached action. |
|
With Cancel ButtonIncludes cancel and confirm options with different actions. |
|
With Image Header (Logo)Custom popup with a logo or image header. |
|
Auto CloseDisplays a popup that closes automatically after a timeout. |
|
PositionShows the alert in different screen positions. |
|
With Custom Padding, BackgroundPopup with custom dimensions, padding, and background style. |
|
Ajax RequestDemonstrates an alert with an Ajax request. |