mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Updated some more font awesome icons for v5
This commit is contained in:
parent
19491d79a5
commit
b53de0c31d
@ -82,7 +82,7 @@ function(
|
|||||||
name: 'reset_table_stats', node: 'partition', module: this,
|
name: 'reset_table_stats', node: 'partition', module: this,
|
||||||
applies: ['object', 'context'], callback: 'reset_table_stats',
|
applies: ['object', 'context'], callback: 'reset_table_stats',
|
||||||
category: 'Reset', priority: 4, label: gettext('Reset Statistics'),
|
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,
|
name: 'detach_partition', node: 'partition', module: this,
|
||||||
applies: ['object', 'context'], callback: 'detach_partition',
|
applies: ['object', 'context'], callback: 'detach_partition',
|
||||||
|
@ -104,7 +104,7 @@ define('pgadmin.node.table', [
|
|||||||
name: 'reset_table_stats', node: 'table', module: this,
|
name: 'reset_table_stats', node: 'table', module: this,
|
||||||
applies: ['object', 'context'], callback: 'reset_table_stats',
|
applies: ['object', 'context'], callback: 'reset_table_stats',
|
||||||
category: 'Reset', priority: 4, label: gettext('Reset Statistics'),
|
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,
|
name: 'count_table_rows', node: 'table', module: this,
|
||||||
applies: ['object', 'context'], callback: 'count_table_rows',
|
applies: ['object', 'context'], callback: 'count_table_rows',
|
||||||
|
@ -147,7 +147,7 @@ define('pgadmin.browser.node', [
|
|||||||
data: {
|
data: {
|
||||||
'url': 'drop',
|
'url': 'drop',
|
||||||
},
|
},
|
||||||
icon: 'fa fa-trash',
|
icon: 'fa fa-trash-alt',
|
||||||
enable: _.isFunction(self.canDrop) ?
|
enable: _.isFunction(self.canDrop) ?
|
||||||
function() {
|
function() {
|
||||||
return !!(self.canDrop.apply(self, arguments));
|
return !!(self.canDrop.apply(self, arguments));
|
||||||
@ -166,7 +166,7 @@ define('pgadmin.browser.node', [
|
|||||||
data: {
|
data: {
|
||||||
'url': 'delete',
|
'url': 'delete',
|
||||||
},
|
},
|
||||||
icon: 'fa fa-trash',
|
icon: 'fa fa-trash-alt',
|
||||||
enable: _.isFunction(self.canDropCascade) ?
|
enable: _.isFunction(self.canDropCascade) ?
|
||||||
function() {
|
function() {
|
||||||
return self.canDropCascade.apply(self, arguments);
|
return self.canDropCascade.apply(self, arguments);
|
||||||
|
@ -41,7 +41,7 @@ define([
|
|||||||
let $unselectAll = $([
|
let $unselectAll = $([
|
||||||
'<button class="btn btn-secondary btn-sm" type="button"',
|
'<button class="btn btn-secondary btn-sm" type="button"',
|
||||||
' style="width: 49%;margin: 0 0.5%;">',
|
' 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'),
|
gettext('Unselect All'),
|
||||||
'</span></button>',
|
'</span></button>',
|
||||||
].join(''));
|
].join(''));
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<button name="delete" type="button" title="{{ _('Delete File/Folder') }}" class="btn btn-sm btn-primary-icon delete"
|
<button name="delete" type="button" title="{{ _('Delete File/Folder') }}" class="btn btn-sm btn-primary-icon delete"
|
||||||
disabled>
|
disabled>
|
||||||
<span class="fa fa-trash sql-icon-lg"></span>
|
<span class="fa fa-trash-alt sql-icon-lg"></span>
|
||||||
</button>
|
</button>
|
||||||
<button name="rename" type="button" title="{{ _('Rename File/Folder') }}" class="btn btn-sm btn-primary-icon rename"
|
<button name="rename" type="button" title="{{ _('Rename File/Folder') }}" class="btn btn-sm btn-primary-icon rename"
|
||||||
tabindex="0">
|
tabindex="0">
|
||||||
|
@ -2809,7 +2809,7 @@ define([
|
|||||||
time: 'fa fa-clock',
|
time: 'fa fa-clock',
|
||||||
data: 'fa fa-calendar-alt',
|
data: 'fa fa-calendar-alt',
|
||||||
today: 'fa fa-calendar-check',
|
today: 'fa fa-calendar-check',
|
||||||
clear: 'fa fa-trash',
|
clear: 'fa fa-trash-alt',
|
||||||
},
|
},
|
||||||
buttons: {
|
buttons: {
|
||||||
showToday: true,
|
showToday: true,
|
||||||
|
@ -563,7 +563,7 @@ define([
|
|||||||
var self = this;
|
var self = this;
|
||||||
this.$el.empty();
|
this.$el.empty();
|
||||||
$(this.$el).attr('tabindex', 0);
|
$(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
|
// Listen for Tab/Shift-Tab key
|
||||||
this.$el.on('keydown', function(e) {
|
this.$el.on('keydown', function(e) {
|
||||||
// with keyboard navigation on space key, mark row for deletion
|
// with keyboard navigation on space key, mark row for deletion
|
||||||
|
@ -145,7 +145,7 @@
|
|||||||
title=""
|
title=""
|
||||||
accesskey=""
|
accesskey=""
|
||||||
tabindex="0" disabled>
|
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>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group mr-1" role="group" aria-label="">
|
<div class="btn-group mr-1" role="group" aria-label="">
|
||||||
|
Loading…
Reference in New Issue
Block a user