_header.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!DOCTYPE html>
  2. <html lang="__lang__">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=__page_charset__" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
  6. <title>__page_header__</title>
  7. <base href="<bx_url_root />" />
  8. __meta_info__
  9. __page_robots__
  10. <meta http-equiv="Content-Style-Type" content="text/css" />
  11. <bx_include_css_system />
  12. <bx_include_css />
  13. __dol_images__
  14. __dol_lang__
  15. __dol_options__
  16. <bx_include_js_system />
  17. <bx_include_js />
  18. <script type="text/javascript" language="javascript">
  19. var sUrlRoot = '<bx_url_root />';
  20. var aSpinnerOpts = {
  21. lines: 7, // The number of lines to draw
  22. length: 0, // The length of each line
  23. width: 8, // The line thickness
  24. radius: 7, // The radius of the inner circle
  25. corners: 1, // Corner roundness (0..1)
  26. rotate: 0, // The rotation offset
  27. direction: 1, // 1: clockwise, -1: counterclockwise
  28. color: '#3a8686', // #rgb or #rrggbb or array of colors
  29. speed: 1, // Rounds per second
  30. trail: 60, // Afterglow percentage
  31. shadow: false, // Whether to render a shadow
  32. hwaccel: false, // Whether to use hardware acceleration
  33. className: 'bx-sys-spinner', // The CSS class to assign to the spinner
  34. zIndex: 2e9, // The z-index (defaults to 2000000000)
  35. top: '50%', // Top position relative to parent in px
  36. left: '50%' // Left position relative to parent in px
  37. };
  38. var aSpinnerSmallOpts = $.extend({}, aSpinnerOpts, {
  39. lines: 6,
  40. width: 6,
  41. radius: 4,
  42. color: '#333',
  43. top: '50%',
  44. left: 'calc(100% - 20px)'
  45. });
  46. $(document).ready(function () {
  47. bx_time('__lang__');
  48. bx_activate_anim_icons('#3e8685');
  49. // hide toolbar on scrolldown, show - on scroll up
  50. new Headroom($('#bx-toolbar').get(0), {
  51. tolerance: {
  52. down: 10,
  53. up: 20
  54. },
  55. offset: 200,
  56. classes: {
  57. initial: "bx-toolbar-anim",
  58. pinned: "bx-toolbar-reset",
  59. unpinned: "bx-toolbar-up"
  60. },
  61. onUnpin: function() {
  62. bx_menu_slide_close_all_opened();
  63. }
  64. }).init();
  65. // init Embed.ly support
  66. $('a.bx-link-embed').dolEmbedly();
  67. });
  68. (function(w) {
  69. var dpr = (w.devicePixelRatio === undefined ? 1 : w.devicePixelRatio);
  70. if ($.cookie('devicePixelRatio') == dpr || dpr < 2)
  71. return;
  72. $.cookie('devicePixelRatio', dpr, {expires: 365, path: '/'});
  73. window.location.reload();
  74. })(window);
  75. </script>
  76. __extra_js__
  77. <bx_injection:injection_head />
  78. </head>
  79. <body class="bx-def-font bx-def-image-bg-page bx-def-color-bg-page" <bx_injection:injection_body /> >
  80. <bx_injection:injection_header />