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.
 
 
 
 
 

70 lines
2.2 KiB

  1. <%inherit file="jm2l:templates/layout.mako"/>
  2. <strong>${event.event_type}</strong>:
  3. <div class="borderboxtime">
  4. ${event.start_time.strftime('%d %b %Y').decode('utf-8')} -
  5. ${event.start_time.strftime('%H:%M')} à ${event.end_time.strftime('%H:%M')}
  6. %if event.Salle:
  7. - <strong>Salle</strong>: ${event.Salle.name}
  8. %endif
  9. </div>
  10. %if event.event_uid:
  11. <a href="http://jm2l.linux-azur.org/node/${event.event_uid}">Link</a> -
  12. %endif
  13. <a href="/MesJM2L/${event.for_year}/${event.event_type}/${event.slug}">Editer</a>
  14. <h3 style="line-height:30px;">${event.name}</h3>
  15. % if event.description :
  16. <div class="borderbox">
  17. ${event.description | n}
  18. </div>
  19. % else:
  20. <p>Cette évenement n'a pas de description.</p>
  21. % endif
  22. % for media in event.presentation:
  23. <strong>Présentation</strong>:${media.filename} (${media.mime_type})
  24. % endfor
  25. <hr/>
  26. % for media in event.video:
  27. <div style="width:480px;margin:auto;">
  28. <video width="480" poster="" controls="controls" preload="metadata">
  29. <source type="${media.mime_type}"
  30. src="${media.filename}">
  31. </source>
  32. </video> <br />
  33. <strong>Vidéo</strong>:${media.filename} (${media.mime_type})
  34. </div>
  35. % endfor
  36. % for iterv in event.intervenants:
  37. <p>
  38. <div class="titleborderbox">
  39. Intervenant <a href="/user/${iterv.slug}"><strong>${iterv.prenom} ${iterv.nom}</strong>.</a>
  40. % if iterv.pseudo:
  41. (${iterv.pseudo})
  42. %endif
  43. </div>
  44. <div class="intervbox borderbox">
  45. % if iterv.PhotosLinks:
  46. <div style="float:right;padding:5px;border: 1px solid #eee;background-color:white;">
  47. % for img_path in iterv.PhotosLinks:
  48. <img src="${img_path}" alt="logo" />
  49. % endfor
  50. </div>
  51. % endif
  52. % if iterv.bio:
  53. ${iterv.bio | n}
  54. %endif
  55. </div>
  56. % if iterv.website:
  57. <div class="footborderbox">
  58. <a href="http://${iterv.website}">${iterv.website}</a>
  59. </div>
  60. %endif
  61. </p>
  62. % endfor
  63. <div class="clearfix">&nbsp;</div>
  64. <p style="float:right;">Créé le ${event.created.strftime('%d %b %Y').decode('utf-8')}</p>
  65. <br/>
  66. <hr/>