1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 03:50:04 +02:00

Removed navigation history button.

Added popup for Icon View.
This commit is contained in:
Gunther Brunner 2014-05-23 19:00:32 +09:00
parent 9c9b51cd1a
commit 1d0e3e8ade
2 changed files with 5 additions and 3 deletions

View file

@ -17,9 +17,9 @@
typeahead='url for url in urlHistory | filter:$viewValue').form-control
.input-group-btn
button(ng-click='openURL()', ng-disabled='!textURL', translate).btn.btn-primary-outline Open
button(type='button', ng-disabled='!hasHistory()').btn.btn-primary-outline.dropdown-toggle
//button(type='button', ng-disabled='!hasHistory()').btn.btn-primary-outline.dropdown-toggle
span.caret
ul.dropdown-menu
//ul.dropdown-menu
li(ng-repeat='url in urlHistory')
a(ng-click='insertURL(url)').btn-link {{url}}
li.divider

View file

@ -25,10 +25,12 @@ div.stf-device-list
ul.devices-icon-view
li(ng-repeat='device in tracker.devices | filter:{usable:true} | filter:{name:deviceSearch} | orderBy:"name" track by device.serial',
ng-click='toggle(device)',
popover='{{ device.model }}', popover-trigger='mouseenter', popover-popup-delay='1000',
popover-title='{{ device.name || device.model }}', popover-placement='top'
).cursor-select.pointer.thumbnail
.device-photo-small
img(ng-src='/static/devices/icon/x120/{{ device.image || "_default.jpg" }}')
.device-name(title='{{device.serial}} - {{device.model}}') {{ device.name || device.model }}
.device-name {{ device.name || device.model }}
//raphael-status-icon.device-status-button(status='{{ deviceStatus(device) }}', title="{{ deviceStatusText(device) }}", tooltip='{{ deviceStatusText(device)|translate }}')
button(ng-class='{"btn-primary": device.state == "using", "btn-primary-outline": device.state == "available"}').btn.btn-xs.device-status {{device.state|statusName}}
.clear-fix