mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 15:55:16 +02:00
Added current device style.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user