summaryrefslogtreecommitdiff
path: root/www/templates/login.html
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-05-08 11:15:48 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-05-08 11:15:48 -0400
commitfc467d5b8306a8aa5b42f97b938899c6c07909aa (patch)
treea398769dd38c61c20715db54097a5caf03f3ae9b /www/templates/login.html
parent1a49d5f20142be21f235a01b4838c261ad1a09a7 (diff)
no need for ng-checked with ng-model, also removed some old dev settings, enforced to true
Diffstat (limited to 'www/templates/login.html')
-rw-r--r--www/templates/login.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/www/templates/login.html b/www/templates/login.html
index 60f6642e..cbd5a024 100644
--- a/www/templates/login.html
+++ b/www/templates/login.html
@@ -86,15 +86,13 @@
</a>
<div ng-if="$root.platformOS != 'desktop'">
<label>
- <ion-toggle ng-model="loginData.usePin" ng-change="pinPrompt();" ng-checked="{{loginData.usePin}}" toggle-class="toggle-calm"><span class="item-text-wrap">{{'kPassword' | translate}} {{'kProtect'|translate}}</span></ion-toggle>
+ <ion-toggle ng-model="loginData.usePin" ng-change="pinPrompt();" toggle-class="toggle-calm"><span class="item-text-wrap">{{'kPassword' | translate}} {{'kProtect'|translate}}</span></ion-toggle>
</label>
</div>
- <!--<label>
- <ion-toggle ng-model="loginData.useSSL" ng-checked="{{loginData.useSSL}}" toggle-class="toggle-calm"><span class="item-text-wrap">{{'kUseSSL' | translate}}</span></ion-toggle>
- </label>-->
+
<div ng-if="$root.platformOS != 'desktop'">
<label>
- <ion-toggle ng-model="loginData.keepAwake" ng-checked="{{loginData.keepAwake}}" toggle-class="toggle-calm"><span class="item-text-wrap">{{'kAwake1'|translate}}
+ <ion-toggle ng-model="loginData.keepAwake" toggle-class="toggle-calm"><span class="item-text-wrap">{{'kAwake1'|translate}}
<p>{{'kAwake2'| translate}}</p></span>
</ion-toggle>
</label>