var/cache/dev/twig/d1/d17dec6e160d99c83bbf6b1e1d770332363b878729cdb63560df767792dbfa6c.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* index.html.twig */
  14. class __TwigTemplate_820f4bcbd1060761ee144727d28980e14444b6d30a4248d548c0a8dc782fb27d extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""index.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_stylesheets($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  55.         // line 4
  56.         echo "<style>
  57. .counter-sec{
  58.   padding: 80px 0;
  59.   width: 100%;
  60.   background: #131416;
  61.   position: absolute;
  62.   top: 50%;
  63.   width: 100%;
  64.   transform: translateY(-50%);
  65. }
  66. .num{
  67.   font-size: 40px;
  68.   margin: 20px 0;
  69. }
  70. .box{
  71.   flex: 1;
  72.   text-align: center;
  73.   padding: 20px;
  74.   color: #000;
  75.   text-transform: uppercase;
  76. }
  77. .box i{
  78.   font-size: 40px;
  79.   color: #333;
  80. }
  81. </style>
  82. ";
  83.         
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  85.         
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  87.     }
  88.     // line 31
  89.     public function block_body($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  96.         // line 32
  97.         $context['_parent'] = $context;
  98.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'32$this->source); })()), "flashes", ["success"], "method"falsefalsefalse32));
  99.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  100.             // line 33
  101.             echo "    <div class=\"alert alert-success\">
  102.         ";
  103.             // line 34
  104.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  105.             echo "
  106.     </div>
  107. ";
  108.         }
  109.         $_parent $context['_parent'];
  110.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  111.         $context array_intersect_key($context$_parent) + $_parent;
  112.         // line 37
  113.         echo "\t<div class=\"row\" style=\"background-color:white\">
  114.         <div class=\"col-lg-4\"><img src=\"";
  115.         // line 38
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo-eurcaw.jpg"), "html"nulltrue);
  117.         echo "\" style=\"width:100%\"></div>
  118.         <div class=\"col-lg-8\" style=\"padding-right:50px;\">
  119.         <center><h2>EURCAW -<i> Ruminants & Equines</i></h2></center>
  120.             <p style=\"text-align:justify\">Welcome to the database of experts listed for the European Reference Centre for Animal Welfare - Ruminants and Equines !<br /><br />
  121. The centre is mandated by the European Commission and is co-led by SLU (coordinator), UCD, BOKU, ELGO-VRI, INRAE and IZSAM.<br /><br />
  122. You can only register if the administrators have previously added your email to the database. Once your account is created (“Login” > “Create an account”), please log in and then modify your personal information and your skills/expertise in your profile (“<i class=\"fa fa-user\"></i> My account” in the  menu). Don’t forget to save your changes.<br /><br />
  123. We encourage you to be as precise as possible when describing your skills/expertise per species. Please use the “All species” category as a last resort. “General skills” independent of the species are listed separately.<br /><br />
  124. You can update your information at any time by logging into your account. Reminders to update it will be sent from time to time (maximum once a year).<br /><br />
  125. The data are stored by INRAE (French National Institute for Research on Food, Agriculture and the Environment). The information will only be used for the purposes of EURCAW-<i> Ruminants & Equines</i> activities.To know how your data is processed, to exercise your right of withdrawal or for any suggestions or technical problems, please <a href=\"";
  126.         // line 46
  127.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  128.         echo "\">contact us</a>.</p>
  129.         </div>
  130.         ";
  131.         // line 52
  132.         echo "    </div>
  133.     <div class=\"row\">
  134.     <div class=\"col-md-12\">
  135.         <section class=\"panel panel-primary\">
  136.             <header class=\"panel-heading\">
  137.                 <div class=\"panel-actions\">
  138.                     <a href=\"#\" class=\"fa fa-caret-down\"></a>
  139.                     <a href=\"#\" class=\"fa fa-times\"></a>
  140.                 </div>
  141.                 <h2 class=\"panel-title\">Experts</h2>
  142.             </header>
  143.             <div class=\"panel-body\">
  144.                 <div class=\"row\">
  145.                     <div class=\"col-md-4\">
  146.                         <div class=\"counter\">
  147.                             <div class=\"box\">
  148.                                 <i class=\"fas fa-users\"></i>
  149.                                 <div class=\"num\">";
  150.         // line 69
  151.         echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["entitiesExperts"]) || array_key_exists("entitiesExperts"$context) ? $context["entitiesExperts"] : (function () { throw new RuntimeError('Variable "entitiesExperts" does not exist.'69$this->source); })())), "html"nulltrue);
  152.         echo "</div>
  153.                                 Experts
  154.                             </div>
  155.                         </div>
  156.                     </div>
  157.                     <div class=\"col-md-4\">
  158.                         <div class=\"counter\">
  159.                             <div class=\"box\">
  160.                                 <i class=\"fas fa-earth-americas\"></i>
  161.                                 <div class=\"num\">";
  162.         // line 78
  163.         echo twig_escape_filter($this->env, (isset($context["nbCountries"]) || array_key_exists("nbCountries"$context) ? $context["nbCountries"] : (function () { throw new RuntimeError('Variable "nbCountries" does not exist.'78$this->source); })()), "html"nulltrue);
  164.         echo "</div>
  165.                                 Countries
  166.                             </div>
  167.                         </div>
  168.                     </div>
  169.                     <div class=\"col-md-4\">
  170.                         <div class=\"counter\">
  171.                             <div class=\"box\">
  172.                                 <i class=\"fas fa-cow\"></i>
  173.                                 <div class=\"num\">";
  174.         // line 87
  175.         echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["entitiesSpecies"]) || array_key_exists("entitiesSpecies"$context) ? $context["entitiesSpecies"] : (function () { throw new RuntimeError('Variable "entitiesSpecies" does not exist.'87$this->source); })())), "html"nulltrue);
  176.         echo "</div>
  177.                                 Species
  178.                             </div>
  179.                         </div>
  180.                     </div>
  181.                 </div>
  182.             </div>
  183.         </section>
  184.     </div>
  185.     <div class=\"row\">
  186.         <div class=\"col-md-12\">
  187.             <section class=\"panel\">
  188.                 <header class=\"panel-heading\">
  189.                     <div class=\"panel-actions\">
  190.                         <a href=\"#\" class=\"fa fa-caret-down\"></a>
  191.                         <a href=\"#\" class=\"fa fa-times\"></a>
  192.                     </div>
  193.                     <h2 class=\"panel-title\">Informations</h2>
  194.                 </header>
  195.                 <div class=\"panel-body\">
  196.                     <div class=\"row\">
  197.                         <div class=\"col-lg-6\">
  198.                             <center><strong>Experts by countries</strong>
  199.                             <div style=\"width:60%\">";
  200.         // line 111
  201.         echo (isset($context["dataCountries"]) || array_key_exists("dataCountries"$context) ? $context["dataCountries"] : (function () { throw new RuntimeError('Variable "dataCountries" does not exist.'111$this->source); })());
  202.         echo "</div>
  203.                         </div>
  204.                         <div class=\"col-lg-6\">
  205.                             <center><strong>Experts by Species</strong>
  206.                             <div style=\"width:60%\">";
  207.         // line 115
  208.         echo (isset($context["dataGS"]) || array_key_exists("dataGS"$context) ? $context["dataGS"] : (function () { throw new RuntimeError('Variable "dataGS" does not exist.'115$this->source); })());
  209.         echo "</div>
  210.                         </div>
  211.                     </div>
  212.                 </div>
  213.                 
  214.             </section>
  215.         </div>
  216.     </div>
  217. ";
  218.         
  219.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  220.         
  221.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  222.     }
  223.     // line 124
  224.     public function block_javascripts($context, array $blocks = [])
  225.     {
  226.         $macros $this->macros;
  227.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  231.         // line 125
  232.         echo "  <script src=\"https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js\"></script>
  233.   <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js\"></script>
  234.   <script>
  235.   \$(document).ready(function(){
  236.     \$('.num').counterUp({
  237.       time: 1200
  238.     });
  239.   });
  240.   </script>
  241. ";
  242.         
  243.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  244.         
  245.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  246.     }
  247.     public function getTemplateName()
  248.     {
  249.         return "index.html.twig";
  250.     }
  251.     public function isTraitable()
  252.     {
  253.         return false;
  254.     }
  255.     public function getDebugInfo()
  256.     {
  257.         return array (  257 => 125,  247 => 124,  228 => 115,  221 => 111,  194 => 87,  182 => 78,  170 => 69,  151 => 52,  146 => 46,  135 => 38,  132 => 37,  123 => 34,  120 => 33,  116 => 32,  106 => 31,  70 => 4,  60 => 3,  37 => 1,);
  258.     }
  259.     public function getSourceContext()
  260.     {
  261.         return new Source("{% extends \"base.html.twig\" %}
  262. {% block stylesheets %}
  263. <style>
  264. .counter-sec{
  265.   padding: 80px 0;
  266.   width: 100%;
  267.   background: #131416;
  268.   position: absolute;
  269.   top: 50%;
  270.   width: 100%;
  271.   transform: translateY(-50%);
  272. }
  273. .num{
  274.   font-size: 40px;
  275.   margin: 20px 0;
  276. }
  277. .box{
  278.   flex: 1;
  279.   text-align: center;
  280.   padding: 20px;
  281.   color: #000;
  282.   text-transform: uppercase;
  283. }
  284. .box i{
  285.   font-size: 40px;
  286.   color: #333;
  287. }
  288. </style>
  289. {% endblock %}
  290. {% block body %}
  291. {% for message in app.flashes('success') %}
  292.     <div class=\"alert alert-success\">
  293.         {{ message }}
  294.     </div>
  295. {% endfor %}
  296. \t<div class=\"row\" style=\"background-color:white\">
  297.         <div class=\"col-lg-4\"><img src=\"{{ asset('assets/images/logo-eurcaw.jpg') }}\" style=\"width:100%\"></div>
  298.         <div class=\"col-lg-8\" style=\"padding-right:50px;\">
  299.         <center><h2>EURCAW -<i> Ruminants & Equines</i></h2></center>
  300.             <p style=\"text-align:justify\">Welcome to the database of experts listed for the European Reference Centre for Animal Welfare - Ruminants and Equines !<br /><br />
  301. The centre is mandated by the European Commission and is co-led by SLU (coordinator), UCD, BOKU, ELGO-VRI, INRAE and IZSAM.<br /><br />
  302. You can only register if the administrators have previously added your email to the database. Once your account is created (“Login” > “Create an account”), please log in and then modify your personal information and your skills/expertise in your profile (“<i class=\"fa fa-user\"></i> My account” in the  menu). Don’t forget to save your changes.<br /><br />
  303. We encourage you to be as precise as possible when describing your skills/expertise per species. Please use the “All species” category as a last resort. “General skills” independent of the species are listed separately.<br /><br />
  304. You can update your information at any time by logging into your account. Reminders to update it will be sent from time to time (maximum once a year).<br /><br />
  305. The data are stored by INRAE (French National Institute for Research on Food, Agriculture and the Environment). The information will only be used for the purposes of EURCAW-<i> Ruminants & Equines</i> activities.To know how your data is processed, to exercise your right of withdrawal or for any suggestions or technical problems, please <a href=\"{{ path ('contact') }}\">contact us</a>.</p>
  306.         </div>
  307.         {# <div class=\"col-lg-3\">
  308.             <center><strong>Experts by countries</strong>
  309.             {{ dataCountries|raw }}
  310.         </div> #}
  311.     </div>
  312.     <div class=\"row\">
  313.     <div class=\"col-md-12\">
  314.         <section class=\"panel panel-primary\">
  315.             <header class=\"panel-heading\">
  316.                 <div class=\"panel-actions\">
  317.                     <a href=\"#\" class=\"fa fa-caret-down\"></a>
  318.                     <a href=\"#\" class=\"fa fa-times\"></a>
  319.                 </div>
  320.                 <h2 class=\"panel-title\">Experts</h2>
  321.             </header>
  322.             <div class=\"panel-body\">
  323.                 <div class=\"row\">
  324.                     <div class=\"col-md-4\">
  325.                         <div class=\"counter\">
  326.                             <div class=\"box\">
  327.                                 <i class=\"fas fa-users\"></i>
  328.                                 <div class=\"num\">{{ entitiesExperts|length }}</div>
  329.                                 Experts
  330.                             </div>
  331.                         </div>
  332.                     </div>
  333.                     <div class=\"col-md-4\">
  334.                         <div class=\"counter\">
  335.                             <div class=\"box\">
  336.                                 <i class=\"fas fa-earth-americas\"></i>
  337.                                 <div class=\"num\">{{ nbCountries }}</div>
  338.                                 Countries
  339.                             </div>
  340.                         </div>
  341.                     </div>
  342.                     <div class=\"col-md-4\">
  343.                         <div class=\"counter\">
  344.                             <div class=\"box\">
  345.                                 <i class=\"fas fa-cow\"></i>
  346.                                 <div class=\"num\">{{ entitiesSpecies|length }}</div>
  347.                                 Species
  348.                             </div>
  349.                         </div>
  350.                     </div>
  351.                 </div>
  352.             </div>
  353.         </section>
  354.     </div>
  355.     <div class=\"row\">
  356.         <div class=\"col-md-12\">
  357.             <section class=\"panel\">
  358.                 <header class=\"panel-heading\">
  359.                     <div class=\"panel-actions\">
  360.                         <a href=\"#\" class=\"fa fa-caret-down\"></a>
  361.                         <a href=\"#\" class=\"fa fa-times\"></a>
  362.                     </div>
  363.                     <h2 class=\"panel-title\">Informations</h2>
  364.                 </header>
  365.                 <div class=\"panel-body\">
  366.                     <div class=\"row\">
  367.                         <div class=\"col-lg-6\">
  368.                             <center><strong>Experts by countries</strong>
  369.                             <div style=\"width:60%\">{{ dataCountries|raw }}</div>
  370.                         </div>
  371.                         <div class=\"col-lg-6\">
  372.                             <center><strong>Experts by Species</strong>
  373.                             <div style=\"width:60%\">{{ dataGS|raw }}</div>
  374.                         </div>
  375.                     </div>
  376.                 </div>
  377.                 
  378.             </section>
  379.         </div>
  380.     </div>
  381. {% endblock %}
  382. {% block javascripts %}
  383.   <script src=\"https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js\"></script>
  384.   <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js\"></script>
  385.   <script>
  386.   \$(document).ready(function(){
  387.     \$('.num').counterUp({
  388.       time: 1200
  389.     });
  390.   });
  391.   </script>
  392. {% endblock %}""index.html.twig""/var/www/html/eurcaw-experts/templates/index.html.twig");
  393.     }
  394. }