1,11 → 1,13 |
<div id="repartition"> |
<img src="<?=$img?>" /><br /> |
<object type="image/svg+xml" data="<?=$img?>"> |
Le navigateur ne supporte pas les fichiers SVG ! |
</object> |
<div id="legende" style="padding:15px;"> |
<h3>Légende</h3><br /> |
<? foreach ($legende as $id => $details) :?> |
<div style="clear:left; "> |
<div style="float:left; margin-right:5px; margin-bottom:3px; width:15px; height:15px; border:solid 1px black; background:<?=$details['couleur']?>"></div> |
<div style="float:left; text-transform:capitalize"><b><?=$details['nom']?></b></div> |
<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div> |
<div class="texte_legende_repartition"><b><?=$details['nom']?></b></div> |
</div> |
<? endforeach; ?> |
</div> |