aboutsummaryrefslogtreecommitdiff
blob: ab16456c9e7fa20ed1f0317558feb3960875acd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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>