bc7523b74521acR16">16
<link href="{% static "font-awesome/css/font-awesome.css" %}" rel="stylesheet" />
<script type="text/javascript" defer src="{% static "alpinejs/dist/cdn.min.js" %}"></script>
<link href="https://cdn.jsdelivr.net/npm/flowbite@2.5.2/dist/flowbite.min.css" rel="stylesheet" />
+ <script type="text/javascript" src="{% static "axios/dist/axios.js" %}"></script>
<script type="text/javascript" src="{% static "js/main.js" %}"></script>
</head>
<body class="bg-gray-100 text-gray-800">
@@ -144,14 +145,16 @@
{% django_browser_reload_script %}
<script>
- // Auto-hide the message after 5 seconds
- setTimeout(() => {
+ // Auto-hide the message after 5 seconds
+ setTimeout(() => {
const alert = document.getElementById('message-alert');
if (alert) {
- alert.style.opacity = '0'; // Fade out
- setTimeout(() => alert.remove(), 500); // Remove after fade-out
+ alert.style.opacity = '0'; // Fade out
+ setTimeout(() => alert.remove(), 500); // Remove after fade-out
}
- }, 5000); // 5 seconds
-</script>
+ }, 5000); // 5 seconds
+ </script>
+ {% block footer_script %}
+ {% endblock %}
</body>
</html>