From 5613a8b72bdb69e6f027c00af66f1219893c29b5 Mon Sep 17 00:00:00 2001 From: Gunther Brunner Date: Tue, 25 Aug 2015 16:45:48 +0900 Subject: [PATCH] Add title separators to Automation's Device Settings. --- .../device-settings/device-settings.jade | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/res/app/control-panes/automation/device-settings/device-settings.jade b/res/app/control-panes/automation/device-settings/device-settings.jade index 375ccfd3..68230116 100644 --- a/res/app/control-panes/automation/device-settings/device-settings.jade +++ b/res/app/control-panes/automation/device-settings/device-settings.jade @@ -4,15 +4,20 @@ span(translate) Device Settings .widget-content.padded - button.btn.btn-sm.btn-primary-outline(ng-click='toggleWifi()', - ng-model='wifiEnabled', btn-checkbox) - i.fa.fa-signal.fa-fw(ng-show='wifiEnabled', tooltip='{{"Disable WiFi" | translate}}') - i.fa.fa-signal.fa-fw(ng-hide='wifiEnabled', tooltip='{{"Enable WiFi" | translate}}') + div + h6(translate) WiFi - .btn-group - label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', btn-radio='"SILENT"') - i.fa.fa-volume-off.fa-fw(tooltip='{{"Silent Mode" | translate}}') - label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', btn-radio='"VIBRATE"') - i.fa.fa-mobile.fa-fw(tooltip='{{"Vibrate Mode" | translate}}') - label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', btn-radio='"NORMAL"') - i.fa.fa-volume-up.fa-fw(tooltip='{{"Normal Mode" | translate}}') + button.btn.btn-sm.btn-primary-outline(ng-click='toggleWifi()', + ng-model='wifiEnabled', btn-checkbox) + i.fa.fa-wifi.fa-fw(ng-show='wifiEnabled', tooltip='{{"Disable WiFi" | translate}}') + i.fa.fa-wifi.fa-fw(ng-hide='wifiEnabled', tooltip='{{"Enable WiFi" | translate}}') + + div + h6(translate) Manner Mode + .btn-group + label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', btn-radio='"SILENT"') + i.fa.fa-volume-off.fa-fw(tooltip='{{"Silent Mode" | translate}}') + label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', btn-radio='"VIBRATE"') + i.fa.fa-mobile.fa-fw(tooltip='{{"Vibrate Mode" | translate}}') + label.btn.btn-sm.btn-primary-outline(ng-model='ringerMode', btn-radio='"NORMAL"') + i.fa.fa-volume-up.fa-fw(tooltip='{{"Normal Mode" | translate}}')