73 |
jpm |
1 |
<div id="info">
|
|
|
2 |
<p id="info_aujourdhui">Aujourd'hui, nous sommes le <a href="<?=$jc_url;?>"><?=$jc['jour'];?> <?=$jc['mois_nom'];?> <?=$jc['annee'];?></a></p>
|
|
|
3 |
<p id="info_semaine">Semaine du <a href="<?=$jc_url;?>"><?=$sjc_1['jour'];?> <?=$sjc_1['mois'];?> <?=$sjc_1['annee'];?> au <?=$sjc_7['jour'];?> <?=$sjc_7['mois'];?> <?=$sjc_7['annee'];?></a></p>
|
|
|
4 |
</div>
|
|
|
5 |
<div id="calendrier_gestion" class="calendrier">
|
67 |
jpm |
6 |
<?php if ($bool_projets) : ?>
|
110 |
jpm |
7 |
<form class="centre" id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post">
|
106 |
jpm |
8 |
<table id="tab_gestion">
|
|
|
9 |
<caption>
|
|
|
10 |
<a href="<?=$url_semaine_precedente;?>"><<</a>
|
|
|
11 |
<?=$sj_1['jour'];?> <?=$sj_1['mois'];?> <?=$sj_1['annee'];?> au <?=$sj_7['jour'];?> <?=$sj_7['mois'];?> <?=$sj_7['annee'];?>
|
|
|
12 |
<a href="<?=$url_semaine_suivante;?>">>></a>
|
|
|
13 |
</caption>
|
|
|
14 |
<thead>
|
|
|
15 |
<tr>
|
|
|
16 |
<th>Projets</th>
|
|
|
17 |
<?php foreach ($elements[$s] as $jour) : ?>
|
|
|
18 |
<th class="<?=$jour['class'];?>">
|
|
|
19 |
<?=$jour['jour_nom'];?> <?=$jour['jour'];?>
|
|
|
20 |
</th>
|
11 |
jpm |
21 |
<?php endforeach; ?>
|
106 |
jpm |
22 |
</tr>
|
|
|
23 |
</thead>
|
|
|
24 |
<tbody>
|
|
|
25 |
<?php if ($bool_projets) : ?>
|
|
|
26 |
<?foreach ($preferences as $categorie => $projets):?>
|
|
|
27 |
<tr>
|
|
|
28 |
<td class="categorie"><?=$categorie;?></td>
|
|
|
29 |
<?php foreach ($elements[$s] as $num => $jour) : ?>
|
|
|
30 |
<td class="categorie_total"><?=$categorie_totaux[$categorie][$num];?></td>
|
|
|
31 |
<?php endforeach; ?>
|
|
|
32 |
</tr>
|
|
|
33 |
<?foreach ($projets as $projet):?>
|
|
|
34 |
<tr>
|
110 |
jpm |
35 |
<td class="projet" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></td>
|
106 |
jpm |
36 |
<?php foreach ($elements[$s] as $num => $jour) : ?>
|
|
|
37 |
<td class="<?=$jour['class'];?>"><input id="pr:<?=$projet['id'];?>:<?=$num;?>" name="pr:<?=$projet['id'];?>:<?=$num;?>" value="<?=$projet['date'][$num];?>" type="text"/></td>
|
|
|
38 |
<?php endforeach; ?>
|
|
|
39 |
</tr>
|
|
|
40 |
<?php endforeach; ?>
|
|
|
41 |
<?php endforeach; ?>
|
|
|
42 |
<? endif;?>
|
|
|
43 |
<tr>
|
|
|
44 |
<td class="categorie">Absences</td>
|
|
|
45 |
<?php foreach ($elements[$s] as $num => $jour) : ?>
|
|
|
46 |
<td class="categorie_total"><?=$ab_total[$num];?></td>
|
|
|
47 |
<?php endforeach; ?>
|
|
|
48 |
</tr>
|
|
|
49 |
<?php foreach ($ab as $ab_id => $tab_ab_jours) : ?>
|
|
|
50 |
<tr>
|
|
|
51 |
<td class="absence_titre"><?=$ab_libelle[$ab_id];?></td>
|
|
|
52 |
<?php foreach ($elements[$s] as $num => $jour) : ?>
|
|
|
53 |
<td class="ab <?=$jour['class'];?>"><input id="ab:<?=$ab_id;?>:<?=$num;?>" name="ab:<?=$ab_id;?>:<?=$num;?>" value="<?=$tab_ab_jours[$num];?>" type="text"/></td>
|
|
|
54 |
<?php endforeach; ?>
|
|
|
55 |
</tr>
|
|
|
56 |
<?php endforeach; ?>
|
|
|
57 |
|
|
|
58 |
<tr>
|
|
|
59 |
<td class="totaux_titre">Totaux journée</td>
|
|
|
60 |
<?php foreach ($elements[$s] as $num => $jour) : ?>
|
|
|
61 |
<td class="totaux"><?=$totaux[$num];?></td>
|
|
|
62 |
<?php endforeach; ?>
|
|
|
63 |
</tr>
|
|
|
64 |
</tbody>
|
|
|
65 |
</table>
|
110 |
jpm |
66 |
<input class="btn_large" id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" />
|
106 |
jpm |
67 |
</form>
|
67 |
jpm |
68 |
<?php else : ?>
|
106 |
jpm |
69 |
<p class="information">Veuillez sélectionner des projets via le menu "Gestion de mes projets".</p>
|
67 |
jpm |
70 |
<? endif;?>
|
18 |
jpm |
71 |
</div>
|