]> git.proxmox.com Git - pmg-gui.git/commitdiff
change x-fa to fa
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 5 Apr 2017 09:25:40 +0000 (11:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 5 Apr 2017 09:28:51 +0000 (11:28 +0200)
because there is no x-fa class when using the stock fontawesome css

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/RuleConfiguration.js
js/RuleInfo.js
js/Utils.js

index 435c08ce0fa4f93525d6f7c929f0ccb68fd5773a..6adf432520cb46c9c3dabe8b7c74bb8e575db55c 100644 (file)
@@ -196,13 +196,13 @@ Ext.define('PMG.RulesConfiguration', {
                    xtype: 'actioncolumn',
                    items: [
                        {
-                           iconCls: 'x-fa fa-fw fa-pencil',
+                           iconCls: 'fa fa-fw fa-pencil',
                            tooltip: 'Edit',
                            handler: 'editIconClick'
                        },
                        {
                            getClass: function(val, meta, rec) {
-                               return 'x-fa fa-fw fa-' + (rec.get('active') ? 'toggle-on' : 'toggle-off');
+                               return 'fa fa-fw fa-' + (rec.get('active') ? 'toggle-on' : 'toggle-off');
                            },
                            getTip: function(val, meta, rec) {
                                return (rec.get('active') ? 'Deactivate' : 'Activate');
index 6989fe01990685c907f9ac46b164424ed0a8c545..91fef6f510ed16e4ed7e5e3fa1f15ce077bdb553 100644 (file)
@@ -306,7 +306,7 @@ Ext.define('PMG.RuleInfo', {
                    width: 65,
                    items: [
                        {
-                           iconCls: 'x-fa fa-fw fa-minus-circle',
+                           iconCls: 'fa fa-fw fa-minus-circle',
                            tooltip: gettext('Remove'),
                            handler: 'removeIconClick'
                        }
@@ -356,7 +356,7 @@ Ext.define('PMG.RuleInfo', {
                        xtype: 'actioncolumn',
                        items: [
                            {
-                               iconCls: 'x-fa fa-fw fa-plus-circle',
+                               iconCls: 'fa fa-fw fa-plus-circle',
                                tooltip: gettext('Add'),
                                handler: 'addIconClick'
                            }
index edbe0b101ff14612925d5b298efc6b78abe985ef..614fadc2a1613e612fa9b3870bc647cdccd22dca 100644 (file)
@@ -42,9 +42,9 @@ Ext.define('PMG.Utils', {
     },
 
     rule_direction_icon: {
-       0: '<span class="x-fa fa-fw fa-long-arrow-left"></span> ',
-       1: '<span class="x-fa fa-fw fa-long-arrow-right"></span> ',
-       2: '<span class="x-fa fa-fw fa-exchange"></span> '
+       0: '<span class="fa fa-fw fa-long-arrow-left"></span> ',
+       1: '<span class="fa fa-fw fa-long-arrow-right"></span> ',
+       2: '<span class="fa fa-fw fa-exchange"></span> '
     },
 
     format_rule_direction: function(dir) {