Privs wip
This commit is contained in:
@@ -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
|
||||
@@ -1,7 +1,7 @@
|
||||
.sn-component
|
||||
#footer-bar.app-bar.no-edges
|
||||
.left
|
||||
.item{"ng-click" => "ctrl.accountMenuPressed()", "click-outside" => "ctrl.showAccountMenu = false;", "is-open" => "ctrl.showAccountMenu"}
|
||||
.item{"ng-click" => "ctrl.accountMenuPressed()", "click-outside" => "ctrl.clickOutsideAccountMenu()", "is-open" => "ctrl.showAccountMenu"}
|
||||
.column
|
||||
.circle.small{"ng-class" => "ctrl.error ? 'danger' : (ctrl.getUser() ? 'info' : 'default')"}
|
||||
.column
|
||||
|
||||
Reference in New Issue
Block a user