Historiques des ciblages

This commit is contained in:
Michael RICOIS 2012-01-05 15:38:27 +00:00
parent 41dbce8818
commit aaf0f079d0
3 changed files with 63 additions and 8 deletions

View File

@ -1,8 +1,42 @@
<div style="background-color:#ffffff;padding:5px;">
<div id="dashboard">
<div style="margin:5px 0;">
<h2>Liste de vos ciblages</h2>
<?php if(count($this->ciblages)>0):?>
<table class="ciblage">
<thead>
<tr>
<th>Référence</th>
<th>Nombre d'entité</th>
<th>Unité Insee</th>
<th>Date</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php foreach($this->ciblages as $item):?>
<tr>
<td><?=$item['reference']?></td>
<td><?=number_format($item['resultat'], 0, ',', ' ')?></td>
<td><?=number_format($item['uniteInsee'], 0, ',', ' ')?></td>
<td><?=$item['dateComptage']?></td>
<td>
[<a href="<?=$this->url(array('controller'=> 'dashboard','action'=>'ciblagedetails', 'id'=>$item['id']))?>">Détails</a>] -
[<a href="<?=$this->url(array('controller'=> 'index','action'=>'criteres', 'id'=>$item['id']))?>">Recharger les critères de ciblage</a>] -
[<a href="<?=$this->url(array('controller'=> 'comptage','action'=>'update', 'id'=>$item['id']))?>">Actualiser le comptage</a>] -
[<a href="<?=$this->url(array('controller'=> 'comptage','action'=>'update', 'id'=>$item['id']))?>">Extraction de données</a>]
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
<?php else:?>
<p>Aucun ciblage.<p>
<?php endif;?>
</div>
</div>

View File

@ -1,4 +1,4 @@
<div style="background-color:#ffffff;padding:5px;">
<div id="dashboard">
<div class="chemin">
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>''))?>">Tableau de bord</a>

View File

@ -1,7 +1,7 @@
body {
background: url("/themes/default/images/bg-home-tile.jpg") repeat-x scroll 50% 0 #005596;
color: #000000;
font: 62.5% "Trebuchet MS",Verdana,Helvetica,Arial,sans-serif !important;
font: 0.8em "Trebuchet MS",Verdana,Helvetica,Arial,sans-serif;
margin: 0;
padding: 0;
}
@ -23,12 +23,10 @@ body {
clear: right;
float: right;
margin-top: 34px;
font-size: 1.2em;
background-color: #ffffff;
color: #000000;
text-align:center;
line-height: 25px;
/*margin-bottom: 2px;*/
padding: 0 1em;
width:450px;
}
@ -67,7 +65,6 @@ body {
top: 80px;
}
#primaryNavigation {
background: url("/themes/default/images/menu/bg_primaryNav_left.gif") no-repeat scroll left bottom #192839;
float: right;
@ -91,7 +88,6 @@ body {
#primaryNavigation li a {
color: #D0D0D0;
float: left;
font-size: 1.2em;
line-height: 25px;
margin-bottom: 2px;
padding: 0 1em;
@ -200,7 +196,7 @@ h3 {
}
.ui-tabs .ui-tabs-nav {
font-size: 0.8em;
font-size: 0.7em;
}
#comptage .valeur {
@ -251,3 +247,28 @@ h3 {
}
ul#fieldsblock li { list-style-type: none; }
table.ciblage {
width:100%;
}
table.ciblage th {
border:1px solid #000000;
padding:2px;
}
table.ciblage td {
border:1px solid #000000;
padding:2px;
}
#dashboard {
background-color:#ffffff;
padding:10px 5px;
}
#dashboard h2 {
margin:5px 0;
}