202 lines
8.9 KiB
Cheetah
202 lines
8.9 KiB
Cheetah
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<html>
|
||
<head>
|
||
<meta content="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
|
||
<title>Cr@ns Intranet</title>
|
||
<LINK href="/static/css/crans.css" TYPE="text/css" REL="stylesheet" />
|
||
<LINK href="/static/css/crans_domtab.css" TYPE="text/css" REL="stylesheet" />
|
||
<script src="/static/scripts/crans_domtab.js" type="text/javascript"></script>
|
||
<script src="/static/scripts/crans.js" type="text/javascript"></script>
|
||
<style type="text/css">
|
||
img#logo {
|
||
width:100px;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
|
||
|
||
<img id="logo" src="http://tryon/logo.png" alt="logocr@ns" />
|
||
<div id="message">
|
||
$message
|
||
</div>
|
||
|
||
|
||
<div id="paramCompte" class="domtab">
|
||
<h1>Paramètres de mon compte</h1>
|
||
<ul class="domtabs">
|
||
<li><a href="#t1">Général</a></li>
|
||
<li><a href="#t2">Machines</a></li>
|
||
<li><a href="#t3">Mails</a></li>
|
||
</ul>
|
||
<!-- +++++++++++++++++++ Infos Utilisateur +++++++++++++++++++ -->
|
||
<div>
|
||
<a name="t1" id="t1" class="mark"></a>
|
||
<dl class="tabbed_page">
|
||
<dt>Nom :</dt>
|
||
<dd>$adherent.nom
|
||
<span class="actions"><a href="#" onclick="return askForName('$adherent.nom')">modifier</a></span>
|
||
<div class="clear"></div>
|
||
</dd>
|
||
<dt>Prénom :</dt>
|
||
<dd>$adherent.prenom
|
||
<span class="actions"><a href="#" onclick="return askForSurname('$adherent.prenom')">modifier</a></span>
|
||
<div class="clear"></div>
|
||
|
||
</dd>
|
||
<dt>Chambre :</dt>
|
||
<dd>$adherent.chambre</dd>
|
||
<dt>Solde :</dt>
|
||
<dd>$adherent.solde €</dd>
|
||
<dt>Téléphone :</dt>
|
||
<dd>$adherent.telephone
|
||
<span class="actions"><a href="#" onclick="return askForTel('$adherent.telephone')">modifier</a></span>
|
||
<div class="clear"></div>
|
||
</dd>
|
||
|
||
#if $adherent.droits
|
||
<dt>Droits :</dt>
|
||
<dd>
|
||
$adherent.droits
|
||
</dd>
|
||
#end if
|
||
|
||
|
||
<dt>État administratif pour l'année $adherent.anneeScolaire :</dt>
|
||
<dd>
|
||
<dl>
|
||
<dt>Cotisation : </dt>
|
||
<dd>#if $adherent.cotisationOK
|
||
<span class="valide"> OK</span>
|
||
#else
|
||
<span class="invalide"> Non payée</span>
|
||
#end if
|
||
</dd>
|
||
<dt>Carte d'étudiant : </dt>
|
||
<dd>#if $adherent.carteOK
|
||
<span class="valide"> OK</span>
|
||
#else
|
||
<span class="invalide"> pas de carte d'étudiant</span>
|
||
#end if
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
|
||
<dt class="last">Changer mon mot de passe</dt>
|
||
<dd class="last">
|
||
<form action="changePasswordAdherent" name="changePasswordForm" method="POST">
|
||
<label class="textInputLabel" for="ancienPassword">Ancien mot de passe : </label>
|
||
<input type="password" id="ancienPassword" name="ancienPassword"/><br />
|
||
<label class="textInputLabel" for="nouveauPassword1">Nouveau mot de passe : </label>
|
||
<input type="password" id="nouveauPassword1" name="nouveauPassword1"/><br />
|
||
<a class="textInputNote" href="#" onclick="return GeneratePassword()">Générer un nouveau mot de passe</a><br />
|
||
<label class="textInputLabel" for="nouveauPassword2">Confirmation : </label>
|
||
<input type="password" id="nouveauPassword2" name="nouveauPassword2"/><br />
|
||
<input type="submit" value="Modifier" />
|
||
</form>
|
||
</dd>
|
||
|
||
</dl>
|
||
</div>
|
||
|
||
|
||
<!-- +++++++++++++++++++ Infos Machines +++++++++++++++++++ -->
|
||
<div>
|
||
<a name="t2" id="t2" class="mark"></a>
|
||
<ul class="tabbed_page">
|
||
#for $machine in $machines
|
||
<li>
|
||
<h5>$machine.nom</h5>
|
||
<dl class="machineInfos">
|
||
<dt>Type : </dt><dd>$machine.type</dd>
|
||
<dt>MAC : </dt><dd>$machine.mac</dd>
|
||
<dt>IP : </dt><dd>$machine.ip</dd>
|
||
#if $machine.ipsec
|
||
<dt>Clef ipsec : </dt><dd>$machine.ipsec</dd>
|
||
#end if
|
||
</dl>
|
||
<div class="clear"></div>
|
||
<span class="actions">
|
||
<a href="#" onclick="return askForMachineName('$machine.nomCourt', '$machine.mid')">renommer</a>
|
||
<a href="#" onclick="return askForMachineMac('$machine.mac', '$machine.mid')">Changer de MAC</a>
|
||
<a href="#">Supprimer</a>
|
||
</span>
|
||
<div class="clear"></div>
|
||
</li>
|
||
#end for
|
||
<li class="last">
|
||
<h5>Ajouter une machine</h5>
|
||
<form action="creerMachine" method="post">
|
||
<label class="textInputLabel" for="nomNouvelleMachine">Nom de la machine :</label>
|
||
<input type="text" id="nomNouvelleMachine" name="nomNouvelleMachine"/><br />
|
||
<label class="textInputLabel" for="MACNouvelleMachine">Adresse MAC :</label>
|
||
<input type="text" id="MACNouvelleMachine" name="MACNouvelleMachine"/><br />
|
||
<a class="textInputNote" href="#" onclick="return GeneratePassword()">Comment trouver l'adresse mac ?</a><br />
|
||
<label class="checkBoxLabel" for="isWifi"><input type="checkbox" id="estMachineWifi" name="estMachineWifi" value="1" />machine wifi</label><br />
|
||
<input type="submit" value="Ajouter" />
|
||
</form>
|
||
<p class="note"><b>Note :</b>Pour les non membres actifs, le nombre de machines fixes est limit<69>é à 1</p>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
<!-- +++++++++++++++++++ Infos Mails +++++++++++++++++++ -->
|
||
<div>
|
||
<a name="t3" id="t3" class="mark"></a>
|
||
<form action="saveMailPrefs" method="POST">
|
||
<dl class="tabbed_page">
|
||
<dt>Transfert:</dt>
|
||
<dd>
|
||
<label for="forwarding_address" class="labelInput">
|
||
<input type="text" name="forwarding_address" id="forwarding_address" class="inputText" value="" />
|
||
<p class="textInputNote">Laisser vide pour désactiver le transfert</p><br />
|
||
|
||
</label>
|
||
</dd>
|
||
<dt>Tri des spams:</dt>
|
||
<dd>
|
||
<label for="spanTreatment_no" class="labelRadio">
|
||
#if $mailInfos.spam.no
|
||
<input type="radio" name="spanTreatment" id="spanTreatment_no" class="inputRadio" value="no" checked /> Aucun
|
||
#else
|
||
<input type="radio" name="spanTreatment" id="spanTreatment_no" class="inputRadio" value="no" /> Aucun
|
||
#end if
|
||
</label><br />
|
||
|
||
<label for="spanTreatment_mark" class="labelRadio">
|
||
#if $mailInfos.spam.mark
|
||
<input type="radio" name="spanTreatment" id="spanTreatment_mark" class="inputRadio" value="mark" checked /> Marquer
|
||
#else
|
||
<input type="radio" name="spanTreatment" id="spanTreatment_mark" class="inputRadio" value="mark" /> Marquer
|
||
#end if
|
||
</label><br />
|
||
|
||
<label for="spanTreatment_drop" class="labelRadio">
|
||
#if $mailInfos.spam.drop
|
||
<input type="radio" name="spanTreatment" id="spanTreatment_drop" class="inputRadio" value="drop" checked /> Supprimer
|
||
#else
|
||
<input type="radio" name="spanTreatment" id="spanTreatment_drop" class="inputRadio" value="drop" /> Supprimer
|
||
#end if
|
||
</label><br />
|
||
|
||
|
||
|
||
</dd>
|
||
<dt>Alias:</dt>
|
||
<dd>...</dd>
|
||
</dl>
|
||
|
||
<ul class="tabbed_page">
|
||
<li class="last centrer">
|
||
<input type="reset" value="Reset">
|
||
<input type="submit" nom="mailSubmit" value="Soumettre">
|
||
</li>
|
||
</ul>
|
||
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|