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

HUE-7144 [core] Switch document list icon in editors to the document one

More consistent and obvious.
Romain Rigaux 8 жил өмнө
parent
commit
afe3070

+ 3 - 1
apps/oozie/src/oozie/templates/editor2/bundle_editor.mako

@@ -64,7 +64,9 @@ ${ commonheader(_("Bundle Editor"), "Oozie", user, request) | n,unicode }
 
     %if is_embeddable:
     <a class="btn" href="javascript: void(0)" title="${ _('Bundles') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}, hueLink: '/home/?type=oozie-bundle2'">
-      <i class="fa fa-fw fa-list"></i>
+      <span>
+        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
+      </span>
     </a>
     %endif
   </div>

+ 3 - 1
apps/oozie/src/oozie/templates/editor2/coordinator_editor.mako

@@ -67,7 +67,9 @@ ${ commonheader(_("Coordinator Editor"), "Oozie", user, request) | n,unicode }
 
     %if is_embeddable:
     <a class="btn" href="javascript: void(0)" title="${ _('Schedules') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}, hueLink: '/home/?type=oozie-coordinator2'">
-      <i class="fa fa-fw fa-list"></i>
+      <span>
+        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
+      </span>
     </a>
     %endif
 

+ 3 - 1
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -88,7 +88,9 @@ ${ commonheader(_("Workflow Editor"), "Oozie", user, request, "40px") | n,unicod
     </a>
     %if is_embeddable:
     <a class="btn" href="javascript: void(0)" title="${ _('Workflows') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}, hueLink: '/home/?type=oozie-workflow2'">
-      <i class="fa fa-fw fa-list"></i>
+      <span>
+        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
+      </span>
     </a>
     %endif
   </div>

+ 6 - 2
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -90,12 +90,16 @@ from desktop.views import commonheader, commonfooter, _ko
     </a>
     <!-- ko if: IS_HUE_4 -->
     <a class="btn" href="/home/?type=search-dashboard" title="${ _('Dashboards') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}">
-      <i class="fa fa-list"></i>
+      <span>
+        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
+      </span>
     </a>
     <!-- /ko -->
     <!-- ko ifnot: IS_HUE_4 -->
     <a class="btn" href="${ url('dashboard:admin_collections') }" title="${ _('Dashboards') }" rel="tooltip" data-placement="bottom" data-bind="css: {'btn': true}">
-      <i class="fa fa-list"></i>
+      <span>
+        <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
+      </span>
     </a>
     <!-- /ko -->
   </div>

+ 6 - 2
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -276,12 +276,16 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
 
         <!-- ko if: IS_HUE_4 -->
         <a class="btn" data-bind="hueLink: '/home/?type=' + (editorMode() ? 'query-' : '') + editorType(), attr: { 'title': editorMode() ? '${ _('Queries') }' : '${ _('Notebooks') }'  }" rel="tooltip" data-placement="bottom">
-          <i class="fa fa-list"></i>
+          <span>
+            <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
+          </span>
         </a>
         <!-- /ko -->
         <!-- ko ifnot: IS_HUE_4 -->
         <a class="btn" data-bind="hueLink: '${ url('notebook:notebooks') }?type=' + editorType(), attr: { 'title': editorMode() ? '${ _('Queries') }' : '${ _('Notebooks') }'  }" rel="tooltip" data-placement="bottom">
-          <i class="fa fa-list"></i>
+          <span>
+            <svg class="hi"><use xlink:href="#hi-documents"></use></svg>
+          </span>
         </a>
         <!-- /ko -->
       </div>