var/cache/dev/twig/01/01d86dcb4f83b9132254215382339639.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/country/listCountries.html.twig */
  15. class __TwigTemplate_fbb5d99125a18814f338e5c765906eb4 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/country/listCountries.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/country/listCountries.html.twig"));
  46.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/country/listCountries.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 "Listes des Pays";
  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 "Pays";
  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 Pays";
  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/country/listCountries.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 pays"), "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-3 sm: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
  175.                                     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\"
  176.                                     type=\"search\" placeholder=\"Rechercher par titre , category...\" id=\"search-input\">
  177.                             </div>
  178.                             <a href=\"";
  179.         // line 29
  180.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("add_country");
  181.         yield "\"
  182.                                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 pays</a>
  183.                         </div>
  184.                         <div class=\"my-6 overflow-x-auto\">
  185.                             <div id=\"cards-container\" class=\"grid grid-cols-2 gap-6 mb-5 mx-1 \">
  186.                                 ";
  187.         // line 35
  188.         $context['_parent'] = $context;
  189.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["countries"]) || array_key_exists("countries"$context) ? $context["countries"] : (function () { throw new RuntimeError('Variable "countries" does not exist.'35$this->source); })()));
  190.         foreach ($context['_seq'] as $context["_key"] => $context["country"]) {
  191.             // line 36
  192.             yield "                                    <div class=\"mb-0 border rounded-lg dark:bg-zink-700\">
  193.                                         <div class=\"card-body\">
  194.                                             <div class=\"grid items-start grid-cols-12\">
  195.                                                 <div class=\"mr-2 shrink-0 col-span-4 text-center\">
  196.                                                     <div>
  197.                                                         <span class=\"flex mx-auto items-center justify-center  overflow-hidden h-32 w-full font-medium text-blue-500 rounded-xl text-16 bg-blue-500/20 mt-1\">
  198.                                                             <img src=\"";
  199.             // line 42
  200.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("" CoreExtension::getAttribute($this->env$this->source$context["country"], "image", [], "any"falsefalsefalse42))), "html"nulltrue);
  201.             yield "\" class=\"w-full h-full object-cover\" alt=\"\">
  202.                                                         </span>
  203.                                                     </div>
  204.                                                 </div>
  205.                                                 <div class=\" grow col-span-8 \">
  206.                                                     <div class=\"title-sejour\">
  207.                                                         <h2 class=\"font-medium text-16 mt-2\">";
  208.             // line 50
  209.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["country"], "name", [], "any"falsefalsefalse50), "html"nulltrue);
  210.             yield "</h2>
  211.                                                         <p>ID : #";
  212.             // line 51
  213.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["country"], "id", [], "any"falsefalsefalse51), "html"nulltrue);
  214.             yield "</p>
  215.                                                     </div>
  216.                                                 </div>
  217.                                                 <div class=\"col-span-12 flex justify-end mt-3 text-xs w-full\">
  218.                                                     <a href=\"";
  219.             // line 58
  220.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edit_country", ["id" => CoreExtension::getAttribute($this->env$this->source$context["country"], "id", [], "any"falsefalsefalse58)]), "html"nulltrue);
  221.             yield "\" class=\" text-blue-500   font-medium dark:text-white cursor-pointer\">Modifier</a>
  222.                                                     <p class=\" text-blue-500 mx-3  font-medium dark:text-white cursor-pointer\">Destinations</p>
  223.                                                     <p class=\"text-blue-500  font-medium dark:text-white cursor-pointer\"> Appearances</p>
  224.                                                     ";
  225.             // line 62
  226.             yield "
  227.                                                 </div>
  228.                                             </div>
  229.                                         </div>
  230.                                     </div>
  231.                                 ";
  232.         }
  233.         $_parent $context['_parent'];
  234.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['country'], $context['_parent'], $context['loop']);
  235.         $context array_intersect_key($context$_parent) + $_parent;
  236.         // line 69
  237.         yield "
  238.                             </div>
  239.                         </div>
  240.                         <!-- end table -->
  241.                     </div>
  242.                     <div class=\"col-span-12\">
  243.                         <div class=\"flex justify-between items-center\">
  244.                             <p class=\"text-13\">Showing 1 to 7 of 7 entries</p>
  245.                             <ul class=\" flex items-center justify-between\">
  246.                                 <li class=\"cursor-pointer flex h-8 items-center justify-center rounded-full text-white w-8\"style=\";border:1px solid #ffaa00; \"><i style=\"color:#ffaa00\" class=\"bx bx-chevron-left  text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  247.                                 <li class=\"cursor-pointer mx-1 flex h-8 items-center justify-center rounded-full text-white w-8\" style=\"background: #ffaa00; \">1</li>
  248.                                 <li class=\"cursor-pointer mx-1 flex h-8 items-center justify-center rounded-full text-orange-light w-8\" style=\"border: 1px solid #ffaa00; \">2</li>
  249.                                 <li class=\"cursor-pointer mx-1 flex h-8 items-center justify-center rounded-full text-orange-light w-8\" style=\"border: 1px solid #ffaa00; \">3</li>
  250.                                 <li class=\"cursor-pointer flex h-8 items-center justify-center rounded-full text-white w-8\"style=\";border:1px solid #ffaa00; \"><i style=\"color:#ffaa00\" class=\"bx bx-chevron-right  text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  251.                             </ul>
  252.                         </div>
  253.                     </div>
  254.                 </div>
  255.                 <!-- end grid -->
  256.             </div>
  257.         </div>
  258.     </div>
  259.     <!-- container-fluid -->
  260.     <!-- End main -->
  261. ";
  262.         
  263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  264.         
  265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  266.         return; yield '';
  267.     }
  268.     // line 99
  269.     public function block_javascripts($context, array $blocks = [])
  270.     {
  271.         $macros $this->macros;
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  276.         // line 100
  277.         yield "
  278.     <script src=\"";
  279.         // line 101
  280.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  281.         yield "\"></script>
  282. ";
  283.         
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  285.         
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  287.         return; yield '';
  288.     }
  289.     /**
  290.      * @codeCoverageIgnore
  291.      */
  292.     public function getTemplateName()
  293.     {
  294.         return "admin/country/listCountries.html.twig";
  295.     }
  296.     /**
  297.      * @codeCoverageIgnore
  298.      */
  299.     public function isTraitable()
  300.     {
  301.         return false;
  302.     }
  303.     /**
  304.      * @codeCoverageIgnore
  305.      */
  306.     public function getDebugInfo()
  307.     {
  308.         return array (  343 => 101,  340 => 100,  330 => 99,  290 => 69,  278 => 62,  272 => 58,  262 => 51,  258 => 50,  247 => 42,  239 => 36,  235 => 35,  226 => 29,  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,);
  309.     }
  310.     public function getSourceContext()
  311.     {
  312.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  313. {% block page_title %}Listes des Pays{% endblock %}
  314. {% block breadcump_main %}Pays{% endblock %}
  315. {% block breadcump_subtitle %}Liste des Pays{% endblock %}
  316. {% block menu_left_sidebar %}
  317.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
  318. {% endblock %}
  319. {% block stylesheets %}
  320.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  321.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  322.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  323. {% endblock %}
  324. {% block title %}{{\"Liste des pays\"|trans }}{% endblock %} 
  325. {% block content %}
  326.     <div class=\"container-fluid px-0\">
  327.         <div class=\"card dark:bg-zink-700 \">
  328.             <div class=\" p-3 sm:p-6\">
  329.                 <div class=\"grid grid-cols-12\">
  330.                     <div class=\"col-span-12\">
  331.                         <div class=\"md:flex justify-between space-y-2 md:space-y-0\">
  332.                             <div class=\"relative\">
  333.                                 <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>
  334.                                 <input
  335.                                     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\"
  336.                                     type=\"search\" placeholder=\"Rechercher par titre , category...\" id=\"search-input\">
  337.                             </div>
  338.                             <a href=\"{{ path('add_country') }}\"
  339.                                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 pays</a>
  340.                         </div>
  341.                         <div class=\"my-6 overflow-x-auto\">
  342.                             <div id=\"cards-container\" class=\"grid grid-cols-2 gap-6 mb-5 mx-1 \">
  343.                                 {% for country in   countries %}
  344.                                     <div class=\"mb-0 border rounded-lg dark:bg-zink-700\">
  345.                                         <div class=\"card-body\">
  346.                                             <div class=\"grid items-start grid-cols-12\">
  347.                                                 <div class=\"mr-2 shrink-0 col-span-4 text-center\">
  348.                                                     <div>
  349.                                                         <span class=\"flex mx-auto items-center justify-center  overflow-hidden h-32 w-full font-medium text-blue-500 rounded-xl text-16 bg-blue-500/20 mt-1\">
  350.                                                             <img src=\"{{asset(''~country.image)}}\" class=\"w-full h-full object-cover\" alt=\"\">
  351.                                                         </span>
  352.                                                     </div>
  353.                                                 </div>
  354.                                                 <div class=\" grow col-span-8 \">
  355.                                                     <div class=\"title-sejour\">
  356.                                                         <h2 class=\"font-medium text-16 mt-2\">{{ country.name }}</h2>
  357.                                                         <p>ID : #{{ country.id }}</p>
  358.                                                     </div>
  359.                                                 </div>
  360.                                                 <div class=\"col-span-12 flex justify-end mt-3 text-xs w-full\">
  361.                                                     <a href=\"{{ path('edit_country',{'id':country.id}) }}\" class=\" text-blue-500   font-medium dark:text-white cursor-pointer\">Modifier</a>
  362.                                                     <p class=\" text-blue-500 mx-3  font-medium dark:text-white cursor-pointer\">Destinations</p>
  363.                                                     <p class=\"text-blue-500  font-medium dark:text-white cursor-pointer\"> Appearances</p>
  364.                                                     {#                                                            <p class=\"text-blue-500  font-medium dark:text-white cursor-pointer\"> Experiences</p>#}
  365.                                                 </div>
  366.                                             </div>
  367.                                         </div>
  368.                                     </div>
  369.                                 {% endfor %}
  370.                             </div>
  371.                         </div>
  372.                         <!-- end table -->
  373.                     </div>
  374.                     <div class=\"col-span-12\">
  375.                         <div class=\"flex justify-between items-center\">
  376.                             <p class=\"text-13\">Showing 1 to 7 of 7 entries</p>
  377.                             <ul class=\" flex items-center justify-between\">
  378.                                 <li class=\"cursor-pointer flex h-8 items-center justify-center rounded-full text-white w-8\"style=\";border:1px solid #ffaa00; \"><i style=\"color:#ffaa00\" class=\"bx bx-chevron-left  text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  379.                                 <li class=\"cursor-pointer mx-1 flex h-8 items-center justify-center rounded-full text-white w-8\" style=\"background: #ffaa00; \">1</li>
  380.                                 <li class=\"cursor-pointer mx-1 flex h-8 items-center justify-center rounded-full text-orange-light w-8\" style=\"border: 1px solid #ffaa00; \">2</li>
  381.                                 <li class=\"cursor-pointer mx-1 flex h-8 items-center justify-center rounded-full text-orange-light w-8\" style=\"border: 1px solid #ffaa00; \">3</li>
  382.                                 <li class=\"cursor-pointer flex h-8 items-center justify-center rounded-full text-white w-8\"style=\";border:1px solid #ffaa00; \"><i style=\"color:#ffaa00\" class=\"bx bx-chevron-right  text-16 dark:text-zink-200 rtl:rotate-180 block\"></i></li>
  383.                             </ul>
  384.                         </div>
  385.                     </div>
  386.                 </div>
  387.                 <!-- end grid -->
  388.             </div>
  389.         </div>
  390.     </div>
  391.     <!-- container-fluid -->
  392.     <!-- End main -->
  393. {% endblock %}
  394. {% block javascripts %}
  395.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  396. {% endblock %}""admin/country/listCountries.html.twig""/home/bookoachroot/public_html/templates/admin/country/listCountries.html.twig");
  397.     }
  398. }