This commit is contained in:
Damien LASSERRE 2011-12-20 15:31:31 +00:00
parent 0a4bbdb986
commit ac99182df0
7 changed files with 6 additions and 10 deletions

View File

@ -11,7 +11,7 @@ Class Zend_View_Helper_Select extends Zend_View_Helper_Abstract
foreach($liste as $item => $value) {
$select .= '<option '.(($compar != 't' and $compar == $value)?'selected="selected"':null).' value="'.$value.'">'.$item.'</option>';
}
$champ = '<div id="'.$name.'" style="cursor:move;'.((empty($session->ciblage[$name]) or $session->ciblage[$name] == 'tous')?null:'background-color:#CCF8D2').';padding:5px;">';
$champ = '<div style="cursor:move;'.((empty($session->ciblage[$name]) or $session->ciblage[$name] == 'tous')?null:'background-color:#CCF8D2').';padding:5px;">';
$champ .= '<div style="float:left;text-align:left;">
<label>'.$libelle.'</label>
</div>';

View File

@ -10,7 +10,7 @@ ul {list-style-type: none;}
$valeur = explode(':', $champ['type']);
switch ($valeur[0]) {
case 'select':
echo '<li class="ui-state-default" style="display:block;">';
echo '<li id="'.$champ['name'].'" class="ui-state-default" style="display:block;">';
echo $this->Select($champ['name'], $champ['libelle'], $champ['parametres']);
echo '</li>';
$i++;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

View File

@ -39,11 +39,13 @@ $(document).ready(function(){
var block = $('#'+$(this).attr('name')).css('display');
if(block == 'block') {
$(this).css('background-image', 'url(/themes/default/images/ajouter.png)');
$('#'+name).css('display', 'none');
/*$('#'+name).css('display', 'none');*/
$('#'+name).hide('slide');
}
else {
$(this).css('background-image', 'url(/themes/default/images/moins.png)');
$('#'+name).css('display', 'block');
/*$('#'+name).css('display', 'block');*/
$('#'+name).show('slide');
}
})

View File

@ -60,11 +60,6 @@ ul, ul li {
cursor:move;
}
.portlet
{
background-color:none;
}
.ui-state-highlight {margin-top:5px; height: 2.5em; line-height: 1.2em; }
.liHover:hover {
background-color: #E2E6E5;
@ -216,7 +211,6 @@ h3 {
float:left;
width:250px;
margin:2px;
padding:2px;
}
.clearfix:after {