Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 72 → Rev 73

/trunk/presentation/identite.tpl.html
4,4 → 4,10
<dd><?=$prenom;?></dd>
<dt>Nom</dt>
<dd><?=$nom;?></dd>
<dt title="Vous devez travailler le nombre d'heure indiqué chaque jour">Temps travail</dt>
<dd><?=$tps_w;?> h. par j.</dd>
<dt title="Nombre de jours de congés payés vous restant à prendre">CP restants</dt>
<dd><?=$conges_payes;?> j.</dd>
<dt title="Nombre d'heures supplémentaires accumulées">Heures sup.</dt>
<dd><?=$rtt;?> h.</dd>
</dl>
/trunk/presentation/gestion.tpl.html
1,43 → 1,11
<dl class="ajout_2_points">
<dt>Vous devez travailler</dt>
<dd><?=$tps_w;?> heures par jour</dd>
<dt>Congés payés restants</dt>
<dd><?=$conges_payes;?> jours</dd>
<dt>Heures supp restantes</dt>
<dd><?=$rtt;?> heures</dd>
</dl>
<p>Aujourd'hui, nous sommes le <a href="<?=$jc_url;?>"><?=$jc['jour'];?> <?=$jc['mois_nom'];?> <?=$jc['annee'];?></a></p>
<p>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>
<div id="calendrier">
<table>
<caption><a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?>
<?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></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'] == 'jour_vide') :?>
<?=$jour['jour'];?> <? else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
<? endif;?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div id="info">
<p id="info_aujourdhui">Aujourd'hui, nous sommes le <a href="<?=$jc_url;?>"><?=$jc['jour'];?> <?=$jc['mois_nom'];?> <?=$jc['annee'];?></a></p>
<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>
</div>
<div id="calendrier_gestion" class="calendrier">
<?php if ($bool_projets) : ?>
<form id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post">
<table>
<table id="tab_gestion">
<caption>
<a href="<?=$url_semaine_precedente;?>">&lt;&lt;</a>
<?=$sj_1['jour'];?> <?=$sj_1['mois'];?> <?=$sj_1['annee'];?> au <?=$sj_7['jour'];?> <?=$sj_7['mois'];?> <?=$sj_7['annee'];?>
/trunk/presentation/principal.tpl.html
3,16 → 3,36
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<style type="text/css" media="screen"><!-- @import "presentation/disposition.css"; --></style>
<link rel="stylesheet" type="text/css" href="presentation/gtt.css" media="screen" title="Vert" />
<title><?=$titre;?></title>
</head>
<body>
<h1 id="titre_principal"><?=$titre;?></h1>
<div id="zone_contenu_principal"><?=$zone_contenu;?></div>
<div id="zone_identification"><?=$zone_identification;?></div>
<div id="zone_menu"><?=$zone_menu;?></div>
<div id="zone_erreur">
<?=(GTT_DEBOGAGE) ? $GLOBALS['_GTT_']['erreur']->retournerErreur():'';?>
</div>
<div id="zone_conteneur">
<div id="zone_entete">
<h1 id="titre_principal"><?=$titre;?></h1>
<div id="zone_accessibilite">
<a href="#zone_menu">Aller aux menus</a>
<a href="#zone_contenu">Aller au texte</a>
</div>
</div>
<div id="zone_tronc">
<div id="zone_gauche">
<div id="zone_calendrier"><?=$zone_calendrier;?></div>
<div id="zone_identification"><?=$zone_identification;?></div>
</div>
<div id="zone_centre">
<div id="zone_contenu"><?=$zone_contenu;?></div>
</div>
<div id="zone_droite">
<div id="zone_menu"><?=$zone_menu;?></div>
</div>
</div>
<div id="zone_pied">
<div id="zone_erreur">
<?=(GTT_DEBOGAGE) ? $GLOBALS['_GTT_']['erreur']->retournerErreur():'';?>
</div>
</div>
</div>
</body>
</html>
/trunk/presentation/calendrier_mini.tpl.html
New file
0,0 → 1,28
<div id="calendrier_mini" class="calendrier">
<table>
<caption><a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?>
<?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></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'] == 'jour_vide') :?>
<?=$jour['jour'];?> <? else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
<? endif;?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
/trunk/presentation/gtt.css
44,30 → 44,30
.ajout_2_points dt:after {content:" : ";}
 
/* Le calendrier */
#calendrier {
font-family:verdana, arial, helvetica, sans-serif;
font-size:1.1em;}
#calendrier table {background-color: silver;}
#calendrier table td {text-align: center;}
#calendrier caption {font-weight: bold;}
#calendrier .categorie, .totaux_titre {
font-size:1.6em;
text-align:left;
padding:1px;
margin-top:0;
margin-bottom:0;}
#calendrier .projet {
text-align:left;
font-weight:bold;}
.calendrier {
font-family:verdana, arial, helvetica, sans-serif;
font-size:1.1em;}
.calendrier table {background-color: silver;}
.calendrier table td {text-align: center;}
.calendrier caption {font-weight: bold;}
.calendrier .categorie, .totaux_titre {
font-size:1.6em;
text-align:left;
padding:1px;
margin-top:0;
margin-bottom:0;}
.calendrier .projet {
text-align:left;
font-weight:bold;}
.jour_courrant {
color:#BB0000;
background-color:yellow;
border-color:#74C054;
border-width:2px;
border-style:outset;}
color:#BB0000;
background-color:yellow;
border-color:#74C054;
border-width:2px;
border-style:outset;}
.jour_ferie {
background-color:red;
border-color:#74C054;
border-width:2px;
border-style:outset;}
border-color:#74C054;
border-width:2px;
border-style:outset;}
.jour_vide {color:white;}
/trunk/presentation/disposition.css
New file
0,0 → 1,60
@CHARSET "ISO-8859-1";
/* GTT VERSION 4 */
 
/* Modif des balises */
body {
margin: 0;
padding: 0;}
 
/* Disposition des éléments sur la page */
#zone_entete {
height:75px;
background-color: #99CCCC;}
#zone_conteneur {
position: absolute;
width:100%;
background-color:#CCCCFF;}
#zone_tronc {
position:relative;
padding:5px;}
#zone_gauche {
position: absolute;
left:0;
top:5px;
width:250px;
background-color:white;}
#zone_centre {
position:relative;
margin-left:250px;
margin-right:250px;
min-height:500px;
background-color:#9999CC;}
#zone_droite {
position:absolute;
right:0;
top:5px;
width:250px;
background-color:white;}
#zone_pied {
height:100%;
background-color: #99CC99;}
 
/* Détails */
#zone_accessibilite {
float:right;}
#gestion {
width:100%;
text-align:center;}
#gestion input {width:80px;}
#gestion #btn_valider {
width:50%;
height:50px;
margin:5px auto;}
#calendrier_gestion table{
width:100%;
clear:both;}
#connexion input[type=submit]{width:100%}
#info_aujourdhui{
float:left;
margin:0;}
#info_semaine{text-align:right;}
/trunk/presentation/menu.tpl.html
12,6 → 12,7
<li>Administration
<ul>
<li><a href="index.php?action=admin-categorie">Categories des projets</a></li>
<li><a href="index.php?action=admin-projet">Projets</a></li>
<li><a href="index.php?action=admin-absence-motif">Motifs des absences</a></li>
<li><a href="index.php?action=admin-utilisateur-statut">Statuts des utilisateurs</a></li>
<li><a href="index.php?action=admin-utilisateur">Utilisateurs</a></li>