_header.html 3.3 KB

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