2,90 → 2,119 |
<? if (isset($repartition)) : ?> |
<div id="repartition"> |
<h2>Chorologie départementale</h2> |
<object class="chorodep_svg" type="image/svg+xml" data="<?=$repartition['svgUrl']?>" class="svg" alt="<?=$repartition['pngUrl']?>"> |
</object> |
<div id="legende" style="position:absolute; margin-top:-250px;margin-left:20px;"> |
<h3>Légende</h3><br /> |
<object class="chorodep_svg" type="image/svg+xml" |
data="<?=$repartition['svgUrl']?>" class="svg" |
alt="<?=$repartition['pngUrl']?>"> </object> |
<div id="legende" |
style="position: absolute; margin-top: -250px; margin-left: 20px;"> |
<h3>Légende</h3> |
<br /> |
<? foreach ($repartition['legende'] as $id => $details) :?> |
<div style="clear:left; "> |
<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div> |
<div class="texte_legende_repartition"><b><?=$details['nom']?></b></div> |
</div> |
<div style="clear: left;"> |
<div class="bloc_legende_repartition" |
style="background: <?= $details['couleur']?>"></div> |
<div class="texte_legende_repartition"> |
<b> |
<?=$details['nom']?> |
</b> |
</div> |
</div> |
<? endforeach; ?> |
</div> |
<div class="conteneur_lien_metadonnees"> |
<?=$repartition['meta']['citation']?> |
<span class="conteneur_lien_metadonnees"> |
<a class="lien_metadonnees lien_popup" href="<?= $repartition['meta']['url']; ?>">Voir toutes les metadonnées</a> |
<span class="conteneur_lien_metadonnees"> <a |
class="lien_metadonnees lien_popup" |
href="<?= $repartition['meta']['url']; ?>">Voir toutes les |
metadonnées</a> |
</span> |
</div> |
<a href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&act=description" |
title="Carte en cours d'élaboration. Participez au projet" onclick="window.open(this.href); return false;" |
<a |
href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&act=description" |
title="Carte en cours d'élaboration. Participez au projet" |
onclick="window.open(this.href); return false;" |
class="button standard link">Participez au projet</a> |
</div> |
<? endif; ?> |
<hr class="nettoyage" /> |
|
|
<? if (isset($moissonnage)) : ?> |
<div id="moissonnage"> |
<h2>Observations</h2> |
<div class="conteneur_repartition_observations" > |
<object id="repartition_observations" type="text/html" data="<?=$moissonnage['mapUrl']?>" class="svg" alt="<?=$moissonnage['mapUrl']?>" style="width:620px; height:620px; overflow:none;"> |
</object> |
<div class="conteneur_repartition_observations"> |
<object id="repartition_observations" type="text/html" |
data="<?=$moissonnage['mapUrl']?>" class="svg" |
alt="<?=$moissonnage['mapUrl']?>" |
style="width: 620px; height: 620px; overflow: none;"> </object> |
</div> |
<div id="legende" style="padding:15px;margin-top:-25px;"> |
<div id="legende" style="padding: 15px; margin-top: -25px;"> |
<? foreach ($moissonnage['legende'] as $id => $details) :?> |
<div style="clear:left;"> |
<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div> |
<div ><b><?=$details['nom']?> : </b><?=$details['description']?></div> |
</div> |
<div style="clear: left;"> |
<div class="bloc_legende_repartition" |
style="background: <?=$details['couleur']?>"></div> |
<div> |
<b> |
<?=$details['nom']?> : |
</b> |
<?=$details['description']?> |
</div> |
</div> |
<? endforeach; ?> |
</div> |
<div id="carte_recalculer"> |
<span>Une fois générée, cette carte est mise en cache.</span> |
<a href="#" id="lien_recalculer_carte">Recalculer la carte</a> |
<span>Une fois générée, cette carte est mise en cache.</span> <a |
href="#" id="lien_recalculer_carte">Recalculer la carte</a> |
</div> |
<div id="carte_telechargement"> |
<span>Télécharger la carte au format </span> |
<a href="<?=$moissonnage['mapTelechargementUrls']['png']; ?>">png</a> |
<span>Télécharger la carte au format </span> <a |
href="<?=$moissonnage['mapTelechargementUrls']['png']; ?>">png</a> |
<a href="<?=$moissonnage['mapTelechargementUrls']['html']; ?>">html</a> |
</div> |
</div> |
<hr class="nettoyage" /> |
<? endif;?> |
|
|
<? if (isset($flore_probable)) : ?> |
<div id="flore_probable"> |
<h2>Carte de la flore probable</h2> |
<? if ($flore_probable['carte']['url'] != null) { ?> |
<div class="conteneur_flore_probable"> |
<img id="carte_flore_probable" alt="Carte de la flore probable pour ce taxon" src="<?= $flore_probable['carte']['url'] ?>" /> |
</div> |
<hr class="nettoyage" /> |
<?=$flore_probable['meta']['citation']?> |
<span class="conteneur_lien_metadonnees"> |
<a class="lien_metadonnees lien_popup" href="<?= $flore_probable['meta']['url']; ?>">Voir toutes les metadonnées</a> |
</span> |
<div class="conteneur_flore_probable"> |
<img id="carte_flore_probable" |
alt="Carte de la flore probable pour ce taxon" |
src="<?= $flore_probable['carte']['url'] ?>" /> |
</div> |
<hr class="nettoyage" /> |
<?=$flore_probable['meta']['citation']?> |
<span class="conteneur_lien_metadonnees"> <a |
class="lien_metadonnees lien_popup" |
href="<?= $flore_probable['meta']['url']; ?>">Voir toutes les |
metadonnées</a> |
</span> |
<? } else { ?> |
<h3 class="aucune_info"> Aucune carte de flore probable pour ce taxon </h3> |
<h3 class="aucune_info">Aucune carte de flore probable pour ce |
taxon</h3> |
<?php } ?> |
</div> |
<hr class="nettoyage" /> |
<? endif;?> |
|
|
<div id="cel"> |
<h2>Observations du carnet en ligne</h2> |
<iframe style="width:100%;height:500px" src="<?= Config::get('base_url_widget_carto'); ?>?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>"></iframe> |
<a href="<?= Config::get('base_url_widget_carto'); ?>?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>">Consultez les données du carnet en ligne sur le widget carto</a> |
<iframe style="width: 100%; height: 500px" |
src="<?= Config::get('base_url_widget_carto'); ?>?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>"></iframe> |
<a |
href="<?= Config::get('base_url_widget_carto'); ?>?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>">Consultez |
les données du carnet en ligne sur le widget carto</a> |
<hr class="nettoyage" /> |
<div> |
<a href="<?= Config::get('base_url_widget_saisie'); ?>?num_nom=<?=$widget['nn']?>&referentiel=<?=$widget['referentiel'] ?>" title="Ajouter une observation au moyen du Carnet en Ligne" |
onclick="window.open(this.href); return false;" class="button standard link"> |
Rajouter une observation |
</a> |
<a |
href="<?= Config::get('base_url_widget_saisie'); ?>?num_nom=<?=$widget['nn']?>&referentiel=<?=$widget['referentiel'] ?>" |
title="Ajouter une observation au moyen du Carnet en Ligne" |
onclick="window.open(this.href); return false;" |
class="button standard link"> Rajouter une observation </a> |
</div> |
</div> |
|
|
<script type="text/javascript"> |
$.event.trigger('ongletRepartitionCharge'); |
</script> |