Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1482 | Rev 1491 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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