Privileges wip

This commit is contained in:
Mo Bitar
2018-11-19 14:52:02 -06:00
parent fb6b5fa983
commit 16296e7f80
3 changed files with 37 additions and 12 deletions

View File

@@ -8,13 +8,18 @@
%a.close-button.info{"ng-click" => "cancel()"} Cancel
.content
.panel-section
.panel-row{"ng-repeat" => "credential in requiredCredentials"}
%p {{promptForCredential(credential)}}
%input{"type" => "password", "ng-model" => "authenticationParameters[credential]"}
%label.danger{"ng-if" => "isCredentialInFailureState(credential)"} Invalid authentication. Please try again.
%div{"ng-repeat" => "credential in requiredCredentials"}
%p
%strong {{promptForCredential(credential)}}
%div
%input{"type" => "password", "ng-model" => "authenticationParameters[credential]"}
%div
%label.danger{"ng-if" => "isCredentialInFailureState(credential)"} Invalid authentication. Please try again.
.panel-row
.panel-row
.horizontal-group
%h4 Remember for
%p
%strong Remember for
%a.info{"ng-repeat" => "option in sessionLengthOptions", "ng-click" => "selectSessionLength(option.value)",
"ng-class" => "{'info boxed' : option.value == selectedSessionLength}"}
{{option.label}}