Le repo des sources pour le site web des JM2L
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

59 lines
1.7 KiB

  1. <%inherit file="jm2l:templates/layout.mako"/>
  2. % if request.user and request.user.uid==1:
  3. <a style="float:right;" href="/MesJM2L?user=${DispUser.uid}">Editer</a>
  4. % elif request.user and DispUser.uid==request.user.uid:
  5. <a style="float:right;" href="/MesJM2L">Editer</a>
  6. % endif
  7. <div class="row-fluid">
  8. <div class="span10 offset1">
  9. <h2>${DispUser.prenom} ${DispUser.nom}</h2>
  10. <div style="display: inline-block;">
  11. <p>
  12. % if DispUser.PhotosLinks or DispUser.bio or DispUser.website:
  13. <div class="titleborderbox">
  14. <strong>Son profil</strong>.
  15. % if DispUser.pseudo:
  16. (${DispUser.pseudo})
  17. %endif
  18. </div>
  19. % if DispUser.PhotosLinks:
  20. <br />
  21. <div style="float:right;padding:5px;border:1px solid #eee;background-color:white;">
  22. % for img_path in DispUser.PhotosLinks:
  23. <img src="${img_path}" alt="logo" />
  24. % endfor
  25. </div>
  26. % endif
  27. <div>
  28. <div style="float:right;">
  29. &nbsp;&nbsp;&nbsp;
  30. </div>
  31. <div class="borderbox">
  32. % if DispUser.bio:
  33. ${DispUser.bio | n}
  34. % endif
  35. <br />
  36. % if DispUser.website:
  37. <div style="float:right;">
  38. <a href="http://${DispUser.website}">${DispUser.website}</a>
  39. </div>
  40. % endif
  41. </div>
  42. </div>
  43. % else:
  44. <i>Pas d'information</i>
  45. % endif
  46. </p>
  47. </div>
  48. <br/>
  49. <hr/>
  50. <p style="float:right;">Créé le ${DispUser.created.strftime('%d %b %Y')}</p>
  51. </div>
  52. </div>