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) {
|
foreach($liste as $item => $value) {
|
||||||
$select .= '<option '.(($compar != 't' and $compar == $value)?'selected="selected"':null).' value="'.$value.'">'.$item.'</option>';
|
$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;">
|
$champ .= '<div style="float:left;text-align:left;">
|
||||||
<label>'.$libelle.'</label>
|
<label>'.$libelle.'</label>
|
||||||
</div>';
|
</div>';
|
||||||
|
@ -10,7 +10,7 @@ ul {list-style-type: none;}
|
|||||||
$valeur = explode(':', $champ['type']);
|
$valeur = explode(':', $champ['type']);
|
||||||
switch ($valeur[0]) {
|
switch ($valeur[0]) {
|
||||||
case 'select':
|
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 $this->Select($champ['name'], $champ['libelle'], $champ['parametres']);
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
$i++;
|
$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');
|
var block = $('#'+$(this).attr('name')).css('display');
|
||||||
if(block == 'block') {
|
if(block == 'block') {
|
||||||
$(this).css('background-image', 'url(/themes/default/images/ajouter.png)');
|
$(this).css('background-image', 'url(/themes/default/images/ajouter.png)');
|
||||||
$('#'+name).css('display', 'none');
|
/*$('#'+name).css('display', 'none');*/
|
||||||
|
$('#'+name).hide('slide');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$(this).css('background-image', 'url(/themes/default/images/moins.png)');
|
$(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;
|
cursor:move;
|
||||||
}
|
}
|
||||||
|
|
||||||
.portlet
|
|
||||||
{
|
|
||||||
background-color:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-state-highlight {margin-top:5px; height: 2.5em; line-height: 1.2em; }
|
.ui-state-highlight {margin-top:5px; height: 2.5em; line-height: 1.2em; }
|
||||||
.liHover:hover {
|
.liHover:hover {
|
||||||
background-color: #E2E6E5;
|
background-color: #E2E6E5;
|
||||||
@ -216,7 +211,6 @@ h3 {
|
|||||||
float:left;
|
float:left;
|
||||||
width:250px;
|
width:250px;
|
||||||
margin:2px;
|
margin:2px;
|
||||||
padding:2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.clearfix:after {
|
.clearfix:after {
|
||||||
|
Loading…
Reference in New Issue
Block a user