var/cache/dev/twig/f7/f7d9f620cc23c3d31f12813939c6a577.php line 54

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. use Twig\TemplateWrapper;
  15. /* analytic/index.html.twig */
  16. class __TwigTemplate_c2f3956b6528201f8313e970207fc607 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "Layouts/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""analytic/index.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""analytic/index.html.twig"));
  44.         $this->parent $this->loadTemplate("Layouts/layout.html.twig""analytic/index.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield " Retabit Platform ";
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         yield from [];
  68.     }
  69.     // line 5
  70.     /**
  71.      * @return iterable<null|scalar|\Stringable>
  72.      */
  73.     public function block_content(array $context, array $blocks = []): iterable
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  80.         // line 6
  81.         yield "<div class=\"container\">
  82.     <div class=\"row align-items-center justify-content-center\">
  83.         <div class=\"col-12 px-5 pe-0\">
  84.             <div class=\"row align-items-center justify-content-start\">
  85.                 <div class=\"col-12 col-sm-6\">
  86.                     <h1 class=\"mb-3\">";
  87.         // line 13
  88.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Analiza el estado actual de los edificios residenciales de un municipio", [], "messages");
  89.         yield "</h1>
  90.                     <select id=\"municipio\" class=\"form-select-perso\" autocomplete=\"off\" placeholder=\"Selecciona municipio\">
  91.                         ";
  92.         // line 15
  93.         $context['_parent'] = $context;
  94.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["municipios"]) || array_key_exists("municipios"$context) ? $context["municipios"] : (function () { throw new RuntimeError('Variable "municipios" does not exist.'15$this->source); })()));
  95.         $context['loop'] = [
  96.           'parent' => $context['_parent'],
  97.           'index0' => 0,
  98.           'index'  => 1,
  99.           'first'  => true,
  100.         ];
  101.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  102.             $length count($context['_seq']);
  103.             $context['loop']['revindex0'] = $length 1;
  104.             $context['loop']['revindex'] = $length;
  105.             $context['loop']['length'] = $length;
  106.             $context['loop']['last'] = === $length;
  107.         }
  108.         foreach ($context['_seq'] as $context["_key"] => $context["muni"]) {
  109.             // line 16
  110.             yield "                            <option value=\"";
  111.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["muni"], "adminunit", [], "any"falsefalsefalse16), "html"nulltrue);
  112.             yield "\" 
  113.                                 ";
  114.             // line 17
  115.             if (CoreExtension::getAttribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse17)) {
  116.                 // line 18
  117.                 yield "                                selected
  118.                                 ";
  119.             }
  120.             // line 20
  121.             yield "                            >";
  122.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["muni"], "adminunitname", [], "any"falsefalsefalse20), "html"nulltrue);
  123.             yield "</option>
  124.                         ";
  125.             ++$context['loop']['index0'];
  126.             ++$context['loop']['index'];
  127.             $context['loop']['first'] = false;
  128.             if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  129.                 --$context['loop']['revindex0'];
  130.                 --$context['loop']['revindex'];
  131.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  132.             }
  133.         }
  134.         $_parent $context['_parent'];
  135.         unset($context['_seq'], $context['_key'], $context['muni'], $context['_parent'], $context['loop']);
  136.         $context array_intersect_key($context$_parent) + $_parent;
  137.         // line 22
  138.         yield "                    </select>
  139.                     <div class=\"mt-3\">
  140.                         <button class=\"btn btn-primary\" onclick=\"go()\">";
  141.         // line 24
  142.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Comienza", [], "messages");
  143.         yield "</button>
  144.                     </div>
  145.                     
  146.                 </div>
  147.                 <div class=\"col-12 col-sm-6\" style=\"contain: content;\">
  148.                     <img src=\"";
  149.         // line 29
  150.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/bk_descubre.jpg"), "html"nulltrue);
  151.         yield "\" alt=\"Retabit descubre\" class=\"float-end\">
  152.                 </div>
  153.             </div>
  154.         </div>
  155.     </div>
  156. </div>
  157. <div class=\"container-fluid bk_blue\">
  158.     <div class=\"container\">
  159.         <div class=\"row align-items-center justify-content-center\">
  160.             <div class=\"col-12 text-center p-5\">
  161.                 <h3 class=\"text-white mb-0\">";
  162.         // line 42
  163.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("RETABIT integra datos de diversas fuentes para analizar el parque residencial, considerando factores ambientales, socioeconómicos y urbanos que influyen en la rehabilitación sostenible de los edificios", [], "messages");
  164.         yield "</h3>
  165.             </div>
  166.         </div>
  167.     </div>
  168.     
  169. </div>
  170. <div class=\"container\">
  171.     <div class=\"row align-items-center justify-content-center\">
  172.         <div class=\"col-12 pe-5 p-5\">
  173.             <div class=\"row align-items-center justify-content-start\">
  174.                 <div class=\"col-12 mb-3\">
  175.                     <h3>";
  176.         // line 55
  177.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Análisis disponibles", [], "messages");
  178.         yield "</h3>
  179.                     <div class=\"row align-items-top justify-content-start\">
  180.                     ";
  181.         // line 57
  182.         $context['_parent'] = $context;
  183.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["analytic_filters"]) || array_key_exists("analytic_filters"$context) ? $context["analytic_filters"] : (function () { throw new RuntimeError('Variable "analytic_filters" does not exist.'57$this->source); })()));
  184.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  185.             // line 58
  186.             yield "                        <div class=\"col-4 mb-1 p-2 d-flex\">
  187.                             <div class=\"p-4 w-100 bk_box\">
  188.                                 <h5 class=\"fw-bold\">
  189.                                     ";
  190.             // line 61
  191.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'61$this->source); })()), "request", [], "any"falsefalsefalse61), "locale", [], "any"falsefalsefalse61) == "ca")) {
  192.                 // line 62
  193.                 yield "                                        ";
  194.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["item"], "name_ca", [], "any"falsefalsefalse62), "html"nulltrue);
  195.                 yield "
  196.                                     ";
  197.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 63
  198. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'63$this->source); })()), "request", [], "any"falsefalsefalse63), "locale", [], "any"falsefalsefalse63) == "en")) {
  199.                 // line 64
  200.                 yield "                                        ";
  201.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["item"], "name_en", [], "any"falsefalsefalse64), "html"nulltrue);
  202.                 yield "
  203.                                     ";
  204.             } else {
  205.                 // line 66
  206.                 yield "                                        ";
  207.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["item"], "name", [], "any"falsefalsefalse66), "html"nulltrue);
  208.                 yield "
  209.                                     ";
  210.             }
  211.             // line 67
  212.             yield "                                    
  213.                                 </h5>
  214.                                 <p> ";
  215.             // line 69
  216.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'69$this->source); })()), "request", [], "any"falsefalsefalse69), "locale", [], "any"falsefalsefalse69) == "ca")) {
  217.                 // line 70
  218.                 yield "                                        ";
  219.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["item"], "descripcion_ca", [], "any"falsefalsefalse70), "html"nulltrue);
  220.                 yield "
  221.                                     ";
  222.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 71
  223. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'71$this->source); })()), "request", [], "any"falsefalsefalse71), "locale", [], "any"falsefalsefalse71) == "en")) {
  224.                 // line 72
  225.                 yield "                                        ";
  226.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["item"], "descripcion_en", [], "any"falsefalsefalse72), "html"nulltrue);
  227.                 yield "
  228.                                     ";
  229.             } else {
  230.                 // line 74
  231.                 yield "                                        ";
  232.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["item"], "descripcion", [], "any"falsefalsefalse74), "html"nulltrue);
  233.                 yield "
  234.                                     ";
  235.             }
  236.             // line 76
  237.             yield "                                </p>
  238.                             </div>
  239.                         </div>
  240.                     ";
  241.         }
  242.         $_parent $context['_parent'];
  243.         unset($context['_seq'], $context['_key'], $context['item'], $context['_parent']);
  244.         $context array_intersect_key($context$_parent) + $_parent;
  245.         // line 80
  246.         yield "                    ";
  247.         // line 88
  248.         yield "                    </div>
  249.                 </div>
  250.             </div>
  251.         </div>
  252.         
  253.     </div>
  254. </div>
  255. <style>
  256. .ts-control::after{
  257.     content: '';
  258.     width: 30px;
  259.     height: 30px;
  260.     top: 10px;
  261.     right: 0px;
  262.     position: absolute;
  263.     display: inline-block;
  264.     background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");
  265.     background-size: 60%;
  266.     background-repeat: no-repeat;
  267. }
  268. .ts-dropdown-content{
  269.     max-height: 300px !important;
  270. }
  271. </style>
  272. <script src=\"";
  273.         // line 117
  274.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/fosjsrouting/js/router.min.js"), "html"nulltrue);
  275.         yield "\"></script>
  276. <script src=\"";
  277.         // line 118
  278.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  279.         yield "\"></script>
  280. <script type=\"text/javascript\">
  281.     let base_url = '";
  282.         // line 121
  283.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'121$this->source); })()), "html"nulltrue);
  284.         yield "';
  285.     ";
  286.         // line 123
  287.         yield "
  288.     new TomSelect('#municipio',{
  289.         plugins: ['dropdown_input'],
  290.     });
  291.     ";
  292.         // line 131
  293.         yield "
  294.     function go(){
  295.         let dato = document.getElementById(\"municipio\").value;
  296.         let dir =  window.location.href;
  297.         let url = base_url + '/explora/' + dato;
  298.         window.location.href = url;            
  299.     }
  300. </script>
  301. ";
  302.         
  303.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  304.         
  305.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  306.         yield from [];
  307.     }
  308.     /**
  309.      * @codeCoverageIgnore
  310.      */
  311.     public function getTemplateName(): string
  312.     {
  313.         return "analytic/index.html.twig";
  314.     }
  315.     /**
  316.      * @codeCoverageIgnore
  317.      */
  318.     public function isTraitable(): bool
  319.     {
  320.         return false;
  321.     }
  322.     /**
  323.      * @codeCoverageIgnore
  324.      */
  325.     public function getDebugInfo(): array
  326.     {
  327.         return array (  326 => 131,  319 => 123,  315 => 121,  309 => 118,  305 => 117,  274 => 88,  272 => 80,  263 => 76,  257 => 74,  251 => 72,  249 => 71,  244 => 70,  242 => 69,  238 => 67,  232 => 66,  226 => 64,  224 => 63,  219 => 62,  217 => 61,  212 => 58,  208 => 57,  203 => 55,  187 => 42,  171 => 29,  163 => 24,  159 => 22,  142 => 20,  138 => 18,  136 => 17,  131 => 16,  114 => 15,  109 => 13,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  328.     }
  329.     public function getSourceContext(): Source
  330.     {
  331.         return new Source("{% extends 'Layouts/layout.html.twig' %}
  332. {% block title %} Retabit Platform {% endblock %}
  333. {% block content %}
  334. <div class=\"container\">
  335.     <div class=\"row align-items-center justify-content-center\">
  336.         <div class=\"col-12 px-5 pe-0\">
  337.             <div class=\"row align-items-center justify-content-start\">
  338.                 <div class=\"col-12 col-sm-6\">
  339.                     <h1 class=\"mb-3\">{% trans %}Analiza el estado actual de los edificios residenciales de un municipio{% endtrans %}</h1>
  340.                     <select id=\"municipio\" class=\"form-select-perso\" autocomplete=\"off\" placeholder=\"Selecciona municipio\">
  341.                         {% for muni in municipios %}
  342.                             <option value=\"{{ muni.adminunit }}\" 
  343.                                 {% if loop.first %}
  344.                                 selected
  345.                                 {% endif %}
  346.                             >{{ muni.adminunitname }}</option>
  347.                         {% endfor %}
  348.                     </select>
  349.                     <div class=\"mt-3\">
  350.                         <button class=\"btn btn-primary\" onclick=\"go()\">{% trans %}Comienza{% endtrans %}</button>
  351.                     </div>
  352.                     
  353.                 </div>
  354.                 <div class=\"col-12 col-sm-6\" style=\"contain: content;\">
  355.                     <img src=\"{{ asset('img/bk_descubre.jpg') }}\" alt=\"Retabit descubre\" class=\"float-end\">
  356.                 </div>
  357.             </div>
  358.         </div>
  359.     </div>
  360. </div>
  361. <div class=\"container-fluid bk_blue\">
  362.     <div class=\"container\">
  363.         <div class=\"row align-items-center justify-content-center\">
  364.             <div class=\"col-12 text-center p-5\">
  365.                 <h3 class=\"text-white mb-0\">{% trans %}RETABIT integra datos de diversas fuentes para analizar el parque residencial, considerando factores ambientales, socioeconómicos y urbanos que influyen en la rehabilitación sostenible de los edificios{% endtrans %}</h3>
  366.             </div>
  367.         </div>
  368.     </div>
  369.     
  370. </div>
  371. <div class=\"container\">
  372.     <div class=\"row align-items-center justify-content-center\">
  373.         <div class=\"col-12 pe-5 p-5\">
  374.             <div class=\"row align-items-center justify-content-start\">
  375.                 <div class=\"col-12 mb-3\">
  376.                     <h3>{% trans %}Análisis disponibles{% endtrans %}</h3>
  377.                     <div class=\"row align-items-top justify-content-start\">
  378.                     {% for item in analytic_filters %}
  379.                         <div class=\"col-4 mb-1 p-2 d-flex\">
  380.                             <div class=\"p-4 w-100 bk_box\">
  381.                                 <h5 class=\"fw-bold\">
  382.                                     {% if app.request.locale == \"ca\" %}
  383.                                         {{ item.name_ca }}
  384.                                     {% elseif app.request.locale == \"en\" %}
  385.                                         {{ item.name_en }}
  386.                                     {% else %}
  387.                                         {{ item.name }}
  388.                                     {% endif %}                                    
  389.                                 </h5>
  390.                                 <p> {% if app.request.locale == \"ca\" %}
  391.                                         {{ item.descripcion_ca }}
  392.                                     {% elseif app.request.locale == \"en\" %}
  393.                                         {{ item.descripcion_en }}
  394.                                     {% else %}
  395.                                         {{ item.descripcion }}
  396.                                     {% endif %}
  397.                                 </p>
  398.                             </div>
  399.                         </div>
  400.                     {% endfor %}
  401.                     {# {% for item in kpismulti %}
  402.                         <div class=\"col-4 mb-1 p-1 d-flex \" >
  403.                             <div class=\"box one p-2 w-100\">
  404.                                 <h4>{{item.name|capitalize}}</h4>
  405.                                 <p>{{item.info}}</p>
  406.                             </div>
  407.                         </div>
  408.                     {% endfor %} #}
  409.                     </div>
  410.                 </div>
  411.             </div>
  412.         </div>
  413.         
  414.     </div>
  415. </div>
  416. <style>
  417. .ts-control::after{
  418.     content: '';
  419.     width: 30px;
  420.     height: 30px;
  421.     top: 10px;
  422.     right: 0px;
  423.     position: absolute;
  424.     display: inline-block;
  425.     background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");
  426.     background-size: 60%;
  427.     background-repeat: no-repeat;
  428. }
  429. .ts-dropdown-content{
  430.     max-height: 300px !important;
  431. }
  432. </style>
  433. <script src=\"{{ asset('bundles/fosjsrouting/js/router.min.js') }}\"></script>
  434. <script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
  435. <script type=\"text/javascript\">
  436.     let base_url = '{{base_url}}';
  437.     {# console.log(base_url); #}
  438.     new TomSelect('#municipio',{
  439.         plugins: ['dropdown_input'],
  440.     });
  441.     {# new TomSelect('#municipio_project',{
  442.         plugins: ['dropdown_input'],
  443.     }); #}
  444.     function go(){
  445.         let dato = document.getElementById(\"municipio\").value;
  446.         let dir =  window.location.href;
  447.         let url = base_url + '/explora/' + dato;
  448.         window.location.href = url;            
  449.     }
  450. </script>
  451. {% endblock %}
  452. ""analytic/index.html.twig""/mnt/www/retabit_platform/templates/analytic/index.html.twig");
  453.     }
  454. }