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.
 
 
 
 
 

146 lines
6.0 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <%namespace name="helpers" file="jm2l:templates/helpers.mako"/>
  4. <head>
  5. <title>JM2L 2015</title>
  6. <meta charset="utf-8">
  7. <meta name="keywords" content="python web application" />
  8. <meta name="description" content="jm2l LinuxAzur journée méditéranéenne logiciel libre" />
  9. <!-- Force latest IE rendering engine or ChromeFrame if installed -->
  10. <!--[if IE]>
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  13. <![endif]-->
  14. <link rel="shortcut icon" href="/static/favicon.ico" />
  15. <link rel="stylesheet" href="/css/pylons.css" type="text/css" media="screen" charset="utf-8" />
  16. <link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css" media="screen" />
  17. <link rel="stylesheet" href="/css/jm2l.css" type="text/css" media="screen" />
  18. <link rel="stylesheet" href="/css/bootstrap-responsive.css">
  19. ${self.cssAddOn()}
  20. <!--[if lte IE 6]>
  21. <link rel="stylesheet" href="/static/ie6.css" type="text/css" media="screen" charset="utf-8" />
  22. <![endif]-->
  23. <script src="/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
  24. </head>
  25. <body>
  26. <%
  27. context._kwargs['postpone_js']=[]
  28. DisplayYear = request.session.get('year', 2015)
  29. %>
  30. <%def name="jsAddOn()"></%def>
  31. <%def name="cssAddOn()"></%def>
  32. ${helpers.uploader_js()}
  33. <div id="wrap">
  34. <div id="top" style="background: url( ${"/img/%s/headerbg.png" % DisplayYear} ) repeat-x scroll 0 top #ffffff;">
  35. <div class="align-center">
  36. <div><img src="${"/img/%s/logo.png" % DisplayYear}" height="215" alt="JM2L 2015"/></div>
  37. </div>
  38. </div>
  39. <div id="middle">
  40. <div class="navbar">
  41. <div class="navbar-inner">
  42. <div class="container">
  43. <ul class="nav pull-left">
  44. <div class="btn-group">
  45. <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
  46. <span class="brand" href="/" style="padding: 0 10px 0 18px;">JM2L
  47. <small>${DisplayYear}</small>&nbsp;<span class="caret"></span></a>
  48. <ul class="dropdown-menu">
  49. % for tmpyear in range(2015, 2005, -1):
  50. % if tmpyear!=2014:
  51. <li><a href="/year/${tmpyear}">${tmpyear}</a></li>
  52. % endif
  53. % endfor
  54. </ul>
  55. </div>
  56. <div class="btn-group">
  57. <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
  58. % if request.user:
  59. <i class="icon-user"></i> ${request.user.prenom} ${request.user.nom}
  60. % else:
  61. <i class="icon-user icon-white"></i> Visiteur
  62. % endif
  63. <span class="caret"></span>
  64. </a>
  65. <ul class="dropdown-menu">
  66. % if request.user:
  67. % if request.user.Staff:
  68. <li><a href="/Staff">Partie Staff</a></li>
  69. % endif
  70. <li><a href="/sign/out">Me déconnecter</a></li>
  71. % else:
  72. <li><a href="/participer-l-evenement#inscription">Je m'inscris</a></li>
  73. <li><a href="/sign/login">Je m'identifie</a></li>
  74. % endif
  75. </ul>
  76. </div>
  77. </ul>
  78. <ul class="nav nav-pills pull-right">
  79. <li class="${programme or ''}"><a href="/${DisplayYear}/le-programme">Programme</a></li>
  80. <li class="${presse or ''}"><a href="/${DisplayYear}/dossier-de-presse">Presse</a></li>
  81. <li class="${plan or ''}"><a href="/nous-rejoindre">Contact et Plan</a></li>
  82. % if request.user:
  83. <li class="${participer or ''}"><a href="/MesJM2L">Mes JM2L</a></li>
  84. % else:
  85. <li class="${participer or ''}"><a href="/participer-l-evenement">Participer</a></li>
  86. % endif
  87. </ul>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="middle align-center">
  92. </div>
  93. </div>
  94. <div id="bottom">
  95. <div class="bottom">
  96. ${next.body()}
  97. </div>
  98. </div>
  99. </div>
  100. ## <br><br><br>
  101. ## <div id="footer">
  102. ## <div class="footer">CopyFriendly ~ JM2L 2005-2015 ~ +33 (0) 6 52 42 31 37
  103. ## <br>Ni les représentant légaux de l'équipe de Linux-Azur,
  104. ## ni l'équipe de coordination des JM2L ne sont résponsable des
  105. ## informations publiés par les intervenants, dans le doute merci de nous contacter.
  106. ## </div>
  107. <script src="/vendor/jquery.min.js"></script>
  108. <script src="/vendor/bootstrap.min.js"></script>
  109. <script src="/vendor/fileupload/js/jquery-uploader.min.js"></script>
  110. <script src="/vendor/ckeditor/ckeditor.js"></script>
  111. <script src="/js/plugins.js"></script>
  112. ${self.jsAddOn()}
  113. ## Then Handle Javascript
  114. <script>
  115. % for jsitem in context._kwargs['postpone_js']:
  116. ${jsitem | n}
  117. % endfor
  118. ## Call Control Handler
  119. HandleControls();
  120. </script>
  121. <!-- Piwik -->
  122. <script type="text/javascript">
  123. var _paq = _paq || [];
  124. _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
  125. _paq.push(['trackPageView']);
  126. _paq.push(['enableLinkTracking']);
  127. (function() {
  128. var u="//stats.style-python.fr/";
  129. _paq.push(['setTrackerUrl', u+'piwik.php']);
  130. _paq.push(['setSiteId', 4]);
  131. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  132. g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  133. })();
  134. </script>
  135. <noscript><p><img src="//stats.style-python.fr/piwik.php?idsite=4" style="border:0;" alt="" /></p></noscript>
  136. <!-- End Piwik Code -->
  137. </body>
  138. </html>