This commit is contained in:
parent
0a4bbdb986
commit
ac99182df0
@ -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>';
|
||||
|
@ -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++;
|
||||
|
BIN
public/themes/default/images/ajouter.png
Normal file
BIN
public/themes/default/images/ajouter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
public/themes/default/images/ligne.png
Normal file
BIN
public/themes/default/images/ligne.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
public/themes/default/images/moins.png
Normal file
BIN
public/themes/default/images/moins.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 289 B |
@ -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');
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user