mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Moved identify device button to Info tab.
This commit is contained in:
parent
d933a65412
commit
3143101ab5
2 changed files with 29 additions and 9 deletions
|
@ -4,9 +4,6 @@
|
|||
.stf-vnc-navbar.as-row(ng-show='!$root.basicMode')
|
||||
|
||||
.pull-right
|
||||
button(ng-click='control.identify()', tooltip='Find Device', tooltip-placement='bottom').btn.btn-sm.btn-info-outline
|
||||
i.fa.fa-info
|
||||
|
||||
span.orientation-degree {{device.display.orientation}}°
|
||||
|
||||
span
|
||||
|
@ -15,6 +12,12 @@
|
|||
button(type='button', ng-click='control.rotate(90)', tooltip='Landscape', tooltip-placement='bottom').btn.btn-sm.btn-primary-outline
|
||||
i.fa.fa-mobile.fa-rotate-90
|
||||
|
||||
//span
|
||||
button(type='button', ng-click='control.rotate(0)', tooltip='Portrait', tooltip-placement='bottom').btn.btn-sm.btn-primary-outline
|
||||
i.fa.fa-mobile
|
||||
button(type='button', ng-click='control.rotate(90)', tooltip='Landscape', tooltip-placement='bottom').btn.btn-sm.btn-primary-outline
|
||||
i.fa.fa-mobile.fa-rotate-90
|
||||
|
||||
// NOTE: ui-bootstrap bug: tooltip breaks btn-checkbox so don't put in the same button
|
||||
button(type='button', ng-model='showScreen', btn-checkbox).btn.btn-sm.btn-danger
|
||||
i(ng-show='showScreen', tooltip-html-unsafe='{{"Hide Screen"|translate}}', tooltip-placement='bottom').fa.fa-eye
|
||||
|
|
|
@ -1,5 +1,22 @@
|
|||
.row.stf-info(ng-controller='InfoCtrl')
|
||||
.col-md-3
|
||||
|
||||
.col-md-4
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-location-arrow
|
||||
span(translate) Location
|
||||
.pull-right
|
||||
button(ng-click='control.identify()').btn.btn-xs.btn-primary-outline
|
||||
i.fa.fa-info
|
||||
span Find Device
|
||||
.widget-content.padded-small
|
||||
table.table.table-condensed.table-hover.table-infocard
|
||||
tbody
|
||||
tr
|
||||
td(translate) Place
|
||||
td {{device.provider.name}}
|
||||
|
||||
.col-md-4
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-bolt
|
||||
|
@ -28,7 +45,7 @@
|
|||
td Voltage
|
||||
td {{device.battery.voltage}} v
|
||||
|
||||
.col-md-3
|
||||
.col-md-4
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-tablet
|
||||
|
@ -64,7 +81,7 @@
|
|||
td Y DPI
|
||||
td {{device.display.ydpi}}
|
||||
|
||||
.col-md-3
|
||||
.col-md-4
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-signal
|
||||
|
@ -91,7 +108,7 @@
|
|||
td Sub Type
|
||||
td {{device.network.subtype | networkSubType}}
|
||||
|
||||
.col-md-3
|
||||
.col-md-4
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-credit-card
|
||||
|
@ -117,7 +134,7 @@
|
|||
small {{device.phone.iccid}}
|
||||
|
||||
|
||||
.col-md-3
|
||||
.col-md-4
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-phone
|
||||
|
@ -141,7 +158,7 @@
|
|||
td(translate) Released
|
||||
td {{device.releasedAt | date:longDate}}
|
||||
|
||||
.col-md-3
|
||||
.col-md-4
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-mobile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue