Privs progress

This commit is contained in:
Mo Bitar
2018-11-21 14:27:04 -06:00
parent c5d50728c0
commit 90793938f7
9 changed files with 67 additions and 43 deletions

View File

@@ -133,7 +133,6 @@
.panel-row
.horizontal-group
%h4 Autolock
.vertical-rule
%a.info{"ng-repeat" => "option in passcodeAutoLockOptions", "ng-click" => "selectAutoLockInterval(option.value)",
"ng-class" => "{'info boxed' : option.value == selectedAutoLockInterval}"}
{{option.label}}

View File

@@ -7,12 +7,12 @@
%h1.title Authentication Required
%a.close-button.info{"ng-click" => "cancel()"} Cancel
.content
.panel-section
%form.panel-section{"ng-submit" => "submit()"}
%div{"ng-repeat" => "credential in requiredCredentials"}
%p
%strong {{promptForCredential(credential)}}
%div
%input{"type" => "password", "ng-model" => "authenticationParameters[credential]"}
%input{"type" => "password", "ng-model" => "authenticationParameters[credential]", "sn-autofocus" => "true", "should-focus" => "$index == 0"}
%div
%label.danger{"ng-if" => "isCredentialInFailureState(credential)"} Invalid authentication. Please try again.
.panel-row

View File

@@ -13,7 +13,8 @@
%tr
%th
%th{"ng-repeat" => "cred in availableCredentials"}
{{displayInfoForCredential(cred)}}
%strong {{credentialDisplayInfo[cred].label}}
%p.font-small{"style" => "margin-top: 2px", "ng-show" => "!credentialDisplayInfo[cred].availability"} Not Configured
%tbody
%tr{"ng-repeat" => "action in availableActions"}
%td