templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <title>{% block title %}GiftCard Ticket!{% endblock %}</title>
  7.     <link href="img/favicon.ico" rel="shortcut icon"/>
  8.     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
  9.           integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
  10.     <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.4.2/css/all.css">
  11.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  12.     {% block stylesheets %}
  13.     {% endblock %}
  14. </head>
  15. <body>
  16. {% include 'frontend/_header.html.twig' %}
  17. {% block body %}{% endblock %}
  18. {% include 'frontend/_footer.html.twig' %}
  19. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
  20.         integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
  21.         crossorigin="anonymous"></script>
  22. <script>
  23.     // Sélection du bouton de vérification par son ID
  24.     var boutonVerification = document.getElementById("verification_bouton");
  25.     // Ajout d'un écouteur d'événements pour détecter le clic sur le bouton
  26.     boutonVerification.addEventListener("click", function () {
  27.         // Redirection vers l'emplacement du formulaire
  28.         window.location.href = "#form_pcs"; // Utilisation de l'ID du formulaire pour la redirection
  29.     });
  30. </script>
  31.     {% block javascripts %}
  32.     {% endblock %}
  33. </body>
  34. </html>