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.
 
 
 
 
 

38 linhas
2.1 KiB

  1. <%inherit file="jm2l:templates/layout.mako"/>
  2. <%def name="jsAddOn()">
  3. <script src="/vendor/timeline/js/timeline-src.js"></script>
  4. <script>
  5. var timeline = new VMM.Timeline("timeline", '95%', '500px');
  6. var c = {language:{ lang:"fr",api:{wikipedia:"fr"},date:{month:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],month_abbr:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","dec."],day:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],day_abbr:["Dim.","Lu.","Ma.","Me.","Jeu.","Vend.","Sam."]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"d mmm",full:"d mmmm yyyy",time_short:"HH:MM:SS",time_no_seconds_short:"HH:MM",time_no_seconds_small_date:"HH:MM'<br/><small>'d mmmm yyyy'</small>'",full_long:"dddd',' d mmm yyyy 'à' HH:MM",full_long_small_date:"HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"},messages:{loading_timeline:"Chargement de la frise en cours... ",return_to_title:"Retour à la page d'accueil",expand_timeline:"Elargir la frise",contract_timeline:"Réduire la frise",wikipedia:"Extrait de Wikipedia, l'encyclopédie libre",loading_content:"Chargement",loading:"Chargement",swipe_nav:"Swipe to Navigate"}}};
  7. timeline.init(c, "/${year}/timeline-json");
  8. </script>
  9. </%def>
  10. <%def name="cssAddOn()">
  11. <!-- The default timeline stylesheet -->
  12. <link rel="stylesheet" href="/vendor/timeline/css/timeline.css" />
  13. </%def>
  14. <H2 style="text-align: center;" class="shadow">${edition | n} édition des JM2L en ${year}</H2>
  15. <br>
  16. <div class="center">
  17. % if request.user and request.user.Staff:
  18. <a href="/${year or 2015}/edit">Editer cette page</a> -
  19. % endif
  20. <h4><a href="/${year or 2015}/le-programme">Le programme des événements ${year or 2015 }</a></h4>
  21. </div>
  22. <div class="row-fluid">
  23. <div class="span10 offset1">
  24. ${ content | n }
  25. </div>
  26. </div>
  27. <div class="row-fluid">
  28. <div class="span12">
  29. <!-- TimeLine -->
  30. <div id="timeline"></div>
  31. </div>
  32. </div>
  33. <div class="row-fluid">
  34. <div style="height:500px">
  35. </div>
  36. </div>