Commit 6ad1ef34 authored by Aaron Iemma's avatar Aaron Iemma 🎨
Browse files

Added images

parent e76457e3
......@@ -32,52 +32,77 @@
</div>
<div class="text-page col-lg-12">
<div class="col-lg-12">
<h3>Descrizioni dettagliate</h3>
<ul>
{% if report.andamento %}
<li><strong>Andamento generale della migrazione</strong>: {{report.andamento}}</li>
{% endif %}
<div class="col-lg-12">
<h3>Descrizioni dettagliate</h3>
<ul>
{% if report.andamento %}
<li><strong>Andamento generale della migrazione</strong>: {{report.andamento}}</li>
{% endif %}
{% if report.problematiche %}
<li><strong>Problematiche</strong>: {{report.problematiche}}</li>
{% endif %}
{% if report.problematiche %}
<li><strong>Problematiche</strong>: {{report.problematiche}}</li>
{% endif %}
{% if report.note_sito %}
<li><strong>Note generali</strong>:{{report.note_sito}}</li>
{% endif %}
{% if report.note_sito %}
<li><strong>Note generali</strong>:{{report.note_sito}}</li>
{% endif %}
{% if report.note_traffico %}
<li><strong>Traffico</strong>:{{report.note_traffico}}</li>
{% endif %}
{% if report.note_traffico %}
<li><strong>Traffico</strong>:{{report.note_traffico}}</li>
{% endif %}
{% if report.note_fauna %}
<li><strong>Fauna</strong>:{{report.note_fauna}}</li>
{% endif %}
{% if report.note_fauna %}
<li><strong>Fauna</strong>:{{report.note_fauna}}</li>
{% endif %}
{% if report.note_altro %}
<li><strong>Altro</strong>:{{report.note_altro}}</li>
{% endif %}
{% if report.note_altro %}
<li><strong>Altro</strong>:{{report.note_altro}}</li>
{% endif %}
{% if report.note_riservate %}
<li><strong>Note riservate</strong>:{{report.note_riservate}}</li>
{% endif %}
</ul>
</div>
{% if report.yearlyreportimages.all %}
<div class="col-lg-12">
<h3>Immagini documentative</h3>
<div class="row">
{% for image in report.yearlyreportimages.all %}
<div class="col-md-3">
<div class="thumbnail">
<a target="_blank" href="{{image.url}}">
<img src="{{image.url}}" {% if image.author %}alt="{{image.author}}" {% endif %} style="width:100%">
{% if image.descr %}
<div class="caption">
<p>{{image.descr}}</p>
</div>
{% endif %}
</a>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if report.note_riservate %}
<li><strong>Note riservate</strong>:{{report.note_riservate}}</li>
{% endif %}
</ul>
</div>
<div class="col-lg-12">
<h3>Grafici</h3>
<div class="col-md-12">
<div class="row text-center">
<h3>Andamento della migrazione per specie nei giorni ({{report.year}})</h3>
</div>
{%if report.contacted_species_formatted%}
{%for specie,specie_formatted in report.contacted_species_formatted%}
<div class="col-md-4 text-center">
<h5><em>{{specie}}</em></h5>
<canvas id="chart_{{specie_formatted}}" width="100" height="100"></canvas>
</div>
{%endfor%}
{% endif %}
{% if report.contacted_species_formatted%}
<div class="row">
{% for specie,specie_formatted in report.contacted_species_formatted%}
<div class="col-md-4 text-center">
<h5><em>{{specie}}</em></h5>
<canvas id="chart_{{specie_formatted}}" width="100" height="100"></canvas>
</div>
{%endfor%}
{% endif %}
</div>
<div class="col-md-12">
<h3>Andamento della migrazione per specie negli anni</h3>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment