From b53de0c31d7626938c674afc9c664222380dd329 Mon Sep 17 00:00:00 2001 From: Neel Patel Date: Fri, 21 Aug 2020 14:15:18 +0530 Subject: [PATCH] Updated some more font awesome icons for v5 --- .../schemas/tables/partitions/static/js/partition.js | 2 +- .../servers/databases/schemas/tables/static/js/table.js | 2 +- web/pgadmin/browser/static/js/node.js | 4 ++-- web/pgadmin/browser/static/js/node.ui.js | 2 +- .../misc/file_manager/templates/file_manager/index.html | 2 +- web/pgadmin/static/js/backform.pgadmin.js | 2 +- web/pgadmin/static/js/backgrid.pgadmin.js | 2 +- web/pgadmin/tools/datagrid/templates/datagrid/index.html | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js index 50d2f0769..7debeba6c 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js @@ -82,7 +82,7 @@ function( name: 'reset_table_stats', node: 'partition', module: this, applies: ['object', 'context'], callback: 'reset_table_stats', category: 'Reset', priority: 4, label: gettext('Reset Statistics'), - icon: 'fa fa-bar-chart', enable : 'canCreate', + icon: 'fa fa-chart-bar', enable : 'canCreate', },{ name: 'detach_partition', node: 'partition', module: this, applies: ['object', 'context'], callback: 'detach_partition', diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js index f7e67cb1f..b7adaa8e9 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js @@ -104,7 +104,7 @@ define('pgadmin.node.table', [ name: 'reset_table_stats', node: 'table', module: this, applies: ['object', 'context'], callback: 'reset_table_stats', category: 'Reset', priority: 4, label: gettext('Reset Statistics'), - icon: 'fa fa-bar-chart', enable : 'canCreate', + icon: 'fa fa-chart-bar', enable : 'canCreate', },{ name: 'count_table_rows', node: 'table', module: this, applies: ['object', 'context'], callback: 'count_table_rows', diff --git a/web/pgadmin/browser/static/js/node.js b/web/pgadmin/browser/static/js/node.js index 3753f594f..a9e8ce9c9 100644 --- a/web/pgadmin/browser/static/js/node.js +++ b/web/pgadmin/browser/static/js/node.js @@ -147,7 +147,7 @@ define('pgadmin.browser.node', [ data: { 'url': 'drop', }, - icon: 'fa fa-trash', + icon: 'fa fa-trash-alt', enable: _.isFunction(self.canDrop) ? function() { return !!(self.canDrop.apply(self, arguments)); @@ -166,7 +166,7 @@ define('pgadmin.browser.node', [ data: { 'url': 'delete', }, - icon: 'fa fa-trash', + icon: 'fa fa-trash-alt', enable: _.isFunction(self.canDropCascade) ? function() { return self.canDropCascade.apply(self, arguments); diff --git a/web/pgadmin/browser/static/js/node.ui.js b/web/pgadmin/browser/static/js/node.ui.js index 007ce101e..4a18d74f8 100644 --- a/web/pgadmin/browser/static/js/node.ui.js +++ b/web/pgadmin/browser/static/js/node.ui.js @@ -41,7 +41,7 @@ define([ let $unselectAll = $([ '', ].join('')); diff --git a/web/pgadmin/misc/file_manager/templates/file_manager/index.html b/web/pgadmin/misc/file_manager/templates/file_manager/index.html index 9c9ee4bb2..fa4db26b5 100644 --- a/web/pgadmin/misc/file_manager/templates/file_manager/index.html +++ b/web/pgadmin/misc/file_manager/templates/file_manager/index.html @@ -34,7 +34,7 @@