Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Go to most recent revision | Details | 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 -->
11
			<!--  <object   type="image/svg+xml" data="<?=$repartition['chorodep']['svgUrl']?>"  alt="<?=$repartition['min']['chorodep']?>">
12
			</object>-->
13
			<!-- version png  --><img src="<?=$repartition['min']['chorodep']?>" />
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 -->
27
	<? if (!empty($repartition['min']['eflore']) && !empty($repartition['eflore']['legende'])) : ?>
28
	<div class="deux-colonnes">
29
	<h2>Observations</h2>
30
	   <div class="repartition_observations allow-break" >
31
			<img src="<?=$repartition['min']['eflore']?>" />
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'])
49
	&&  empty($repartition['min']['eflore'])
50
	&& empty($repartition['eflore']['legende'])) : ?>
51
	Auncune donnée.
52
	<?php endif; ?>
53
 
54
</div>
55
<br/>
56
<br/>