Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 9 → Rev 10

/trunk/presentation/gestion.tpl.html
New file
0,0 → 1,41
<dl>
<dt>Congés payés restants</dt>
<dd>22 jours</dd>
<dt>Heures supp restantes</dt>
<dd> 2 jours 6heures </dd>
</dl>
 
<div id="calendrier">
<p><a href="<?=$url_mois_precedent;?>">Mois précédent</a> - <a href="<?=$url_mois_suivant;?>">Mois suivant</a></p>
<p><a href="<?=$url_semaine_precedente;?>">Semaine précédente</a> - <a href="<?=$url_semaine_suivante;?>">Semaine suivante</a></p>
<table>
<caption><?=$mois_courant_nom;?></caption>
<thead>
<tr>
<th>Lun</th>
<th>Mar</th>
<th>Mer</th>
<th>Jeu</th>
<th>Ven</th>
<th>Sam</th>
<th>Dim</th>
</tr>
</thead>
<tbody>
<?php foreach ($elements as $semaine) : ?>
<tr>
<?php foreach ($semaine as $jour) : ?>
<td class="<?=$jour['class'];?>">
<? if ($jour['class'] == 'empty') :?>
<?=$jour['jour'];?>
<? else :?>
<a href="index.php?action=<?=GTT_ACTION_GESTION;?>&amp;annee=<?=$jour['annee'];?>&amp;mois=<?=$jour['mois'];?>&amp;jour=<?=$jour['jour'];?>"><?=$jour['jour'];?></a>
<? endif;?>
</td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>