]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
fix ceph gui icons
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 9 Aug 2017 09:42:54 +0000 (11:42 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 10 Aug 2017 07:38:29 +0000 (09:38 +0200)
this adds a new css class for fontawesome which we need under certain
circumstances (it is copied from fontawesome minus a font-size:inherited)

and it changes the icons in the osd tree from x-fa to fa
(which is the correct one there)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/css/ext6-pve.css
www/manager6/ceph/OSD.js

index 8a5f2af8cdb9d42beddb2540a07b6ab714e76034..722a4d941aa9565c480f676f9abacd7130030ebb 100644 (file)
@@ -537,3 +537,11 @@ table.osds td:first-of-type {
     padding: 10px;
     background-image: none;
 }
+
+.x-fa {
+    diplay: inline-block;
+    font: normal normal normal 14px/1 FontAwesome;
+    text-rendering: auto;
+    -webkit-font-smoothing: antialiased;
+    -moz-osx-font-smoothing: grayscale;
+}
index e651e0edbedb039cd7b61247aafa007bac108ad6..7abda7f97db402d84c65b8efc085425a1ca20a5f 100644 (file)
@@ -541,7 +541,7 @@ Ext.define('PVE.node.CephOsdTree', {
                     { type: 'string', name: 'dbdev' },
                     { type: 'string', name: 'waldev' },
                     { type: 'string', name: 'iconCls', calculate: function(data) {
-                        var iconCls = 'x-fa x-fa-tree fa-';
+                        var iconCls = 'fa x-fa-tree fa-';
                         switch (data.type) {
                            case 'host':
                                 iconCls += 'building';