Le repo des sources pour le site web des JM2L
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

78 linhas
2.1 KiB

  1. <%inherit file="jm2l:templates/layout.mako"/>
  2. <style>
  3. .borderbox {
  4. border: 1px solid #e1e4e5;
  5. margin: 1px 0 24px;
  6. color: #404040;
  7. line-height: 1.5;
  8. margin: 0;
  9. overflow: auto;
  10. padding: 12px;
  11. background: none repeat scroll 0 0 #fcfcfc;
  12. font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
  13. }
  14. .titleborderbox {
  15. background: none repeat scroll 0 0 #ffffff;
  16. border: 1px solid #eee;
  17. display: inline;
  18. left: 16px;
  19. padding: 2px 7px;
  20. position: relative;
  21. top: 10px;
  22. }
  23. .borderboxtime {
  24. float:right;
  25. padding:1px 15px;
  26. border: 1px solid #eee;
  27. }
  28. </style>
  29. % if request.user and DispUser.uid==request.user.uid or request.user.uid==1:
  30. <a style="float:right;" href="/MesJM2L?user=${DispUser.uid}">Editer</a>
  31. % endif
  32. <h2>${DispUser.prenom} ${DispUser.nom}</h2>
  33. <div style="display: inline-block;">
  34. <p>
  35. % if DispUser.PhotosLinks or DispUser.bio or DispUser.website:
  36. <div class="titleborderbox">
  37. <strong>Son profil</strong>.
  38. % if DispUser.pseudo:
  39. (${DispUser.pseudo})
  40. %endif
  41. </div>
  42. % if DispUser.PhotosLinks:
  43. <br />
  44. <div style="float:right;padding:5px;border:1px solid #eee;background-color:white;">
  45. % for img_path in DispUser.PhotosLinks:
  46. <img src="${img_path}" alt="logo" />
  47. % endfor
  48. </div>
  49. % endif
  50. <div>
  51. <div style="float:right;">
  52. &nbsp;&nbsp;&nbsp;
  53. </div>
  54. <div class="borderbox">
  55. % if DispUser.bio:
  56. ${DispUser.bio | n}
  57. % endif
  58. <br />
  59. % if DispUser.website:
  60. <div style="float:right;">
  61. <a href="http://${DispUser.website}">${DispUser.website}</a>
  62. </div>
  63. % endif
  64. </div>
  65. </div>
  66. % else:
  67. <i>Pas d'information</i>
  68. % endif
  69. </p>
  70. </div>
  71. <br/>
  72. <hr/>
  73. <p style="float:right;">Créé le ${DispUser.created.strftime('%d %b %Y').decode('utf-8')}</p>