Эх сурвалжийг харах

HUE-6839 [home] Avoid action icons to be shown unstyled at page load

Enrico Berti 8 жил өмнө
parent
commit
326e806c73

+ 2 - 2
desktop/core/src/desktop/templates/document_browser.mako

@@ -26,8 +26,8 @@ from desktop.views import _ko
 
   <script src="${ static('desktop/ext/js/bootstrap-fileupload.js') }" type="text/javascript" charset="utf-8"></script>
   <script src="${ static('desktop/ext/js/jquery/plugins/jquery.hotkeys.js') }"></script>
-  <link rel="stylesheet" href="/static/desktop/css/home.css">
-  <link rel="stylesheet" href="/static/desktop/ext/css/bootstrap-fileupload.css">
+  <link href="${ static('desktop/css/home.css') }" rel="stylesheet">
+  <link href="${ static('desktop/ext/css/bootstrap-fileupload.css') }" rel="stylesheet">
 
   <script type="text/html" id="doc-browser-template">
     <div class="doc-browser-drag-helper">

+ 2 - 0
desktop/core/src/desktop/templates/hue.mako

@@ -47,9 +47,11 @@
   <link href="${ static('desktop/ext/css/cui/bootstrap2.css') }" rel="stylesheet">
   <link href="${ static('desktop/ext/css/cui/bootstrap-responsive2.css') }" rel="stylesheet">
 
+
   <link href="${ static('desktop/ext/css/font-awesome.min.css') }" rel="stylesheet">
   <link href="${ static('desktop/css/hue.css') }" rel="stylesheet">
   <link href="${ static('desktop/css/jquery-ui.css') }" rel="stylesheet">
+  <link href="${ static('desktop/css/home.css') }" rel="stylesheet">
 
   ${ commonHeaderFooterComponents.header_i18n_redirection(user, is_s3_enabled, apps) }