Ajout des liens de controles

This commit is contained in:
Michael RICOIS 2012-01-03 07:26:04 +00:00
parent 30e2a2943a
commit c40222d5fe
4 changed files with 18 additions and 4 deletions

View File

@ -1 +0,0 @@
<a style="color:white"href="/index/reset">Vider la session</a>

View File

@ -1,4 +1,4 @@
<div id="primaryNavigation" class="clearfix">
<div id="primaryNavigation" class="clearfix">
<ul>
<li><a href="<?=$this->url(array('controller'=>'index', 'action'=>'index'), null, true)?>">Accueil</a></li>
<li><a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'index'), null, true)?>">Tableau de bord</a></li>
@ -25,4 +25,8 @@
<div id="attente" style="display:none;">
<img src="/themes/default/images/ajax.gif" />
</div>
<div id="control">
[<a href="<?=$this->url(array('controller'=>'index', 'action'=> 'reset'))?>">Initialiser les critères</a>],
[<a href="">Sauvegarder le profil du ciblage</a>]
</div>
</div>

View File

@ -149,7 +149,13 @@ $(document).ready(function(){
var values = $('input[name='+key+'1]').val() + ',' + $('input[name='+key+'2]').val();
set(key, values);
return false;
});
});
$('#message').hover(
function(){ $('#control').css('display', 'block'); },
function(){ $('#control').css('display', 'none'); }
);
});
function set(key, value)

View File

@ -28,11 +28,16 @@ body {
color: #000000;
text-align:center;
line-height: 25px;
margin-bottom: 2px;
/*margin-bottom: 2px;*/
padding: 0 1em;
width:450px;
}
#header #message #control {
display:none;
}
#header h1 {
border: 0 none;
bottom: 15px;