| 1243 |
aurelien |
1 |
<div class="onglet_contenu" id="repartition">
|
| 952 |
delphine |
2 |
<? if (isset($repartition)) : ?>
|
|
|
3 |
<div id="repartition">
|
| 467 |
delphine |
4 |
<h2>Chorologie départementale</h2>
|
| 1490 |
delphine |
5 |
<object class="chorodep_svg" type="image/svg+xml"
|
| 1494 |
delphine |
6 |
data="<?= $repartition['svgUrl']?>" class="svg"
|
|
|
7 |
alt="<?= $repartition['pngUrl']?>"> </object>
|
| 1490 |
delphine |
8 |
<div id="legende"
|
|
|
9 |
style="position: absolute; margin-top: -250px; margin-left: 20px;">
|
|
|
10 |
<h3>Légende</h3>
|
|
|
11 |
<br />
|
| 952 |
delphine |
12 |
<? foreach ($repartition['legende'] as $id => $details) :?>
|
| 1490 |
delphine |
13 |
<div style="clear: left;">
|
|
|
14 |
<div class="bloc_legende_repartition"
|
|
|
15 |
style="background: <?= $details['couleur']?>"></div>
|
|
|
16 |
<div class="texte_legende_repartition">
|
|
|
17 |
<b>
|
| 1494 |
delphine |
18 |
<?= $details['nom']?>
|
| 1490 |
delphine |
19 |
</b>
|
|
|
20 |
</div>
|
|
|
21 |
</div>
|
| 467 |
delphine |
22 |
<? endforeach; ?>
|
|
|
23 |
</div>
|
|
|
24 |
<div class="conteneur_lien_metadonnees">
|
| 1494 |
delphine |
25 |
<?= $repartition['meta']['citation']?>
|
| 1490 |
delphine |
26 |
<span class="conteneur_lien_metadonnees"> <a
|
| 1603 |
killian |
27 |
class="lien_metadonnees lien_popup various" data-fancybox-type="iframe"
|
| 1490 |
delphine |
28 |
href="<?= $repartition['meta']['url']; ?>">Voir toutes les
|
|
|
29 |
metadonnées</a>
|
| 467 |
delphine |
30 |
</span>
|
|
|
31 |
</div>
|
| 1490 |
delphine |
32 |
<a
|
|
|
33 |
href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&act=description"
|
|
|
34 |
title="Carte en cours d'élaboration. Participez au projet"
|
|
|
35 |
onclick="window.open(this.href); return false;"
|
| 1482 |
delphine |
36 |
class="button standard link">Participez au projet</a>
|
| 253 |
gduche |
37 |
</div>
|
| 952 |
delphine |
38 |
<? endif; ?>
|
| 467 |
delphine |
39 |
<hr class="nettoyage" />
|
| 1490 |
delphine |
40 |
|
| 952 |
delphine |
41 |
<? if (isset($moissonnage)) : ?>
|
|
|
42 |
<div id="moissonnage">
|
| 467 |
delphine |
43 |
<h2>Observations</h2>
|
| 1490 |
delphine |
44 |
<div class="conteneur_repartition_observations">
|
|
|
45 |
<object id="repartition_observations" type="text/html"
|
| 1494 |
delphine |
46 |
data="<?= $moissonnage['mapUrl']?>" class="svg"
|
|
|
47 |
alt="<?= $moissonnage['mapUrl']?>"
|
| 1490 |
delphine |
48 |
style="width: 620px; height: 620px; overflow: none;"> </object>
|
| 1257 |
aurelien |
49 |
</div>
|
| 1490 |
delphine |
50 |
<div id="legende" style="padding: 15px; margin-top: -25px;">
|
| 952 |
delphine |
51 |
<? foreach ($moissonnage['legende'] as $id => $details) :?>
|
| 1490 |
delphine |
52 |
<div style="clear: left;">
|
|
|
53 |
<div class="bloc_legende_repartition"
|
| 1494 |
delphine |
54 |
style="background: <?= $details['couleur'] ?>"></div>
|
| 1490 |
delphine |
55 |
<div>
|
|
|
56 |
<b>
|
| 1494 |
delphine |
57 |
<?= $details['nom']?> :
|
| 1490 |
delphine |
58 |
</b>
|
| 1494 |
delphine |
59 |
<?= $details['description']?>
|
| 1490 |
delphine |
60 |
</div>
|
|
|
61 |
</div>
|
| 467 |
delphine |
62 |
<? endforeach; ?>
|
|
|
63 |
</div>
|
| 1370 |
mathias |
64 |
<div id="carte_recalculer">
|
| 1490 |
delphine |
65 |
<span>Une fois générée, cette carte est mise en cache.</span> <a
|
|
|
66 |
href="#" id="lien_recalculer_carte">Recalculer la carte</a>
|
| 1370 |
mathias |
67 |
</div>
|
| 1112 |
aurelien |
68 |
<div id="carte_telechargement">
|
| 1490 |
delphine |
69 |
<span>Télécharger la carte au format </span> <a
|
| 1494 |
delphine |
70 |
href="<?= $moissonnage['mapTelechargementUrls']['png']; ?>">png</a>
|
|
|
71 |
<a href="<?= $moissonnage['mapTelechargementUrls']['html']; ?>">html</a>
|
| 1112 |
aurelien |
72 |
</div>
|
| 952 |
delphine |
73 |
</div>
|
| 1026 |
alex |
74 |
<hr class="nettoyage" />
|
| 1479 |
mathias |
75 |
<? endif;?>
|
| 1490 |
delphine |
76 |
|
| 1217 |
aurelien |
77 |
<? if (isset($flore_probable)) : ?>
|
|
|
78 |
<div id="flore_probable">
|
|
|
79 |
<h2>Carte de la flore probable</h2>
|
| 1220 |
aurelien |
80 |
<? if ($flore_probable['carte']['url'] != null) { ?>
|
| 1490 |
delphine |
81 |
<div class="conteneur_flore_probable">
|
|
|
82 |
<img id="carte_flore_probable"
|
|
|
83 |
alt="Carte de la flore probable pour ce taxon"
|
|
|
84 |
src="<?= $flore_probable['carte']['url'] ?>" />
|
|
|
85 |
</div>
|
|
|
86 |
<hr class="nettoyage" />
|
|
|
87 |
<?=$flore_probable['meta']['citation']?>
|
|
|
88 |
<span class="conteneur_lien_metadonnees"> <a
|
| 1603 |
killian |
89 |
class="lien_metadonnees lien_popup various" data-fancybox-type="iframe"
|
| 1490 |
delphine |
90 |
href="<?= $flore_probable['meta']['url']; ?>">Voir toutes les
|
|
|
91 |
metadonnées</a>
|
|
|
92 |
</span>
|
| 1220 |
aurelien |
93 |
<? } else { ?>
|
| 1490 |
delphine |
94 |
<h3 class="aucune_info">Aucune carte de flore probable pour ce
|
|
|
95 |
taxon</h3>
|
| 1220 |
aurelien |
96 |
<?php } ?>
|
| 1217 |
aurelien |
97 |
</div>
|
|
|
98 |
<hr class="nettoyage" />
|
| 1479 |
mathias |
99 |
<? endif;?>
|
| 1490 |
delphine |
100 |
|
| 952 |
delphine |
101 |
<div id="cel">
|
| 884 |
aurelien |
102 |
<h2>Observations du carnet en ligne</h2>
|
| 1490 |
delphine |
103 |
<iframe style="width: 100%; height: 500px"
|
| 1551 |
delphine |
104 |
src="<?= Config::get('base_url_widget_carto'); ?>?num_nom_ret=<?=$widget['nn']?>&referentiel=<?=$widget['referentiel']; ?>"></iframe>
|
| 1490 |
delphine |
105 |
<a
|
| 1551 |
delphine |
106 |
href="<?= Config::get('base_url_widget_carto'); ?>?num_nom_ret=<?=$widget['nn']?>&referentiel=<?=$widget['referentiel']; ?>">Consultez
|
| 1490 |
delphine |
107 |
les données du carnet en ligne sur le widget carto</a>
|
| 884 |
aurelien |
108 |
<hr class="nettoyage" />
|
|
|
109 |
<div>
|
| 1490 |
delphine |
110 |
<a
|
|
|
111 |
href="<?= Config::get('base_url_widget_saisie'); ?>?num_nom=<?=$widget['nn']?>&referentiel=<?=$widget['referentiel'] ?>"
|
|
|
112 |
title="Ajouter une observation au moyen du Carnet en Ligne"
|
|
|
113 |
onclick="window.open(this.href); return false;"
|
|
|
114 |
class="button standard link"> Rajouter une observation </a>
|
| 467 |
delphine |
115 |
</div>
|
| 361 |
delphine |
116 |
</div>
|
| 1490 |
delphine |
117 |
|
| 1257 |
aurelien |
118 |
<script type="text/javascript">
|
|
|
119 |
$.event.trigger('ongletRepartitionCharge');
|
|
|
120 |
</script>
|
| 1479 |
mathias |
121 |
</div>
|