Moving default device icon to the devices db.

This commit is contained in:
Gunther Brunner
2014-05-23 17:32:19 +09:00
parent 3794237224
commit 948528a0ff
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle
p
.device-small-image
img(ng-src='{{device.image ? "/static/devices/icon/x24/" + device.image : "/static/bower_components/stf-graphics/devices/small/default.jpg" }}')
img(ng-src='/static/devices/icon/x24/{{ device.image || "_default.jpg" }}')
span.device-name-text {{ device.name }}
span.caret(ng-show='groupDevices.length > 0')
span(ng-show='device && !device.present', translate) (Absent)
@@ -29,7 +29,7 @@
li(ng-repeat='groupDevice in groupDevices')
a(ng-click='controlDevice(groupDevice); $event.stopPropagation()')
.device-small-image
img(ng-src='{{groupDevice.image ? "/static/devices/icon/x24/" + groupDevice.image : "/static/bower_components/stf-graphics/devices/small/default.jpg" }}')
img(ng-src='/static/devices/icon/x24/{{ groupDevice.image || "_default.jpg" }}')
span(ng-class='{"current-device": groupDevice.serial === device.serial }') {{ groupDevice.name }}
span.pull-right(ng-click='kickDevice(groupDevice); $event.stopPropagation()').kick-device