Updated some more font awesome icons for v5

This commit is contained in:
Neel Patel 2020-08-21 14:15:18 +05:30 committed by Akshay Joshi
parent 19491d79a5
commit b53de0c31d
8 changed files with 9 additions and 9 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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);

View File

@ -41,7 +41,7 @@ define([
let $unselectAll = $([
'<button class="btn btn-secondary btn-sm" type="button"',
' style="width: 49%;margin: 0 0.5%;">',
'<i class="fa fa-square-o"></i><span style="padding: 0px 5px;" role="img">',
'<i class="fa fa-square"></i><span style="padding: 0px 5px;" role="img">',
gettext('Unselect All'),
'</span></button>',
].join(''));

View File

@ -34,7 +34,7 @@
</button>
<button name="delete" type="button" title="{{ _('Delete File/Folder') }}" class="btn btn-sm btn-primary-icon delete"
disabled>
<span class="fa fa-trash sql-icon-lg"></span>
<span class="fa fa-trash-alt sql-icon-lg"></span>
</button>
<button name="rename" type="button" title="{{ _('Rename File/Folder') }}" class="btn btn-sm btn-primary-icon rename"
tabindex="0">

View File

@ -2809,7 +2809,7 @@ define([
time: 'fa fa-clock',
data: 'fa fa-calendar-alt',
today: 'fa fa-calendar-check',
clear: 'fa fa-trash',
clear: 'fa fa-trash-alt',
},
buttons: {
showToday: true,

View File

@ -563,7 +563,7 @@ define([
var self = this;
this.$el.empty();
$(this.$el).attr('tabindex', 0);
this.$el.html('<i aria-label="' + gettext('Delete row') + '" class=\'fa fa-trash\' title=\'' + gettext('Delete row') + '\'></i>');
this.$el.html('<i aria-label="' + gettext('Delete row') + '" class=\'fa fa-trash-alt\' title=\'' + gettext('Delete row') + '\'></i>');
// Listen for Tab/Shift-Tab key
this.$el.on('keydown', function(e) {
// with keyboard navigation on space key, mark row for deletion

View File

@ -145,7 +145,7 @@
title=""
accesskey=""
tabindex="0" disabled>
<i class="fa fa-trash sql-icon-lg" aria-hidden="true" role="img"></i>
<i class="fa fa-trash-alt sql-icon-lg" aria-hidden="true" role="img"></i>
</button>
</div>
<div class="btn-group mr-1" role="group" aria-label="">