mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Upgrade font awesome from v4 to v5. Fixes #5731
This commit is contained in:
committed by
Akshay Joshi
parent
36574b25b6
commit
93adf6884f
@@ -621,7 +621,7 @@ define('pgadmin.browser', [
|
||||
}),
|
||||
},
|
||||
},{
|
||||
text: gettext('Reset Master Password'), className: 'btn btn-secondary fa fa-trash-o pg-alertify-button pull-left',
|
||||
text: gettext('Reset Master Password'), className: 'btn btn-secondary fa fa-trash-alt pg-alertify-button pull-left',
|
||||
},{
|
||||
text: gettext('Cancel'), className: 'btn btn-secondary fa fa-times pg-alertify-button',
|
||||
key: 27,
|
||||
|
||||
@@ -44,7 +44,7 @@ define([
|
||||
name: 'refresh', node: this.type, module: this,
|
||||
applies: ['object', 'context'], callback: 'refresh',
|
||||
priority: 1, label: gettext('Refresh...'),
|
||||
icon: 'fa fa-refresh',
|
||||
icon: 'fa fa-sync-alt',
|
||||
}]);
|
||||
|
||||
// show query tool only in context menu of supported nodes.
|
||||
@@ -247,7 +247,7 @@ define([
|
||||
type: 'delete',
|
||||
tooltip: gettext('Delete/Drop'),
|
||||
extraClasses: ['btn-primary-icon m-1', 'delete_multiple'],
|
||||
icon: 'fa fa-lg fa-trash-o',
|
||||
icon: 'fa fa-lg fa-trash-alt',
|
||||
disabled: (_.isFunction(that.canDrop)) ? !(that.canDrop.apply(self, [data, item])) : (!that.canDrop),
|
||||
register: function(btn) {
|
||||
btn.on('click',() => {
|
||||
|
||||
@@ -116,7 +116,7 @@ define('pgadmin.browser.node', [
|
||||
callback: 'refresh',
|
||||
priority: 1,
|
||||
label: gettext('Refresh...'),
|
||||
icon: 'fa fa-refresh',
|
||||
icon: 'fa fa-sync-alt',
|
||||
}]);
|
||||
|
||||
if (self.canEdit) {
|
||||
@@ -131,7 +131,7 @@ define('pgadmin.browser.node', [
|
||||
data: {
|
||||
'action': 'edit',
|
||||
},
|
||||
icon: 'fa fa-pencil-square-o',
|
||||
icon: 'fa fa-edit',
|
||||
}]);
|
||||
}
|
||||
|
||||
@@ -229,7 +229,7 @@ define('pgadmin.browser.node', [
|
||||
data: {
|
||||
'script': stype,
|
||||
},
|
||||
icon: 'fa fa-pencil',
|
||||
icon: 'fa fa-pencil-alt',
|
||||
enable: self.check_user_permission,
|
||||
}]);
|
||||
});
|
||||
@@ -1232,7 +1232,7 @@ define('pgadmin.browser.node', [
|
||||
type: 'edit',
|
||||
tooltip: gettext('Edit'),
|
||||
extraClasses: ['btn', 'btn-primary', 'pull-right', 'm-1'],
|
||||
icon: 'fa fa-sm fa-pencil',
|
||||
icon: 'fa fa-sm fa-pencil-alt',
|
||||
disabled: !that.canEdit,
|
||||
register: function(btn) {
|
||||
btn.on('click',() => {
|
||||
@@ -1523,7 +1523,7 @@ define('pgadmin.browser.node', [
|
||||
type: 'cancel',
|
||||
tooltip: gettext('Cancel changes to this object.'),
|
||||
extraClasses: ['btn-secondary', 'mx-1'],
|
||||
icon: 'fa fa-close pg-alertify-button',
|
||||
icon: 'fa fa-times pg-alertify-button',
|
||||
disabled: false,
|
||||
register: function(btn) {
|
||||
btn.on('click',() => {
|
||||
|
||||
@@ -32,7 +32,7 @@ define([
|
||||
let $selectAll = $([
|
||||
'<button class="btn btn-secondary btn-sm" type="button"',
|
||||
' style="width: 49%;margin: 0 0.5%;">',
|
||||
'<i class="fa fa-check-square-o" role="img"></i>',
|
||||
'<i class="fa fa-check-square" role="img"></i>',
|
||||
'<span style="padding: 0px 5px;">',
|
||||
gettext('Select All'),
|
||||
'</span></button>',
|
||||
|
||||
@@ -134,7 +134,7 @@ define([
|
||||
' </div>' +
|
||||
' <div class="ml-auto">' +
|
||||
' <button class="btn btn-secondary wizard-cancel" <%=this.options.disable_cancel ? "disabled" : ""%>>' +
|
||||
' <i class="fa fa-close" role="img"></i> ' + gettext('Cancel') + '</button>' +
|
||||
' <i class="fa fa-times" role="img"></i> ' + gettext('Cancel') + '</button>' +
|
||||
' <button class="btn btn-secondary wizard-back" <%=this.options.disable_prev ? "disabled" : ""%>>' +
|
||||
' <i class="fa fa-backward" role="img"></i> ' + gettext('Back') + '</button>' +
|
||||
' <button class="btn btn-secondary wizard-next" <%=this.options.disable_next ? "disabled" : ""%>>' +
|
||||
|
||||
Reference in New Issue
Block a user