{% 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 %}
<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 %}