diff options
Diffstat (limited to 'admin/resources/partials/required-actions.html')
-rw-r--r-- | admin/resources/partials/required-actions.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/admin/resources/partials/required-actions.html b/admin/resources/partials/required-actions.html new file mode 100644 index 0000000..ab16456 --- /dev/null +++ b/admin/resources/partials/required-actions.html @@ -0,0 +1,38 @@ +<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2"> + <h1>{{:: 'authentication' | translate}}</h1> + + <kc-tabs-authentication></kc-tabs-authentication> + <table class="table table-striped table-bordered"> + <thead> + <tr data-ng-hide="unregisteredRequiredActions.length == 0"> + <th colspan = "3" class="kc-table-actions"> + <div class="pull-right" data-ng-show="access.manageRealm"> + <button class="btn btn-default" data-ng-click="register()">{{:: 'register' | translate}}</button> + </div> + </th> + </tr> + <tr data-ng-hide="requiredActions.length == 0"> + <th>{{:: 'required-action' | translate}}</th> + <th>{{:: 'enabled' | translate}}</th> + <th>{{:: 'default-action' | translate}} <i class="fa fa-question-circle text-muted" tooltip-trigger="mouseover mouseout" tooltip="{{:: 'auth.default-action.tooltip' | translate}}" tooltip-placement="top"></i></th> + </tr> + </thead> + <tbody> + <tr ng-repeat="requiredAction in requiredActions" data-ng-show="requiredActions.length > 0"> + <td class="kc-sorter"> + <button data-ng-hide="flow.builtIn" data-ng-disabled="$first" class="btn btn-default btn-sm" data-ng-click="raisePriority(requiredAction)"><i class="fa fa-angle-up"></i></button> + <button data-ng-hide="flow.builtIn" data-ng-disabled="$last" class="btn btn-default btn-sm" data-ng-click="lowerPriority(requiredAction)"><i class="fa fa-angle-down"></i></button> + <span>{{requiredAction.name}}</span></span> + </td> + <td><input type="checkbox" ng-model="requiredAction.enabled" ng-change="updateRequiredAction(requiredAction)" id="{{requiredAction.alias}}.enabled"></td> + <td><input type="checkbox" ng-model="requiredAction.defaultAction" ng-change="updateRequiredAction(requiredAction)" ng-disabled="!requiredAction.enabled" ng-checked="requiredAction.enabled && requiredAction.defaultAction" id="{{requiredAction.alias}}.defaultAction"></td> + </tr> + <tr data-ng-show="requiredActions.length == 0"> + <td>{{:: 'no-required-actions-configured' | translate}}</td> + </tr> + </tbody> + </table> + +</div> + +<kc-menu></kc-menu> |