var/cache/dev/twig/a2/a246c39fcb339c0e6eeeefe4600ea922.php line 56

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* admin/coach/listCoaches.html.twig */
  15. class __TwigTemplate_c5f2e543f46d61e2d991299ea5fb487b extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'page_title' => [$this'block_page_title'],
  25.             'breadcump_main' => [$this'block_breadcump_main'],
  26.             'breadcump_subtitle' => [$this'block_breadcump_subtitle'],
  27.             'menu_left_sidebar' => [$this'block_menu_left_sidebar'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'title' => [$this'block_title'],
  30.             'content' => [$this'block_content'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 1
  37.         return "admin/baseAdmin.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/coach/listCoaches.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/coach/listCoaches.html.twig"));
  46.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/coach/listCoaches.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 2
  54.     public function block_page_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  61.         yield "Comptes Coaches";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.         return; yield '';
  67.     }
  68.     // line 3
  69.     public function block_breadcump_main($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  76.         yield "Coaches";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.         return; yield '';
  82.     }
  83.     // line 4
  84.     public function block_breadcump_subtitle($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  91.         yield "Liste des Coaches";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         return; yield '';
  97.     }
  98.     // line 5
  99.     public function block_menu_left_sidebar($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  106.         // line 6
  107.         yield "    ";
  108.         yield from         $this->loadTemplate("include/menu/menuAdmin.html.twig""admin/coach/listCoaches.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["menu_active_event" => "2"]));
  109.         
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.         return; yield '';
  114.     }
  115.     // line 8
  116.     public function block_stylesheets($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  123.         // line 9
  124.         yield "    <link href=\"";
  125.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/css/select2.min.css"), "html"nulltrue);
  126.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  127.     <link href=\"";
  128.         // line 10
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind.min.css"), "html"nulltrue);
  130.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  131.     <link href=\"";
  132.         // line 11
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind2.css"), "html"nulltrue);
  134.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  135. ";
  136.         
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  138.         
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  140.         return; yield '';
  141.     }
  142.     // line 14
  143.     public function block_title($context, array $blocks = [])
  144.     {
  145.         $macros $this->macros;
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  150.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Liste des coachs"), "html"nulltrue);
  151.         
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  153.         
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155.         return; yield '';
  156.     }
  157.     // line 15
  158.     public function block_content($context, array $blocks = [])
  159.     {
  160.         $macros $this->macros;
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  165.         // line 16
  166.         yield "    <div class=\"container-fluid px-0\">
  167.         <div class=\"card dark:bg-zink-700 \">
  168.             <div class=\"p-6\">
  169.                 <div class=\"grid grid-cols-12\">
  170.                     <div class=\"col-span-12\">
  171.                         <div class=\"md:flex justify-between space-y-2 md:space-y-0\">
  172.                             <div class=\"relative\">
  173.                                 <i class=\"bx bx-search-alt text-16 text-zink-600  dark:text-zink-200 absolute top-3 left-4 right-4 transform w-1/12\"></i>
  174.                                 <input class=\"border border-gray-400 focus:border focus:border-gray-400 focus:outline-none focus:ring-0 p-3 ps-5 pl-10 placeholder:text-[13px] placeholder:text-gray-600 py-2 rounded-full rtl:pr-10 text-gray-700 w-full\" type=\"search\" placeholder=\"Rechercher...\" id=\"example-search-input\">
  175.                             </div>
  176.                             <a href=\"";
  177.         // line 27
  178.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("add_coach");
  179.         yield "\"
  180.                                class=\"mb-3 text-13 px-4 rounded-full text-white  bg-orange-500 border-transparent btn hover:bg-green-600\" style=\"background: #ffaa00;\"><i class=\"bx bx-plusme-1\"></i>Ajouter nouveau coach</a>
  181.                         </div>
  182.                         <div class=\"my-6 overflow-x-auto\">
  183.                             <table class=\"table w-full datatable dt-responsive nowrap whitespace-nowrap border-spacing-y-1.5 border-collapse text-gray-800 \" id=\"cards-container\">
  184.                                 <thead>
  185.                                     <tr class=\"bg-gray-50 dark:bg-zink-50 dark:text-zink-200 \">
  186.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">#</th>
  187.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">Coach</th>
  188.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">Category</th>
  189.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">Pays de rĂ©sidence</th>
  190.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\" style=\"width: 120px;\">Action</th>
  191.                                     </tr>
  192.                                 </thead>
  193.                                 <tbody>
  194.                                     ";
  195.         // line 43
  196.         $context['_parent'] = $context;
  197.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["coaches"]) || array_key_exists("coaches"$context) ? $context["coaches"] : (function () { throw new RuntimeError('Variable "coaches" does not exist.'43$this->source); })()));
  198.         foreach ($context['_seq'] as $context["_key"] => $context["coach"]) {
  199.             // line 44
  200.             yield "                                        <tr class=\"bg-white border-b border-gray-300 dark:bg-transparent dark:border-zink-50\">
  201.                                             <td class=\"p-3\">
  202.                                                 <div class=\"w-24 h-16 bg-gray-50 dark:bg-zink-50 rounded p-1\">
  203.                                                     <img class=\"h-full w-full object-cover\" src=\"";
  204.             // line 47
  205.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("" CoreExtension::getAttribute($this->env$this->source$context["coach"], "image", [], "any"falsefalsefalse47))), "html"nulltrue);
  206.             yield "\" alt=\"\">
  207.                                                 </div>
  208.                                             </td>
  209.                                             <th scope=\"row\" class=\"p-3 text-13 ltr:text-left rtl:text-right font-normal  whitespace-nowrap text-gray-600 dark:text-zink-200\">
  210.                                                 <p class=\"text-[14px] font-medium mb-1 text-gray-800 dark:text-white name\">";
  211.             // line 51
  212.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coach"], "FirstName", [], "any"falsefalsefalse51), "html"nulltrue);
  213.             yield " ";
  214.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coach"], "LastName", [], "any"falsefalsefalse51), "html"nulltrue);
  215.             yield "</p>
  216.                                                 <p></p>
  217.                                             </th>
  218.                                             <th scope=\"row\" class=\"p-3 text-13 ltr:text-left rtl:text-right font-normal  whitespace-nowrap text-gray-600 dark:text-zink-200\">
  219.                                                 <p>15 </p>
  220.                                             </th>
  221.                                             <td class=\"p-3 country\">
  222.                                                 <p>";
  223.             // line 59
  224.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coach"], "country", [], "any"falsefalsefalse59), "html"nulltrue);
  225.             yield " </p>
  226.                                             </td>
  227.                                             <td class=\"p-3 ltr:text-left rtl:text-right\">
  228.                                                 <div class=\"relative dropdown\">
  229.                                                     <button class=\"p-0 text-gray-700 border-0 btn dropdown-toggle dark:text-zink-200 \" type=\"button\" data-bs-toggle=\"dropdown\" id=\"dropdownMenuButton1\">
  230.                                                         <i class=\"bx bx-dots-horizontal font-medium text-15\"></i>
  231.                                                     </button>
  232.                                                     <ul class=\"absolute right-0 left-auto top-auto z-20 hidden w-44 py-1.5 text-left list-none bg-white border border-transparent rounded shadow-lg dropdown-menu bg-clip-padding dark:bg-zink-700 dark:border-zink-50 dark:text-zink-200\" aria-labelledby=\"dropdownMenuButton1\">
  233.                                                         <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"";
  234.             // line 68
  235.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edit_coach", ["id" => CoreExtension::getAttribute($this->env$this->source$context["coach"], "id", [], "any"falsefalsefalse68)]), "html"nulltrue);
  236.             yield "\"><i class=\"bx bx-pencil text-16 text-green-500 me-2 \"></i> Edit</a>
  237.                                                         </li>
  238.                                                         <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-lock-alt text-16 text-gray-500 me-2\"></i>Securite</a>
  239.                                                         </li>
  240.                                                         <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-trash-alt text-16 text-red-500 me-2\"></i>Remove</a>
  241.                                                         </li>
  242.                                                     </ul>
  243.                                                 </div>
  244.                                             </td>
  245.                                         </tr>
  246.                                     ";
  247.         }
  248.         $_parent $context['_parent'];
  249.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['coach'], $context['_parent'], $context['loop']);
  250.         $context array_intersect_key($context$_parent) + $_parent;
  251.         // line 80
  252.         yield "                                </tbody>
  253.                             </table>
  254.                         </div>
  255.                         <!-- end table -->
  256.                     </div>
  257.                     <div class=\"col-span-12\">
  258.                         <div class=\"flex justify-between items-center\">
  259.                             <p class=\"text-13\">Showing 1 to 7 of 7 entries</p>
  260.                             <ul class=\"flex space-x-4 rtl:space-x-reverse items-center\">
  261.                                 <li class=\"cursor-pointer\"><i class=\"bx bx-chevron-left text-gray-700 text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  262.                                 <li class=\"cursor-pointer flex h-8 items-center justify-center rounded-full text-white w-8\" style=\"background: #ffaa00; \">1</li>
  263.                                 <li class=\"cursor-pointer\"><i class=\"bx bx-chevron-right text-gray-700 text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  264.                             </ul>
  265.                         </div>
  266.                     </div>
  267.                 </div>
  268.                 <!-- end grid -->
  269.             </div>
  270.         </div>
  271.     </div>
  272.     <!-- container-fluid -->
  273.     <!-- End main -->
  274. ";
  275.         
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  277.         
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  279.         return; yield '';
  280.     }
  281.     // line 107
  282.     public function block_javascripts($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  289.         // line 108
  290.         yield "
  291.     <script src=\"";
  292.         // line 109
  293.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  294.         yield "\"></script>
  295. ";
  296.         
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  298.         
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  300.         return; yield '';
  301.     }
  302.     /**
  303.      * @codeCoverageIgnore
  304.      */
  305.     public function getTemplateName()
  306.     {
  307.         return "admin/coach/listCoaches.html.twig";
  308.     }
  309.     /**
  310.      * @codeCoverageIgnore
  311.      */
  312.     public function isTraitable()
  313.     {
  314.         return false;
  315.     }
  316.     /**
  317.      * @codeCoverageIgnore
  318.      */
  319.     public function getDebugInfo()
  320.     {
  321.         return array (  352 => 109,  349 => 108,  339 => 107,  302 => 80,  284 => 68,  272 => 59,  259 => 51,  252 => 47,  247 => 44,  243 => 43,  224 => 27,  211 => 16,  201 => 15,  181 => 14,  167 => 11,  163 => 10,  158 => 9,  148 => 8,  136 => 6,  126 => 5,  106 => 4,  86 => 3,  66 => 2,  43 => 1,);
  322.     }
  323.     public function getSourceContext()
  324.     {
  325.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  326. {% block page_title %}Comptes Coaches{% endblock %}
  327. {% block breadcump_main %}Coaches{% endblock %}
  328. {% block breadcump_subtitle %}Liste des Coaches{% endblock %}
  329. {% block menu_left_sidebar %}
  330.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
  331. {% endblock %}
  332. {% block stylesheets %}
  333.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  334.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  335.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  336. {% endblock %}
  337. {% block title %}{{\"Liste des coachs\"|trans }}{% endblock %} 
  338. {% block content %}
  339.     <div class=\"container-fluid px-0\">
  340.         <div class=\"card dark:bg-zink-700 \">
  341.             <div class=\"p-6\">
  342.                 <div class=\"grid grid-cols-12\">
  343.                     <div class=\"col-span-12\">
  344.                         <div class=\"md:flex justify-between space-y-2 md:space-y-0\">
  345.                             <div class=\"relative\">
  346.                                 <i class=\"bx bx-search-alt text-16 text-zink-600  dark:text-zink-200 absolute top-3 left-4 right-4 transform w-1/12\"></i>
  347.                                 <input class=\"border border-gray-400 focus:border focus:border-gray-400 focus:outline-none focus:ring-0 p-3 ps-5 pl-10 placeholder:text-[13px] placeholder:text-gray-600 py-2 rounded-full rtl:pr-10 text-gray-700 w-full\" type=\"search\" placeholder=\"Rechercher...\" id=\"example-search-input\">
  348.                             </div>
  349.                             <a href=\"{{ path('add_coach') }}\"
  350.                                class=\"mb-3 text-13 px-4 rounded-full text-white  bg-orange-500 border-transparent btn hover:bg-green-600\" style=\"background: #ffaa00;\"><i class=\"bx bx-plusme-1\"></i>Ajouter nouveau coach</a>
  351.                         </div>
  352.                         <div class=\"my-6 overflow-x-auto\">
  353.                             <table class=\"table w-full datatable dt-responsive nowrap whitespace-nowrap border-spacing-y-1.5 border-collapse text-gray-800 \" id=\"cards-container\">
  354.                                 <thead>
  355.                                     <tr class=\"bg-gray-50 dark:bg-zink-50 dark:text-zink-200 \">
  356.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">#</th>
  357.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">Coach</th>
  358.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">Category</th>
  359.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\">Pays de rĂ©sidence</th>
  360.                                         <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\" style=\"width: 120px;\">Action</th>
  361.                                     </tr>
  362.                                 </thead>
  363.                                 <tbody>
  364.                                     {% for coach in coaches %}
  365.                                         <tr class=\"bg-white border-b border-gray-300 dark:bg-transparent dark:border-zink-50\">
  366.                                             <td class=\"p-3\">
  367.                                                 <div class=\"w-24 h-16 bg-gray-50 dark:bg-zink-50 rounded p-1\">
  368.                                                     <img class=\"h-full w-full object-cover\" src=\"{{ asset(''~coach.image) }}\" alt=\"\">
  369.                                                 </div>
  370.                                             </td>
  371.                                             <th scope=\"row\" class=\"p-3 text-13 ltr:text-left rtl:text-right font-normal  whitespace-nowrap text-gray-600 dark:text-zink-200\">
  372.                                                 <p class=\"text-[14px] font-medium mb-1 text-gray-800 dark:text-white name\">{{ coach.FirstName }} {{ coach.LastName }}</p>
  373.                                                 <p></p>
  374.                                             </th>
  375.                                             <th scope=\"row\" class=\"p-3 text-13 ltr:text-left rtl:text-right font-normal  whitespace-nowrap text-gray-600 dark:text-zink-200\">
  376.                                                 <p>15 </p>
  377.                                             </th>
  378.                                             <td class=\"p-3 country\">
  379.                                                 <p>{{ coach.country }} </p>
  380.                                             </td>
  381.                                             <td class=\"p-3 ltr:text-left rtl:text-right\">
  382.                                                 <div class=\"relative dropdown\">
  383.                                                     <button class=\"p-0 text-gray-700 border-0 btn dropdown-toggle dark:text-zink-200 \" type=\"button\" data-bs-toggle=\"dropdown\" id=\"dropdownMenuButton1\">
  384.                                                         <i class=\"bx bx-dots-horizontal font-medium text-15\"></i>
  385.                                                     </button>
  386.                                                     <ul class=\"absolute right-0 left-auto top-auto z-20 hidden w-44 py-1.5 text-left list-none bg-white border border-transparent rounded shadow-lg dropdown-menu bg-clip-padding dark:bg-zink-700 dark:border-zink-50 dark:text-zink-200\" aria-labelledby=\"dropdownMenuButton1\">
  387.                                                         <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"{{ path('edit_coach', {'id':coach.id}) }}\"><i class=\"bx bx-pencil text-16 text-green-500 me-2 \"></i> Edit</a>
  388.                                                         </li>
  389.                                                         <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-lock-alt text-16 text-gray-500 me-2\"></i>Securite</a>
  390.                                                         </li>
  391.                                                         <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-trash-alt text-16 text-red-500 me-2\"></i>Remove</a>
  392.                                                         </li>
  393.                                                     </ul>
  394.                                                 </div>
  395.                                             </td>
  396.                                         </tr>
  397.                                     {% endfor %}
  398.                                 </tbody>
  399.                             </table>
  400.                         </div>
  401.                         <!-- end table -->
  402.                     </div>
  403.                     <div class=\"col-span-12\">
  404.                         <div class=\"flex justify-between items-center\">
  405.                             <p class=\"text-13\">Showing 1 to 7 of 7 entries</p>
  406.                             <ul class=\"flex space-x-4 rtl:space-x-reverse items-center\">
  407.                                 <li class=\"cursor-pointer\"><i class=\"bx bx-chevron-left text-gray-700 text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  408.                                 <li class=\"cursor-pointer flex h-8 items-center justify-center rounded-full text-white w-8\" style=\"background: #ffaa00; \">1</li>
  409.                                 <li class=\"cursor-pointer\"><i class=\"bx bx-chevron-right text-gray-700 text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  410.                             </ul>
  411.                         </div>
  412.                     </div>
  413.                 </div>
  414.                 <!-- end grid -->
  415.             </div>
  416.         </div>
  417.     </div>
  418.     <!-- container-fluid -->
  419.     <!-- End main -->
  420. {% endblock %}
  421. {% block javascripts %}
  422.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  423. {% endblock %}""admin/coach/listCoaches.html.twig""/home/bookoachroot/public_html/templates/admin/coach/listCoaches.html.twig");
  424.     }
  425. }