Added current device style.

This commit is contained in:
Gunther Brunner
2014-04-08 18:54:37 +09:00
parent c6a34713f0
commit c91fb302a0
3 changed files with 13 additions and 5 deletions

View File

@@ -32,13 +32,11 @@
a(ng-click='controlDevice(groupDevice); $event.stopPropagation()')
.device-small-image
img(ng-src='{{groupDevice.image ? "/static/devices/" + groupDevice.image : "/static/bower_components/stf-graphics/devices/small/default.jpg" }}')
span {{ groupDevice.name }}
span(ng-class='{"current-device": groupDevice.serial === $root.device.serial }') {{ groupDevice.name }}
span.pull-right(ng-click='kickDevice(groupDevice); $event.stopPropagation()').kick-device
i.fa.fa-times
.as-row.fill-height(ng-file-drop='$root.install($files)')
div(ng-controller='DeviceScreenCtrl')
device-screen(style='width: 400px; height: 600px; background: gray')