mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 16:25:13 +02:00
Implement enable/disable bluetooth of device (#754)
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
This commit is contained in:
committed by
GitHub
parent
63ad4f138e
commit
e958a599cb
@@ -4,7 +4,7 @@
|
||||
span(translate) Device Settings
|
||||
.widget-content.padded
|
||||
.row
|
||||
.col-md-6
|
||||
.col-md-4
|
||||
h6(translate) Manner Mode
|
||||
.btn-group
|
||||
label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', uib-btn-radio='"SILENT"', uib-tooltip='{{"Silent Mode" | translate}}')
|
||||
@@ -14,7 +14,7 @@
|
||||
label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', uib-btn-radio='"NORMAL"', uib-tooltip='{{"Normal Mode" | translate}}')
|
||||
i.fa.fa-volume-up.fa-fw
|
||||
|
||||
.col-md-6
|
||||
.col-md-4
|
||||
h6(translate) WiFi
|
||||
.btn-group
|
||||
label.btn.btn-sm.btn-primary-outline(ng-model='wifiEnabled', ng-click='toggleWifi(false)', uib-btn-radio='false', uib-tooltip='{{"Disable WiFi" | translate}}')
|
||||
@@ -22,6 +22,14 @@
|
||||
label.btn.btn-sm.btn-primary-outline(ng-model='wifiEnabled', ng-click='toggleWifi(true)', uib-btn-radio='true', uib-tooltip='{{"Enable WiFi" | translate}}')
|
||||
i.fa.fa-wifi.fa-fw
|
||||
|
||||
.col-md-4
|
||||
h6(translate) Bluetooth
|
||||
.btn-group
|
||||
label.btn.btn-sm.btn-primary-outline(ng-model='bluetoothEnabled', ng-click='toggleBluetooth(false)', ng-disabled='bluetoothPending', uib-btn-radio='false', uib-tooltip='{{"Disable Bluetooth" | translate}}')
|
||||
i.fa.fa-power-off.fa-fw
|
||||
label.btn.btn-sm.btn-primary-outline(ng-model='bluetoothEnabled', ng-click='toggleBluetooth(true)', ng-disabled='bluetoothPending', uib-btn-radio='true', uib-tooltip='{{"Enable Bluetooth" | translate}}')
|
||||
i.fa.fa-bluetooth-b.fa-fw
|
||||
|
||||
//.row
|
||||
.col-md-12
|
||||
h6(translate) Lock Rotation
|
||||
|
||||
Reference in New Issue
Block a user