feat: 🎨 Create beautifull dialog

This commit is contained in:
2024-06-29 23:22:04 +02:00
parent 7d507e7c46
commit ce0a9573d9
4 changed files with 38 additions and 6 deletions

View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fête de la musique</title>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
{{ bootstrap.load_css() }}
</head>
<body>
<div>
<div>
<script>
Swal.fire({
title:"{{ response }}",
text: "{{ comment }}",
icon: "{{ type }}",
confirmButtonText: "Add another track",
}).then(function() {
window.location = "/";
})
</script>
</div>
</div>
</body>
</html>