_header.html 3.2 KB

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