aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/DeviceImages.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-22 23:28:06 +1300
committerGitHub <noreply@github.com>2016-12-22 23:28:06 +1300
commitb156d60043e8b8498ebd1953acc5a2f77e0b7b44 (patch)
tree7783aeca0a25e461f58ed7eddd62fd49f1d9ae9b /web/app/store/DeviceImages.js
parent987f2aad51e825eba983517b113412ff49777c42 (diff)
parente165b86817ba09824d488e16d41a041761aa9537 (diff)
downloadetbsa-traccar-web-b156d60043e8b8498ebd1953acc5a2f77e0b7b44.tar.gz
etbsa-traccar-web-b156d60043e8b8498ebd1953acc5a2f77e0b7b44.tar.bz2
etbsa-traccar-web-b156d60043e8b8498ebd1953acc5a2f77e0b7b44.zip
Merge pull request #368 from Abyss777/animal_category
Add "Animal" device category
Diffstat (limited to 'web/app/store/DeviceImages.js')
-rw-r--r--web/app/store/DeviceImages.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/store/DeviceImages.js b/web/app/store/DeviceImages.js
index 4a89f4c..c1a8201 100644
--- a/web/app/store/DeviceImages.js
+++ b/web/app/store/DeviceImages.js
@@ -89,5 +89,12 @@ Ext.define('Traccar.store.DeviceImages', {
fillId: 'background',
rotateId: 'background',
scaleId: 'layer1'
+ }, {
+ key: 'animal',
+ name: Strings.categoryAnimal,
+ svg: document.getElementById('animalSvg').contentDocument,
+ fillId: 'background',
+ rotateId: 'background',
+ scaleId: 'layer1'
}]
});