Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 10 → Rev 11

/trunk/presentation/gestion.tpl.html
1,15 → 1,20
<dl>
<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>22 jours</dd>
<dd><?=$conges_payes;?> jours</dd>
<dt>Heures supp restantes</dt>
<dd> 2 jours 6heures </dd>
<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">
<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>
<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>
26,16 → 31,52
<tr>
<?php foreach ($semaine as $jour) : ?>
<td class="<?=$jour['class'];?>">
<? if ($jour['class'] == 'empty') :?>
<? if ($jour['class'] == 'jour_vide') :?>
<?=$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>
<a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
<? endif;?>
</td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
 
<form id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post">
<table>
<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'];?>
<a href="<?=$url_semaine_suivante;?>">&gt;&gt;</a>
</caption>
<thead>
<tr>
<th>Projets</th>
<?php foreach ($elements[$s] as $jour) : ?>
<th class="<?=$jour['class'];?>">
<? if ($jour['class'] == 'jour_vide') :?>
<?=$jour['jour_nom'];?> <?=$jour['jour'];?>
<? else :?>
<a href="<?=$jour['url'];?>"><?=$jour['jour_nom'];?> <?=$jour['jour'];?></a>
<? endif;?>
</th>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?foreach ($preferences as $categorie => $projets):?>
<tr><td colspan="8" class="categorie"><?=$categorie;?></td></tr>
<?foreach ($projets as $projet):?><tr>
<td class="projet"><?=$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; ?>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
</tbody>
</table>
<input id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" />
</form>
</div>
/trunk/presentation/connexion.tpl.html
New file
0,0 → 1,20
 
<form action="<?=$url;?>" method="post" name="login" id="login">
<fieldset>
<legend>Identifiez vous</legend>
<table id="connexion">
<caption>Identification</caption>
<tr>
<th>Courriel</th>
<td><input name="username" type="text" /></td>
</tr>
<tr>
<th>Mot de passe</th>
<td><input name="password" type="password" /></td>
</tr>
<tr>
<td colspan="2"><input name="btn_submit" value="OK" type="submit" /></td>
</tr>
</table>
</fieldset>
</form>
/trunk/presentation/principal.tpl.html
3,10 → 3,19
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" type="text/css" href="presentation/gtt_vert.css" media="screen" title="Vert" />
<title>Editer Preferences</title>
<title><?=$titre;?></title>
</head>
<body>
<h1 id="titre_principal"><?=$titre;?></h1>
<div id="contenu_principal"><?=$contenu_principal;?></div>
<div id="zone_contenu_principal"><?=$zone_contenu;?></div>
<div id="zone_identification"><?=$zone_identification;?></div>
<div id="zone_menu">
<h2>Menu</h2>
<ul>
<li><a href="index.php?action=<?=GTT_ACTION_GESTION;?>">Gestion de mon temps de travail</a></li>
<li><a href="index.php?action=<?=GTT_ACTION_PREFERENCE;?>">Gestion de mes projets</a></li>
<li><a href="index.php?action=<?=GTT_ACTION_DECONNEXION;?>">Déconnexion</a></li>
</ul>
</div>
</body>
</html>
/trunk/presentation/gtt_vert.css
194,14 → 194,6
float: left;
}
 
/*ID pour la div contenant le calendrier*/
#calendrier {
text-align: center;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 1.1em;
color: #BB0000;
}
 
/*ID pour la div contenant la navigation dans le calendrier du menu travail*/
#navigation_calendrier_travail {
text-align: center;
216,18 → 208,46
color: #BB0000;
}
 
/*ID pour la div contenant le jour courant dans le calendrier*/
#jourcourant {
color: #BB0000;
background-color: #FFFFFF;
border-color: #74C054;
border-width: 4px;
border-style: outset;
}
/* GTT VERSION 4 */
/* presentation des listes de definitions */
dl {width:100%;}
dt {
float:left;
font-weight: bold;
line-height:1.1em;
text-align:top left;
margin-right:0.3em;}
dd {
width:auto;
margin-left:0;
line-height:1.1em;
margin:0.5em 0;}
.ajout_2_points dt:after {content:" : ";}
 
#calendrier {
font-family:verdana, arial, helvetica, sans-serif;
font-size:1.1em;}
#calendrier table {background-color: silver;}
.selected {
background-color: yellow;
}
.empty {
color: white;
}
#calendrier table td {text-align: center;}
#calendrier caption {font-weight: bold;}
#calendrier .categorie {
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;}
.jour_ferie {
background-color:red;
border-color:#74C054;
border-width:2px;
border-style:outset;}
.jour_vide {color:white;}
/trunk/presentation/identite.tpl.html
New file
0,0 → 1,7
<h2>Votre identité</h2>
<dl class="ajout_2_points">
<dt>Prénom</dt>
<dd><?=$prenom;?></dd>
<dt>Nom</dt>
<dd><?=$nom;?></dd>
</dl>