mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-27 03:05:13 +02:00
Handling of about to be kicked devices improved.
This commit is contained in:
@@ -19,16 +19,17 @@
|
||||
i(ng-show='!showScreen', tooltip-html-unsafe='{{"View device"|translate}}<br /><code>⌘-⇧-O</code>', tooltip-placement='left').fa.fa-eye-slash
|
||||
|
||||
div
|
||||
|
||||
|
||||
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle(ng-class='{"pointer": groupDevices.length > 1, "cursor": groupDevices.length <= 1}')
|
||||
p {{ $root.device.name }}
|
||||
span.caret(ng-show='groupDevices.length > 1')
|
||||
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle
|
||||
p
|
||||
.device-small-image
|
||||
img(ng-src='{{$root.device.image ? "/static/devices/" + $root.device.image : "/static/bower_components/stf-graphics/devices/small/default.jpg" }}')
|
||||
span {{ $root.device.name }}
|
||||
span.caret(ng-show='groupDevices.length > 0')
|
||||
span(ng-show='$root.device && !$root.device.present', translate) (Absent)
|
||||
|
||||
ul.dropdown-menu.pointer.unselectable(ng-show='groupDevices.length > 1')
|
||||
ul.dropdown-menu.pointer.unselectable(ng-show='groupDevices.length > 0')
|
||||
li(ng-repeat='groupDevice in groupDevices')
|
||||
a(ng-click='controlDevice(groupDevice); $event.stopPropagation();')
|
||||
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 }}
|
||||
|
||||
Reference in New Issue
Block a user