issue #0001346 : Affichage croix de suppression

This commit is contained in:
Michael RICOIS 2012-10-01 08:30:54 +00:00
parent b0e6e4ca4d
commit 2509368825
2 changed files with 17 additions and 3 deletions

View File

@ -1,14 +1,14 @@
<?php if (count($this->inValues)>0) {?>
<ul>
<?php foreach ($this->inValues as $i => $item) {?>
<li><?=$this->inLabels[$i]?>
<li><p><?=$this->inLabels[$i]?>
<a class="remove" href="<?=$this->url(array(
'controller'=>'index',
'action'=>'remove',
'critere'=>$this->critereName,
'in'=>$i
), null, true)?>">
<img src="/themes/default/images/cross.png"></a>
<img src="/themes/default/images/cross.png" alt="Supprimer la valeur"></a></p>
</li>
<?php }?>
</ul>
@ -23,7 +23,7 @@
'critere'=>$this->critereName,
'ex'=>$i
), null, true)?>">
<img src="/themes/default/images/cross.png"></a>
<img src="/themes/default/images/cross.png" alt="Supprimer la valeur"></a>
</li>
<?php }?>
</ul>

View File

@ -367,6 +367,20 @@ ul#fieldsblock li div.fieldgrp div.field .interval input[type=text] {
text-decoration: none;
}
#dialogcritere ul li {
line-height:16px;
}
#dialogcritere a.remove {
margin:0;
padding:0;
text-decoration:none;
}
#dialogcritere a.remove img {
vertical-align:middle;
}
#link {
text-align:right;
margin-top:20px;