Privs wip

This commit is contained in:
Mo Bitar
2018-11-08 14:26:05 -06:00
parent 152a7559f3
commit 29c9d8f36a
10 changed files with 241 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
.background{"ng-click" => "cancel()"}
.content#privileges-modal
.sn-component
.panel
.header
%h1.title Authentication Required
%a.close-button.info{"ng-click" => "cancel()"} Cancel
.content
.panel-section
.panel-row{"ng-repeat" => "priv in privileges"}
%p {{priv.prompt}}
%input{"type" => "password", "ng-model" => "priv.authenticationValue"}
%label.danger{"ng-if" => "doesPrivHaveFail(priv)"} Invalid authentication. Please try again.
.footer
.button.info.big.block.bold{"ng-click" => "submit()"} Submit