Просмотр исходного кода

#1217 Templates: Right side is cutt off when page size greater than 1024px: implementation in Studio

Alex Trofimov 8 лет назад
Родитель
Сommit
2c906deba9
1 измененных файлов с 6 добавлено и 38 удалено
  1. 6 38
      studio/template/_header.html

+ 6 - 38
studio/template/_header.html

@@ -19,47 +19,15 @@
 
         <bx_include_js_system />
         <bx_include_js />
+
         <script defer type="text/javascript">
-            var sUrlRoot = '<bx_url_root />';
             var sUrlStudio = '<bx_url_studio />';
-
-            var bUseSvgLoading = true;
-            var sUseSvgLoading = '';
-            if(!bUseSvgLoading) {
-	            var aSpinnerOpts = {
-	                lines: 7, // The number of lines to draw
-	                length: 0, // The length of each line
-	                width: 8, // The line thickness
-	                radius: 7, // The radius of the inner circle
-	                corners: 1, // Corner roundness (0..1)
-	                rotate: 0, // The rotation offset
-	                direction: 1, // 1: clockwise, -1: counterclockwise
-	                color: '#165ea1', // #rgb or #rrggbb or array of colors
-	                speed: 1, // Rounds per second
-	                trail: 60, // Afterglow percentage
-	                shadow: false, // Whether to render a shadow
-	                hwaccel: false, // Whether to use hardware acceleration
-	                className: 'bx-sys-spinner', // The CSS class to assign to the spinner
-	                zIndex: 2e9, // The z-index (defaults to 2000000000)
-	                top: '50%', // Top position relative to parent in px
-	                left: '50%' // Left position relative to parent in px
-	            };
-	            var aSpinnerSmallOpts = $.extend({}, aSpinnerOpts, {
-	                lines: 6,
-	                width: 6,
-	                radius: 4,
-	                color: '#333',
-	                top: '50%',
-	                left: 'calc(100% - 20px)'
-	            }); 
-            }
-
-			$(document).ready(function () {
-				bx_time('__lang__');
-
-                bx_activate_anim_icons('#3e8685');
-			});
         </script>
+        
+        <bx_include_auto:_header_js.html />
+        <bx_include_auto:_header_js_spinner.html />
+        <bx_include_auto:_header_js_custom.html />
+
         __extra_js__
 
         __system_injection_head__