Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1020 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
640 mathilde 1
<!-- REPARTITION -->
2
<div class="bloc no-break">
3
	<div class="categorie"> Répartition </div>
4
 
5
	<!-- CHOROLOGIE DEPARTEMENTALE -->
6
 	<? if (!empty($repartition['chorodep']['svgUrl']) && !empty($repartition['chorodep']['legende']) ) : ?>
7
	<div class="deux-colonnes">
8
		<h2>Chorologie départementale</h2>
9
		<div class="repartition_observations allow-break">
10
		 <!--version svg laisser attribut alt au cas où svg ne marche pas -->
662 mathilde 11
			<object  style=" height:200px;" type="image/svg+xml" data="<?=$repartition['chorodep']['svgUrl']?>"  alt="<?=$repartition['min']['chorodep']?>">
12
			</object>
13
			<!-- version png  --><!--  <img src="<?=$repartition['min']['chorodep']?>" />-->
640 mathilde 14
		</div>
15
		<div class="legende_r allow-break">
16
			<? foreach ($repartition['chorodep']['legende'] as $id => $details) :?>
17
					<div style="clear:left; ">
18
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
19
						<div class="texte_legende_repartition"><b><?=$details['nom']?></b></div>
20
					</div>
21
			<? endforeach;	?>
22
		</div>
23
	</div>
24
	<?php endif; ?>
25
 
26
	<!-- OBSERVATIONS -->
696 mathilde 27
	<? if (!empty($repartition['eflore']['min']) && !empty($repartition['eflore']['legende'])) : ?>
640 mathilde 28
	<div class="deux-colonnes">
29
	<h2>Observations</h2>
30
	   <div class="repartition_observations allow-break" >
696 mathilde 31
			<img src="<?=$repartition['eflore']['min']?>" />
640 mathilde 32
		</div>
33
		<div  class="legende_r allow-break">
34
			<? foreach ($repartition['eflore']['legende'] as $id => $details) :?>
35
					<div style="clear:left;">
36
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
37
						<div class="texte_legende_repartition" ><b><?=$details['nom']?> : </b><?=$details['description']?></div>
38
					</div>
39
			<? endforeach;	?>
40
		</div>
41
	</div>
42
	<?php endif; ?>
43
 
44
	<hr class="nettoyage" />
45
 
46
	<!-- VIDE DE DONNEES -->
47
	<?php if (empty($repartition['chorodep']['svgUrl'])
48
	&& empty($repartition['chorodep']['legende'])
696 mathilde 49
	&&  empty($repartition['eflore']['min'])
640 mathilde 50
	&& empty($repartition['eflore']['legende'])) : ?>
1020 raphael 51
	Aucune donnée.
640 mathilde 52
	<?php endif; ?>
53
 
54
</div>
55
<br/>
1020 raphael 56
<br/>