|
@@ -4,15 +4,21 @@ |
|
|
|
|
|
|
|
|
##<form id="ProfilForm" action="javascript:DoPost('/2015/modal/Place/${form.place_id.data}');"> |
|
|
##<form id="ProfilForm" action="javascript:DoPost('/2015/modal/Place/${form.place_id.data}');"> |
|
|
% if uprofil!=request.user and request.user.uid==1: |
|
|
% if uprofil!=request.user and request.user.uid==1: |
|
|
<form id="ProfilForm" action="/MesJM2L?user=${uprofil.uid}" method="POST"> |
|
|
|
|
|
|
|
|
<form id="ProfilForm" action="#" method="POST"> |
|
|
% else: |
|
|
% else: |
|
|
<form id="ProfilForm" action="/MesJM2L" method="POST"> |
|
|
<form id="ProfilForm" action="/MesJM2L" method="POST"> |
|
|
% endif |
|
|
% endif |
|
|
|
|
|
|
|
|
<div class="row-fluid"> |
|
|
<div class="row-fluid"> |
|
|
<div class="span8"> |
|
|
<div class="span8"> |
|
|
|
|
|
% if uprofil!=request.user and request.user.Staff==1: |
|
|
|
|
|
<a href="/sign/jm2l/${uprofil.my_hash}">Se connecter "en tant que" ${uprofil.nom} ${uprofil.prenom}</a> - |
|
|
|
|
|
<a href="/user/${uprofil.slug}">Son profil public</a><br> |
|
|
|
|
|
% else: |
|
|
<a href="/sign/jm2l/${uprofil.my_hash}">Mon lien de connection</a> - |
|
|
<a href="/sign/jm2l/${uprofil.my_hash}">Mon lien de connection</a> - |
|
|
<a href="/user/${request.user.slug}">Mon profil public</a><br> |
|
|
<a href="/user/${request.user.slug}">Mon profil public</a><br> |
|
|
|
|
|
% endif |
|
|
|
|
|
|
|
|
<h3>${profil_form.prenom.data} ${profil_form.nom.data}</h3> |
|
|
<h3>${profil_form.prenom.data} ${profil_form.nom.data}</h3> |
|
|
<% |
|
|
<% |
|
|
DicFormA = { |
|
|
DicFormA = { |
|
@@ -69,10 +75,14 @@ DicForm2 = { |
|
|
<dl> |
|
|
<dl> |
|
|
<dt>SSID</dt> |
|
|
<dt>SSID</dt> |
|
|
<dd>Unice-HotSpot</dd> |
|
|
<dd>Unice-HotSpot</dd> |
|
|
<dt>Votre utilisateur:</dt> |
|
|
|
|
|
|
|
|
<!-- |
|
|
|
|
|
<dt>Votre utilisateur:</dt> |
|
|
<dd>${uprofil.wifi_user}</dd> |
|
|
<dd>${uprofil.wifi_user}</dd> |
|
|
<dt>Le mot de passe:</dt> |
|
|
<dt>Le mot de passe:</dt> |
|
|
<dd>${uprofil.wifi_pass}</dd> |
|
|
<dd>${uprofil.wifi_pass}</dd> |
|
|
|
|
|
--> |
|
|
|
|
|
<dt>Vos identifiants:</dt> |
|
|
|
|
|
<dd>Nous n'avons pas encore l'information</dd> |
|
|
</dl> |
|
|
</dl> |
|
|
<a href="https://wifi.unice.fr/">Plus de détails ...</a> |
|
|
<a href="https://wifi.unice.fr/">Plus de détails ...</a> |
|
|
</div> |
|
|
</div> |
|
@@ -158,7 +168,9 @@ ${helpers.DisplayRespForm(profil_form, DicFormB)} |
|
|
<tfoot> |
|
|
<tfoot> |
|
|
<tr> |
|
|
<tr> |
|
|
<td colspan="5" style="text-align:center;line-height: 3em;"> |
|
|
<td colspan="5" style="text-align:center;line-height: 3em;"> |
|
|
<span class="add btn btn-mini btn-primary"><i class="icon-plus-sign icon-white"></i> Je fais partie de ...</span> |
|
|
|
|
|
|
|
|
% if uprofil==request.user: |
|
|
|
|
|
<span class="add btn btn-mini btn-primary"><i class="icon-plus-sign icon-white"></i> Je fais partie de ...</span> |
|
|
|
|
|
% endif |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
</tfoot> |
|
|
</tfoot> |
|
@@ -167,7 +179,14 @@ ${helpers.DisplayRespForm(profil_form, DicFormB)} |
|
|
</fieldset> |
|
|
</fieldset> |
|
|
|
|
|
|
|
|
<div class="span2 offset5"> |
|
|
<div class="span2 offset5"> |
|
|
|
|
|
% if uprofil!=request.user and request.user.Staff==1: |
|
|
|
|
|
En tant que Staff des JM2L, <br /> |
|
|
|
|
|
Je me connecte "en tant que" <br /> |
|
|
|
|
|
<a href="/sign/jm2l/${uprofil.my_hash}"> ${uprofil.nom} ${uprofil.prenom}</a><br /> |
|
|
|
|
|
pour modifier sa fiche ... |
|
|
|
|
|
% else: |
|
|
<input class="btn btn-primary" type="submit" value="Enregistrer !" /> |
|
|
<input class="btn btn-primary" type="submit" value="Enregistrer !" /> |
|
|
|
|
|
% endif |
|
|
</div> |
|
|
</div> |
|
|
</form> |
|
|
</form> |
|
|
|
|
|
|
|
|