Privileges modal

This commit is contained in:
Mo Bitar
2018-11-09 13:49:49 -06:00
parent 29c9d8f36a
commit 0410391fc5
7 changed files with 225 additions and 36 deletions

View File

@@ -0,0 +1,25 @@
.background{"ng-click" => "cancel()"}
.content#privileges-modal
.sn-component
.panel
.header
%h1.title Manage Privileges
%a.close-button.info{"ng-click" => "cancel()"} Cancel
.content
.panel-section
%table
%thead
%tr
%th
%th{"ng-repeat" => "cred in availableCredentials"}
{{cred}}
%tbody
%tr{"ng-repeat" => "action in availableActions"}
%td
%p {{metadata[action].displayInfo.label}}
%th{"ng-repeat" => "cred in availableCredentials"}
%input{"type" => "checkbox", "ng-model" => "metadata[action]['credentialValues'][cred]", "ng-change" => "checkboxValueChanged(action)"}
.footer
.button.info.big.block.bold{"ng-click" => "submit()"} Save