Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1273 | Rev 1479 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1273 Rev 1370
1
<div class="onglet_contenu" id="repartition">
1
<div class="onglet_contenu" id="repartition">
2
	<? if (isset($repartition)) : ?>
2
	<? if (isset($repartition)) : ?>
3
	<div id="repartition">
3
	<div id="repartition">
4
		<h2>Chorologie départementale</h2>
4
		<h2>Chorologie départementale</h2>
5
		<object class="chorodep_svg" type="image/svg+xml" data="<?=$repartition['svgUrl']?>" class="svg" alt="<?=$repartition['pngUrl']?>">     
5
		<object class="chorodep_svg" type="image/svg+xml" data="<?=$repartition['svgUrl']?>" class="svg" alt="<?=$repartition['pngUrl']?>">     
6
		</object>
6
		</object>
7
		<div id="legende" style="position:absolute; margin-top:-250px;margin-left:20px;">
7
		<div id="legende" style="position:absolute; margin-top:-250px;margin-left:20px;">
8
			<h3>Légende</h3><br />
8
			<h3>Légende</h3><br />
9
			<? foreach ($repartition['legende'] as $id => $details) :?>
9
			<? foreach ($repartition['legende'] as $id => $details) :?>
10
					<div style="clear:left; ">
10
					<div style="clear:left; ">
11
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
11
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
12
						<div class="texte_legende_repartition"><b><?=$details['nom']?></b></div>
12
						<div class="texte_legende_repartition"><b><?=$details['nom']?></b></div>
13
					</div>
13
					</div>
14
			<? endforeach;	?>
14
			<? endforeach;	?>
15
		</div>
15
		</div>
16
		<div class="conteneur_lien_metadonnees">
16
		<div class="conteneur_lien_metadonnees">
17
			<?=$repartition['meta']['citation']?>
17
			<?=$repartition['meta']['citation']?>
18
			<span class="conteneur_lien_metadonnees">
18
			<span class="conteneur_lien_metadonnees">
19
				<a class="lien_metadonnees lien_popup" href="<?= $repartition['meta']['url']; ?>">Voir toutes les metadonnées</a>
19
				<a class="lien_metadonnees lien_popup" href="<?= $repartition['meta']['url']; ?>">Voir toutes les metadonnées</a>
20
			</span>
20
			</span>
21
		</div>
21
		</div>
22
		<a href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&amp;act=description"
22
		<a href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&amp;act=description"
23
			title="Carte en cours d'élaboration. Participez au projet" onclick="window.open(this.href); return false;" 
23
			title="Carte en cours d'élaboration. Participez au projet" onclick="window.open(this.href); return false;" 
24
			class="acceder-outil">Participez au projet</a>
24
			class="acceder-outil">Participez au projet</a>
25
	</div>
25
	</div>
26
	<? endif; ?>
26
	<? endif; ?>
27
	<hr class="nettoyage" />
27
	<hr class="nettoyage" />
28
	
28
	
29
	<? if (isset($moissonnage)) : ?>
29
	<? if (isset($moissonnage)) : ?>
30
	<div id="moissonnage">
30
	<div id="moissonnage">
31
		<h2>Observations</h2>
31
		<h2>Observations</h2>
32
		<div class="conteneur_repartition_observations" >
32
		<div class="conteneur_repartition_observations" >
33
			<object id="repartition_observations" type="text/html" data="<?=$moissonnage['mapUrl']?>" class="svg" alt="<?=$moissonnage['mapUrl']?>" style="width:620px; height:620px; overflow:none;">     
33
			<object id="repartition_observations" type="text/html" data="<?=$moissonnage['mapUrl']?>" class="svg" alt="<?=$moissonnage['mapUrl']?>" style="width:620px; height:620px; overflow:none;">     
34
			</object>
34
			</object>
35
		</div>
35
		</div>
36
		<div id="legende" style="padding:15px;margin-top:-25px;">
36
		<div id="legende" style="padding:15px;margin-top:-25px;">
37
			<? foreach ($moissonnage['legende'] as $id => $details) :?>
37
			<? foreach ($moissonnage['legende'] as $id => $details) :?>
38
					<div style="clear:left;">
38
					<div style="clear:left;">
39
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
39
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
40
						<div ><b><?=$details['nom']?> : </b><?=$details['description']?></div>
40
						<div ><b><?=$details['nom']?> : </b><?=$details['description']?></div>
41
					</div>
41
					</div>
42
			<? endforeach;	?>
42
			<? endforeach;	?>
43
		</div>
43
		</div>
-
 
44
		<div id="carte_recalculer">
-
 
45
			<span>Une fois générée, cette carte est mise en cache.</span>
-
 
46
			<a href="#" id="lien_recalculer_carte">Recalculer la carte</a>
-
 
47
		</div>
44
		<div id="carte_telechargement">
48
		<div id="carte_telechargement">
45
			<span>Télécharger la carte au format </span>
49
			<span>Télécharger la carte au format </span>
46
			<a href="<?=$moissonnage['mapTelechargementUrls']['png']; ?>">png</a>&nbsp;
50
			<a href="<?=$moissonnage['mapTelechargementUrls']['png']; ?>">png</a>&nbsp;
47
			<a href="<?=$moissonnage['mapTelechargementUrls']['html']; ?>">html</a>
51
			<a href="<?=$moissonnage['mapTelechargementUrls']['html']; ?>">html</a>
48
		</div>
52
		</div>
49
	</div>
53
	</div>
50
	<hr class="nettoyage" />
54
	<hr class="nettoyage" />
51
	<?endif;?>
55
	<?endif;?>
52
	
56
	
53
	<? if (isset($flore_probable)) : ?>
57
	<? if (isset($flore_probable)) : ?>
54
	<div id="flore_probable">
58
	<div id="flore_probable">
55
		<h2>Carte de la flore probable</h2>
59
		<h2>Carte de la flore probable</h2>
56
		<? if ($flore_probable['carte']['url'] != null) { ?>
60
		<? if ($flore_probable['carte']['url'] != null) { ?>
57
			<div class="conteneur_flore_probable">
61
			<div class="conteneur_flore_probable">
58
				<img id="carte_flore_probable" alt="Carte de la flore probable pour ce taxon" src="<?= $flore_probable['carte']['url'] ?>" />
62
				<img id="carte_flore_probable" alt="Carte de la flore probable pour ce taxon" src="<?= $flore_probable['carte']['url'] ?>" />
59
			</div>
63
			</div>
60
			<hr class="nettoyage" />
64
			<hr class="nettoyage" />
61
			<?=$flore_probable['meta']['citation']?>
65
			<?=$flore_probable['meta']['citation']?>
62
			<span class="conteneur_lien_metadonnees">
66
			<span class="conteneur_lien_metadonnees">
63
				<a class="lien_metadonnees lien_popup" href="<?= $flore_probable['meta']['url']; ?>">Voir toutes les metadonnées</a>
67
				<a class="lien_metadonnees lien_popup" href="<?= $flore_probable['meta']['url']; ?>">Voir toutes les metadonnées</a>
64
			</span>
68
			</span>
65
		<? } else { ?>
69
		<? } else { ?>
66
			<h3 class="aucune_info"> Aucune carte de flore probable pour ce taxon </h3> 
70
			<h3 class="aucune_info"> Aucune carte de flore probable pour ce taxon </h3> 
67
		<?php } ?>
71
		<?php } ?>
68
	</div>
72
	</div>
69
	<hr class="nettoyage" />
73
	<hr class="nettoyage" />
70
	<?endif;?>
74
	<?endif;?>
71
			
75
			
72
	<div id="cel">
76
	<div id="cel">
73
		<h2>Observations du carnet en ligne</h2>
77
		<h2>Observations du carnet en ligne</h2>
74
		<iframe style="width:100%;height:500px" src="<?= Config::get('base_url_widget_carto'); ?>?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>"></iframe>	
78
		<iframe style="width:100%;height:500px" src="<?= Config::get('base_url_widget_carto'); ?>?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>"></iframe>	
75
		<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>
79
		<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>
76
		<hr class="nettoyage" />
80
		<hr class="nettoyage" />
77
		<div>
81
		<div>
78
			<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" 
82
			<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" 
79
					onclick="window.open(this.href); return false;" class="acceder-outil">
83
					onclick="window.open(this.href); return false;" class="acceder-outil">
80
						Rajouter une observation
84
						Rajouter une observation
81
			</a>
85
			</a>
82
		</div>
86
		</div>
83
	</div>
87
	</div>
84
	
88
	
85
	<script type="text/javascript">
89
	<script type="text/javascript">
86
		$.event.trigger('ongletRepartitionCharge');
90
		$.event.trigger('ongletRepartitionCharge');
87
	</script>
91
	</script>
88
</div>
92
</div>