Modifications visuelles

This commit is contained in:
Michael RICOIS 2012-05-10 08:58:34 +00:00
parent 639b476294
commit fb3ecd7321
2 changed files with 39 additions and 22 deletions

View File

@ -2,28 +2,29 @@
.color {
background-color:#DEDEDE;
}
a {
text-decoration: none;
}
#criteres_ra {
font-size: 11px;
#criteres {
border: 1px solid;
}
#criteres_ra tr td {
#criteres tr td {
border-left: 1px solid black;
border-right: 1px solid black;
padding-left:5px;
}
</style>
<h2>Résumé de vos critères</h2>
<div id="criteres_ra">
<h2 style="text-align:center; background-color:#182838; padding:5px; color:white;">Résumé de vos critères</h2>
<div id="criteres">
<?php $color = 0;foreach($this->criteres as $critere => $valeur):?>
<?php $label = $this->field->get($critere); ?>
<?php if($valeur != 'tous' and $valeur != null and $valeur != 'null' and $valeur != ',' and !empty($valeur)):?>
<?php if(!is_array($valeur)) {$valeur = explode(',', $valeur);} ?>
<div <?php echo ((($color%2) == 0) ? 'class="color"' : ''); $color++; ?>>
<?=$label['label'];?>
<div style="width:100%;" class="clearfix<?php echo ((($color%2) == 0) ? ' color' : ''); $color++; ?>">
<div style="float:left; margin:2px 0;">
<?=$label['label'];?>
<?php if(is_array($valeur)):?>
<?php $i=0; foreach ($valeur as $val):?>
@ -42,19 +43,31 @@ a {
?>
<?php $i++; endif;?>
<?php endforeach;?>
<?php else: ?>
<?php echo $val;?>
<?php endif; ?>
<a class="remove" href="index/remove/critere/<?=$critere;?>">
<img width="14px;" src="/themes/default/images/cross.png" />
</a>
<img src="/themes/default/images/help.png" />
<?php else: ?>
<?php echo $val;?>
<?php endif; ?>
</div>
<div style="height:16px; width:16px; float:right;">
<a class="remove" href="index/remove/critere/<?=$critere;?>">
<img src="/themes/default/images/cross.png" />
</a>
</div>
</div>
<?php endif;?>
<?php endforeach;?>
</div>
<div><a class="previsualisation" href="/comptage/previsualisation">Prévisualisation</a></div>
<div><a href="/comptage/reset">Initialiser les critères</a></div>
<div><a class="saveciblage" href="/comptage/savedialog">Sauvegarder</a></div>
<div style="text-align:center; border:1px solid; background-color:#182838; padding:5px;">
<a style="color:white; text-decoration:none;" href="/comptage/reset">Initialiser les critères</a>
</div>
<div style="text-align:center; border:1px solid; background-color:#182838; padding:5px;">
<a style="color:white; text-decoration:none;" class="saveciblage" href="/comptage/savedialog">Sauvegarder</a>
</div>
<div style="text-align:center; border:1px solid; background-color:#182838; padding:5px;">
<a style="color:white; text-decoration:none;" class="previsualisation" href="/comptage/previsualisation">Prévisualisation</a>
</div>

View File

@ -229,7 +229,6 @@ h3 {
#panel {
background: #ffffff;
color: #000000;
float:right;
width:280px;
margin:2px 0;
@ -378,6 +377,11 @@ table.ciblage td {
text-decoration: none;
}
#economique
{
font-size:13px;