diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-29 14:06:40 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-29 14:06:40 +1200 |
commit | cd0c04a03b359dfc5b1ea3f61b93aaae8f6fec3e (patch) | |
tree | 8cd9c56d723b723cc3dae97234d9a1830adcf2d5 /web/app/view/Devices.js | |
parent | 88c95715221d78d834aef23a20be437eceee8006 (diff) | |
download | trackermap-server-cd0c04a03b359dfc5b1ea3f61b93aaae8f6fec3e.tar.gz trackermap-server-cd0c04a03b359dfc5b1ea3f61b93aaae8f6fec3e.tar.bz2 trackermap-server-cd0c04a03b359dfc5b1ea3f61b93aaae8f6fec3e.zip |
Change alarm highlight logic
Diffstat (limited to 'web/app/view/Devices.js')
-rw-r--r-- | web/app/view/Devices.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js index c086827f8..ab6436ea6 100644 --- a/web/app/view/Devices.js +++ b/web/app/view/Devices.js @@ -57,10 +57,10 @@ Ext.define('Traccar.view.Devices', { tooltipType: 'title' }, { xtype: 'tbfill' - },{ + }, { id: 'muteButton', glyph: 'xf1f7@FontAwesome', - tooltip: Strings.muteButton, + tooltip: Strings.sharedMute, tooltipType: 'title', pressed : true, enableToggle: true, @@ -156,13 +156,13 @@ Ext.define('Traccar.view.Devices', { renderer: function (value, metaData, record) { switch (record.get('status')) { case 'online': - metaData.tdCls = 'status-color-online'; + metaData.tdCls = 'view-color-green'; break; case 'offline': - metaData.tdCls = 'status-color-offline'; + metaData.tdCls = 'view-color-red'; break; default: - metaData.tdCls = 'status-color-unknown'; + metaData.tdCls = 'view-color-yellow'; break; } if (Traccar.app.getPreference('twelveHourFormat', false)) { |