Skip to content

Commit

Permalink
Use FontAwesome from ExtJS
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Aug 7, 2018
1 parent 7a877ca commit af6be7f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web/app/view/DeviceMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Ext.define('Traccar.view.DeviceMenu', {

items: [{
text: Strings.sharedDrivers,
glyph: 'xf2c2@FontAwesome',
glyph: 'xf084@FontAwesome',
handler: 'onDriversClick',
reference: 'menuDriversButton'
}, {
Expand Down
2 changes: 1 addition & 1 deletion web/app/view/SettingsMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Ext.define('Traccar.view.SettingsMenu', {
}, {
hidden: true,
text: Strings.sharedDrivers,
glyph: 'xf2c2@FontAwesome',
glyph: 'xf084@FontAwesome',
handler: 'onDriversClick',
reference: 'settingsDriversButton'
}, {
Expand Down
2 changes: 1 addition & 1 deletion web/app/view/edit/Groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Ext.define('Traccar.view.edit.Groups', {
disabled: true,
handler: 'onDriversClick',
reference: 'toolbarDriversButton',
glyph: 'xf2c2@FontAwesome',
glyph: 'xf084@FontAwesome',
tooltip: Strings.sharedDrivers,
tooltipType: 'title'
}, {
Expand Down
2 changes: 1 addition & 1 deletion web/app/view/edit/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Ext.define('Traccar.view.edit.Users', {
disabled: true,
handler: 'onDriversClick',
reference: 'userDriversButton',
glyph: 'xf2c2@FontAwesome',
glyph: 'xf084@FontAwesome',
tooltip: Strings.sharedDrivers,
tooltipType: 'title'
}, {
Expand Down
2 changes: 0 additions & 2 deletions web/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@

addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/triton/resources/charts-all.css');

addStyleFile('//use.fontawesome.com/releases/v' + fontAwesomeVersion + '/css/all.css');

addStyleFile('//cdnjs.cloudflare.com/ajax/libs/ol3/' + olVersion + '/ol.css');
if (debugMode) {
addScriptFile('//cdnjs.cloudflare.com/ajax/libs/ol3/' + olVersion + '/ol-debug.js');
Expand Down

0 comments on commit af6be7f

Please sign in to comment.