From 166237d0c15ea228105afa65958d8a2889aab05b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 5 Nov 2016 00:09:04 +1300 Subject: Use icons for save and cancel buttons --- web/app/view/GeofenceMap.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'web/app/view/GeofenceMap.js') diff --git a/web/app/view/GeofenceMap.js b/web/app/view/GeofenceMap.js index 71d52f1..e175a04 100644 --- a/web/app/view/GeofenceMap.js +++ b/web/app/view/GeofenceMap.js @@ -40,11 +40,17 @@ Ext.define('Traccar.view.GeofenceMap', { }, { xtype: 'tbfill' }, { - text: Strings.sharedSave, + glyph: 'xf00c@FontAwesome', + tooltip: Strings.sharedSave, + tooltipType: 'title', + minWidth: 0, handler: 'onSaveClick' }, { - text: Strings.sharedCancel, - handler: 'onCancelClick' + glyph: 'xf00d@FontAwesome', + tooltip: Strings.sharedCancel, + tooltipType: 'title', + minWidth: 0, + handler: 'closeView' }] }, -- cgit v1.2.3