<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* index.html.twig */
class __TwigTemplate_820f4bcbd1060761ee144727d28980e14444b6d30a4248d548c0a8dc782fb27d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
echo "<style>
.counter-sec{
padding: 80px 0;
width: 100%;
background: #131416;
position: absolute;
top: 50%;
width: 100%;
transform: translateY(-50%);
}
.num{
font-size: 40px;
margin: 20px 0;
}
.box{
flex: 1;
text-align: center;
padding: 20px;
color: #000;
text-transform: uppercase;
}
.box i{
font-size: 40px;
color: #333;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 31
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 32
$context['_parent'] = $context;
$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", false, false, false, 32));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 33
echo " <div class=\"alert alert-success\">
";
// line 34
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 37
echo "\t<div class=\"row\" style=\"background-color:white\">
<div class=\"col-lg-4\"><img src=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo-eurcaw.jpg"), "html", null, true);
echo "\" style=\"width:100%\"></div>
<div class=\"col-lg-8\" style=\"padding-right:50px;\">
<center><h2>EURCAW -<i> Ruminants & Equines</i></h2></center>
<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 />
The centre is mandated by the European Commission and is co-led by SLU (coordinator), UCD, BOKU, ELGO-VRI, INRAE and IZSAM.<br /><br />
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 />
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 />
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 />
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=\"";
// line 46
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
echo "\">contact us</a>.</p>
</div>
";
// line 52
echo " </div>
<div class=\"row\">
<div class=\"col-md-12\">
<section class=\"panel panel-primary\">
<header class=\"panel-heading\">
<div class=\"panel-actions\">
<a href=\"#\" class=\"fa fa-caret-down\"></a>
<a href=\"#\" class=\"fa fa-times\"></a>
</div>
<h2 class=\"panel-title\">Experts</h2>
</header>
<div class=\"panel-body\">
<div class=\"row\">
<div class=\"col-md-4\">
<div class=\"counter\">
<div class=\"box\">
<i class=\"fas fa-users\"></i>
<div class=\"num\">";
// line 69
echo twig_escape_filter($this->env, twig_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", null, true);
echo "</div>
Experts
</div>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"counter\">
<div class=\"box\">
<i class=\"fas fa-earth-americas\"></i>
<div class=\"num\">";
// line 78
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", null, true);
echo "</div>
Countries
</div>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"counter\">
<div class=\"box\">
<i class=\"fas fa-cow\"></i>
<div class=\"num\">";
// line 87
echo twig_escape_filter($this->env, twig_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", null, true);
echo "</div>
Species
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<div class=\"row\">
<div class=\"col-md-12\">
<section class=\"panel\">
<header class=\"panel-heading\">
<div class=\"panel-actions\">
<a href=\"#\" class=\"fa fa-caret-down\"></a>
<a href=\"#\" class=\"fa fa-times\"></a>
</div>
<h2 class=\"panel-title\">Informations</h2>
</header>
<div class=\"panel-body\">
<div class=\"row\">
<div class=\"col-lg-6\">
<center><strong>Experts by countries</strong>
<div style=\"width:60%\">";
// line 111
echo (isset($context["dataCountries"]) || array_key_exists("dataCountries", $context) ? $context["dataCountries"] : (function () { throw new RuntimeError('Variable "dataCountries" does not exist.', 111, $this->source); })());
echo "</div>
</div>
<div class=\"col-lg-6\">
<center><strong>Experts by Species</strong>
<div style=\"width:60%\">";
// line 115
echo (isset($context["dataGS"]) || array_key_exists("dataGS", $context) ? $context["dataGS"] : (function () { throw new RuntimeError('Variable "dataGS" does not exist.', 115, $this->source); })());
echo "</div>
</div>
</div>
</div>
</section>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 124
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 125
echo " <script src=\"https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js\"></script>
<script>
\$(document).ready(function(){
\$('.num').counterUp({
time: 1200
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block stylesheets %}
<style>
.counter-sec{
padding: 80px 0;
width: 100%;
background: #131416;
position: absolute;
top: 50%;
width: 100%;
transform: translateY(-50%);
}
.num{
font-size: 40px;
margin: 20px 0;
}
.box{
flex: 1;
text-align: center;
padding: 20px;
color: #000;
text-transform: uppercase;
}
.box i{
font-size: 40px;
color: #333;
}
</style>
{% endblock %}
{% block body %}
{% for message in app.flashes('success') %}
<div class=\"alert alert-success\">
{{ message }}
</div>
{% endfor %}
\t<div class=\"row\" style=\"background-color:white\">
<div class=\"col-lg-4\"><img src=\"{{ asset('assets/images/logo-eurcaw.jpg') }}\" style=\"width:100%\"></div>
<div class=\"col-lg-8\" style=\"padding-right:50px;\">
<center><h2>EURCAW -<i> Ruminants & Equines</i></h2></center>
<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 />
The centre is mandated by the European Commission and is co-led by SLU (coordinator), UCD, BOKU, ELGO-VRI, INRAE and IZSAM.<br /><br />
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 />
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 />
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 />
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>
</div>
{# <div class=\"col-lg-3\">
<center><strong>Experts by countries</strong>
{{ dataCountries|raw }}
</div> #}
</div>
<div class=\"row\">
<div class=\"col-md-12\">
<section class=\"panel panel-primary\">
<header class=\"panel-heading\">
<div class=\"panel-actions\">
<a href=\"#\" class=\"fa fa-caret-down\"></a>
<a href=\"#\" class=\"fa fa-times\"></a>
</div>
<h2 class=\"panel-title\">Experts</h2>
</header>
<div class=\"panel-body\">
<div class=\"row\">
<div class=\"col-md-4\">
<div class=\"counter\">
<div class=\"box\">
<i class=\"fas fa-users\"></i>
<div class=\"num\">{{ entitiesExperts|length }}</div>
Experts
</div>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"counter\">
<div class=\"box\">
<i class=\"fas fa-earth-americas\"></i>
<div class=\"num\">{{ nbCountries }}</div>
Countries
</div>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"counter\">
<div class=\"box\">
<i class=\"fas fa-cow\"></i>
<div class=\"num\">{{ entitiesSpecies|length }}</div>
Species
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<div class=\"row\">
<div class=\"col-md-12\">
<section class=\"panel\">
<header class=\"panel-heading\">
<div class=\"panel-actions\">
<a href=\"#\" class=\"fa fa-caret-down\"></a>
<a href=\"#\" class=\"fa fa-times\"></a>
</div>
<h2 class=\"panel-title\">Informations</h2>
</header>
<div class=\"panel-body\">
<div class=\"row\">
<div class=\"col-lg-6\">
<center><strong>Experts by countries</strong>
<div style=\"width:60%\">{{ dataCountries|raw }}</div>
</div>
<div class=\"col-lg-6\">
<center><strong>Experts by Species</strong>
<div style=\"width:60%\">{{ dataGS|raw }}</div>
</div>
</div>
</div>
</section>
</div>
</div>
{% endblock %}
{% block javascripts %}
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js\"></script>
<script>
\$(document).ready(function(){
\$('.num').counterUp({
time: 1200
});
});
</script>
{% endblock %}", "index.html.twig", "/var/www/html/eurcaw-experts/templates/index.html.twig");
}
}