/trunk/presentation/stat_tableau_charge.tpl.html |
---|
26,49 → 26,66 |
<tr> |
<th>Projets</th> |
<?php foreach ($elements as $jour) : ?> |
<th class="<?=$jour['class']?>"> |
<?=$jour['jour_nom']?> <?=$jour['jour']?> |
</th> |
<th class="<?=$jour['class']?>"><?=$jour['jour_nom']?> <?=$jour['jour']?></th> |
<?php endforeach; ?> |
<th>Total</th> |
</tr> |
</thead> |
<tbody> |
<?php if (isset($projets)) : ?> |
<?php $ligne = "impair"; ?> |
<tr class="total"> |
<th>Travail</th> |
<?php foreach ($elements as $jour) : ?> |
<td><?=(!empty($jour['travail'])) ? $jour['travail'] : " ";?></td> |
<?php endforeach; ?> |
<td class="total"><?=$total_w;?></td> |
</tr> |
<?foreach ($projets as $categorie => $pr):?> |
<tr class="categories <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>"> |
<td class="entete categories_titre"><?=$categorie;?></td> |
<th class="entete categories_titre"><?=$categorie;?></th> |
<?php foreach ($elements as $jour_id => $jour) : ?> |
<td class="categories_total"><?=(isset($categorie_totaux[$categorie][$jour_id])) ? $categorie_totaux[$categorie][$jour_id] : " ";?></td> |
<td class="categories_total"><?=(isset($categories[$categorie][$jour_id])) ? $categories[$categorie][$jour_id] : " ";?></td> |
<?php endforeach; ?> |
<td class="total"><?=$categories[$categorie]['total'];?></td> |
</tr> |
<?foreach ($pr as $id => $projet):?> |
<tr class="projets <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>"> |
<td id="pr:<?=$id;?>" class="entete projet_nom"><?=$projet['nom'];?></td> |
<th id="pr:<?=$id;?>" class="entete projet_nom" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></th> |
<?php foreach ($elements as $jour_id => $jour) : ?> |
<td class="projet"><?=(isset($projet['duree'][$jour_id])) ? $projet['duree'][$jour_id] : " ";?></td> |
<?php endforeach; ?> |
<td class="total"><?=(isset($projet['total'])) ? $projet['total'] : " ";?></td> |
</tr> |
<?php endforeach; ?> |
<?php endforeach; ?> |
<?php endif; ?> |
<?php if (isset($absences)) : ?> |
<?php $ligne = "impair"; ?> |
<tr class="absences"> |
<td class="entete absences_titre">Absences</td> |
<?php foreach ($elements as $jour_id => $jour) : ?> |
<td class="absences_total"><?=(isset($ab_total[$jour_id])) ? $ab_total[$jour_id] : " ";?></td> |
<tr class="total"> |
<th class="entete absences_titre">Absences</th> |
<?php foreach ($elements as $jour) : ?> |
<td><?=(!empty($jour['absence'])) ? $jour['absence'] : " ";?></td> |
<?php endforeach; ?> |
<td class="total"><?=$total_a;?></td> |
</tr> |
<?php foreach ($absences as $ab_id => $ab_libelle) : ?> |
<?php $ligne = "impair"; ?> |
<?php foreach ($absences as $ab_id => $absence) : ?> |
<tr class="<?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>"> |
<td id="ab:<?=$ab_id;?>" class="entete absence_nom"><?=$ab_libelle;?></td> |
<th id="ab:<?=$ab_id;?>" class="entete absence_nom"><?=$absence['nom'];?></th> |
<?php foreach ($elements as $jour_id => $jour) : ?> |
<td class="absence"><?= (isset($ab[$ab_id][$jour_id])) ? $ab[$ab_id][$jour_id] : " ";?></td> |
<td><?= (isset($ab[$ab_id][$jour_id])) ? $ab[$ab_id][$jour_id] : " ";?></td> |
<?php endforeach; ?> |
<td class="total"><?=(!empty($absence['total'])) ? $absence['total'] : ' ' ;?></td> |
</tr> |
<?php endforeach; ?> |
<?php endif; ?> |
<tr class="total"> |
<th>Total</th> |
<?php foreach ($elements as $jour) : ?> |
<td><?=(!empty($jour['w_et_a'])) ? $jour['w_et_a'] : " ";?></td> |
<?php endforeach; ?> |
<td class="total"><?=$total;?></td> |
</tr> |
</tbody> |
</table> |
<?php endif; ?> |
/trunk/presentation/styles/disposition.css |
---|
5,8 → 5,13 |
body,h1,h2,p{ |
margin:0; |
padding:0;} |
legend{ |
margin:0 0 0 1em;} |
legend{margin:0 0 0 1em;} |
form {width:100%;} |
label{ |
display:block; |
float:left; |
padding-right:5px; |
min-width:150px;} |
/* Disposition des éléments sur la page */ |
#zone_entete { |
47,14 → 52,13 |
padding:0 0 0 5px;} |
/* Détails */ |
#gestion { |
width:100%; |
text-align:center;} |
#gestion input {width:80px;} |
#gestion #btn_valider { |
#gestion #btn_valider,.btn_large{ |
width:50%; |
height:50px; |
margin:5px auto;} |
form.centre{ |
text-align:center;} |
#calendrier_gestion table{ |
width:100%; |
clear:both;} |
67,11 → 71,6 |
#info_semaine{text-align:right;} |
/*Formulaires*/ |
label{ |
display:block; |
float:left; |
padding-right:5px; |
min-width:150px;} |
.editer li{ |
display:block; |
float:left; |
/trunk/presentation/styles/emeraude/emeraude.css |
---|
43,9 → 43,12 |
/* Présentation générale des tableaux */ |
table{border:1px dotted black;} |
th{ |
thead th{ |
background-color:#486300; |
color:white;} |
tbody th{ |
text-align:left !important; |
width:20%;} |
td{text-align:center;} |
tr.pair{background-color: #F1F2E7;} |
caption{margin-top:1em;} |
199,13 → 202,14 |
#connexion td{ |
width:50%;} |
/* Tableau stats*/ |
tbody td.total{ |
width:5%;} |
tr.categories,tr.absences{ |
height:1em; |
font-size:1.2em; |
text-align:left !important; |
padding:1px; |
margin:0 0.2em; |
background-image: url('images/a2.gif');} |
tr.total, tr.total th{ |
color:white; |
font-weight:white; |
background-color:#B30000;} |
#tab_tps_w_mensuel_salarie{ |
width:100%;} |
.entete{width:250px;} |
215,4 → 219,10 |
display:inline; |
float:none; |
min-width:0; |
font-weight:normal;} |
font-weight:normal;} |
#preferences .pr_no { |
font-weight:bold; |
width:30%;} |
#preferences .pr_de { |
font-size:0.8em; |
text-align:left;} |
/trunk/presentation/admin_utilisateur.tpl.html |
---|
80,6 → 80,33 |
<input size="3" name="ut_temps_de_travail_mois" type="text" value="<?=$Utilisateur->getTempsDeTravailMois();?>"/> |
</li> |
<li> |
<label for="ut_tdt">Temps de travail hebdomadaire :</label> |
<table id="ut_tdt"> |
<thead> |
<tr> |
<th>Lundi</th> |
<th>Mardi</th> |
<th>Mercredi</th> |
<th>Jeudi</th> |
<th>Vendredi</th> |
<th>Samedi</th> |
<th>Dimanche</th> |
</tr> |
</thead> |
<tbody> |
<tr> |
<td><input size="3" name="ut_tdt_lundi" type="text" value="<?=$Utilisateur->getTdtLundi();?>"/></td> |
<td><input size="3" name="ut_tdt_mardi" type="text" value="<?=$Utilisateur->getTdtMardi();?>"/></td> |
<td><input size="3" name="ut_tdt_mercredi" type="text" value="<?=$Utilisateur->getTdtMercredi();?>"/></td> |
<td><input size="3" name="ut_tdt_jeudi" type="text" value="<?=$Utilisateur->getTdtJeudi();?>"/></td> |
<td><input size="3" name="ut_tdt_vendredi" type="text" value="<?=$Utilisateur->getTdtVendredi();?>"/></td> |
<td><input size="3" name="ut_tdt_samedi" type="text" value="<?=$Utilisateur->getTdtSamedi();?>"/></td> |
<td><input size="3" name="ut_tdt_dimanche" type="text" value="<?=$Utilisateur->getTdtDimanche();?>"/></td> |
</tr> |
</tbody> |
</table> |
</li> |
<li> |
<label for="ut_quota_heures_sup">Heures supplémentaires initiales :</label> |
<input size="3" name="ut_quota_heures_supp" type="text" value="<?=$Utilisateur->getQuotaHeuresSupp();?>"/> |
</li> |
/trunk/presentation/stat_tableau_global.tpl.html |
---|
16,17 → 16,24 |
<tbody> |
<?php $ligne = "impair"; ?> |
<?php if ($categories) : ?> |
<tr class="total"> |
<th>Travail</th> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<td><?=(isset($utilisateur['total_w'])) ? $utilisateur['total_w'] : " ";?></td> |
<?php endforeach; ?> |
<td class="total"><?=$total_projets;?></td> |
</tr> |
<?foreach ($categories as $idc => $categorie):?> |
<tr class="categories"> |
<td class="categories_titre"><?=$categorie['nom'];?></td> |
<th class="categories_titre"><?=$categorie['nom'];?></th> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<td class="categories_total"><?=(isset($utilisateur['projets'][$idc]['total'])) ? $utilisateur['projets'][$idc]['total'] : " ";?></td> |
<?php endforeach; ?> |
<td><?=$categorie['total'];?></td> |
<td class="total"><?=$categorie['total'];?></td> |
</tr> |
<?foreach ($categorie['projets'] as $idp => $projet):?> |
<tr class="utilisateur <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>"> |
<td id="pr:<?=$idp;?>" class="projet_nom"><?=$projet['nom'];?></td> |
<th id="pr:<?=$idp;?>" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></th> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<td class="projet"><?=(isset($utilisateur['projets'][$idc][$idp])) ? $utilisateur['projets'][$idc][$idp]['duree'] : " ";?></td> |
<?php endforeach; ?> |
34,25 → 41,18 |
</tr> |
<?php endforeach; ?> |
<?php endforeach; ?> |
<tr class="total"> |
<td>Total travail</td> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<td><?=(isset($utilisateur['total_w'])) ? $utilisateur['total_w'] : " ";?></td> |
<?php endforeach; ?> |
<td><?=$total_projets;?></td> |
</tr> |
<?php endif; ?> |
<?php if ($absences) : ?> |
<tr class="absences"> |
<td class="absences_titre">Absences</td> |
<tr class="total"> |
<th class="absences_titre">Absences</th> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<td class="absences_total"><?=$utilisateur['total_a'];?></td> |
<td><?=$utilisateur['total_a'];?></td> |
<?php endforeach; ?> |
<td><?=$total_absences;?></td> |
<td class="total"><?=$total_absences;?></td> |
</tr> |
<?php foreach ($absences as $ida => $absence) : ?> |
<tr class="utilisateur <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>"> |
<td id="ab:<?=$ida;?>" class="absence_nom"><?=$absence['nom'];?></td> |
<th id="ab:<?=$ida;?>" class="absence_nom"><?=$absence['nom'];?></th> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<td class="absence"><?= (isset($utilisateur['ab'][$ida])) ? $utilisateur['ab'][$ida] : " ";?></td> |
<?php endforeach; ?> |
61,11 → 61,11 |
<?php endforeach; ?> |
<?php endif; ?> |
<tr class="total"> |
<td>Total</td> |
<th>Total</th> |
<?php foreach ($utilisateurs as $utilisateur) : ?> |
<td><?=(isset($utilisateur['total'])) ? $utilisateur['total'] : " ";?></td> |
<?php endforeach; ?> |
<td><?=$total_absences_projets;?></td> |
<td class="total"><?=$total_absences_projets;?></td> |
</tr> |
</tbody> |
</table> |
/trunk/presentation/images/pixels/avancement.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/presentation/images/pixels/avancement.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/presentation/images/pixels/vide.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/presentation/images/pixels/vide.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/presentation/gestion.tpl.html |
---|
4,7 → 4,7 |
</div> |
<div id="calendrier_gestion" class="calendrier"> |
<?php if ($bool_projets) : ?> |
<form id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post"> |
<form class="centre" id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post"> |
<table id="tab_gestion"> |
<caption> |
<a href="<?=$url_semaine_precedente;?>"><<</a> |
32,7 → 32,7 |
</tr> |
<?foreach ($projets as $projet):?> |
<tr> |
<td class="projet"><?=$projet['nom'];?></td> |
<td class="projet" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></td> |
<?php foreach ($elements[$s] as $num => $jour) : ?> |
<td class="<?=$jour['class'];?>"><input id="pr:<?=$projet['id'];?>:<?=$num;?>" name="pr:<?=$projet['id'];?>:<?=$num;?>" value="<?=$projet['date'][$num];?>" type="text"/></td> |
<?php endforeach; ?> |
63,7 → 63,7 |
</tr> |
</tbody> |
</table> |
<input id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" /> |
<input class="btn_large" id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" /> |
</form> |
<?php else : ?> |
<p class="information">Veuillez sélectionner des projets via le menu "Gestion de mes projets".</p> |