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:
parent
9c9b51cd1a
commit
1d0e3e8ade
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue