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.

118 lines
4.3 KiB

3 years ago
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html lang="::LANG::">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" xml:lang="::LANG::" lang="::LANG::" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <title>
  7. ::if pageTitle!=null::
  8. ::pageTitle::
  9. ::else::
  10. ::NAME::
  11. ::end::
  12. </title>
  13. <!-- CagettePéi CSS -->
  14. <link rel="stylesheet" type="text/css" href="/css/::getVariable('css')::/style.css"/>
  15. <!--
  16. <link rel="stylesheet" type="text/css" href="/css/::getVariable('css')::/shop.css"/>
  17. <link rel="stylesheet" type="text/css" href="/css/::getVariable('css')::/map.css"/>-->
  18. <!-- JQUERY -->
  19. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  20. <!-- BOOTSTRAP -->
  21. <link rel="stylesheet" href="/css/bootstrap.min.css" />
  22. <!-- bootstrap datepicker -->
  23. <script type="text/javascript" src="/bower_components/moment/min/moment.min.js"></script>
  24. <script type="text/javascript" src="/bower_components/moment/locale/fr.js"></script>
  25. <script type="text/javascript" src="/bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
  26. <link rel="stylesheet" href="/bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css" />
  27. <!-- Leaflet CSS -->
  28. <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css"
  29. integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="
  30. crossorigin=""/>
  31. <!-- typeahead
  32. <script type="text/javascript" src="/bower_components/typeahead.js/dist/typeahead.jquery.js"></script> -->
  33. <!-- font awesome -->
  34. <script src="https://use.fontawesome.com/97d97e0dab.js"></script>
  35. <!-- polyfill for IE11 : Object.assign() doesnt exists in IE11 , error in libs.js -->
  36. <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
  37. <!-- Haxe JS + libs bundled with browserify -->
  38. <script type="text/javascript" src="/js/::getVariable('js')::/libs.js"></script>
  39. <script type="text/javascript" src="/js/::getVariable('js')::/app.js"></script>
  40. </head>
  41. ::if container==null:: ::set container="container":: ::end::
  42. <body class="::container::">
  43. ::if DEBUG::
  44. <div style="position: absolute;background: #666;padding: 8px;left: 0;color: #FF0;">DEBUG ::session.lang::</div>
  45. ::end::
  46. ::if HOST.substr(0,3)=="pp."::
  47. <div style="position: absolute;background: #F60;padding: 8px;left: 0;color: #FF0;">PREPROD</div>
  48. ::end::
  49. <!-- Modal window -->
  50. <div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  51. <div class="modal-dialog modal-lg" role="document">
  52. <div class="modal-content">
  53. <div class="modal-header">
  54. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  55. <h2 class="modal-title" id="myModalLabel"></h2>
  56. </div>
  57. <div class="modal-body">
  58. ...
  59. </div>
  60. <div class="modal-footer" style="clear:both;">
  61. <button type="button" class="btn btn-default" data-dismiss="modal">
  62. <span class='glyphicon glyphicon-remove'></span> ::_("Close")::
  63. </button>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. ::raw __content__::
  69. <script type="text/javascript">
  70. //Google Analytics
  71. var _gaq = _gaq || [];
  72. _gaq.push(['_setAccount', 'UA-17932663-2']);
  73. _gaq.push(['_trackPageview']);
  74. (function() {
  75. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  76. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  77. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  78. })();
  79. $(function () {
  80. //enable BS3 Tooltips & popovers
  81. $('[data-toggle="tooltip"]').tooltip();
  82. $('[data-toggle="popover"]').popover();
  83. //init lang in js App
  84. _.LANG = "::session.lang::";
  85. //tutorials
  86. ::if tuto!=null::
  87. _.getTuto("::tuto.name::",::tuto.step::);
  88. ::end::
  89. _.antiDoubleClick();
  90. })
  91. </script>
  92. </body>
  93. </html>