_header.html 3.0 KB

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