diff options
Diffstat (limited to 'admin/resources/partials/authenticator-config.html')
-rw-r--r-- | admin/resources/partials/authenticator-config.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/admin/resources/partials/authenticator-config.html b/admin/resources/partials/authenticator-config.html new file mode 100644 index 0000000..1b34406 --- /dev/null +++ b/admin/resources/partials/authenticator-config.html @@ -0,0 +1,52 @@ +<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2"> + + <ol class="breadcrumb"> + <li><a href="#/realms/{{realm.realm}}/authentication/flows">{{:: 'authentication-flows' | translate}}</a></li> + <li><a href="#/realms/{{realm.realm}}/authentication/flows/{{flow.alias}}">{{flow.alias | capitalize}}</a></li> + <li class="active" data-ng-show="create">{{:: 'create-authenticator-config' | translate}}</li> + <li class="active" data-ng-show="!create && config.alias">{{config.alias}}</li> + <li class="active" data-ng-show="!create && !config.alias">{{config.id}}</li> + </ol> + + <h1 data-ng-show="create">{{:: 'create-authenticator-config' | translate}}</h1> + <h1 data-ng-hide="create"> + <span data-ng-show="config.alias">{{config.alias|capitalize}}</span> + <span data-ng-show="!config.alias">{{config.id}}</span> + <a><i class="pficon pficon-delete clickable" data-ng-show="!create && access.manageRealm" data-ng-hide="changed" data-ng-click="remove()"></i></a> + </h1> + + <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm"> + <fieldset> + <div class="form-group clearfix" data-ng-show="!create"> + <label class="col-md-2 control-label" for="configId">{{:: 'id' | translate}} </label> + <div class="col-md-6"> + <input class="form-control" id="configId" type="text" ng-model="config.id" readonly> + </div> + </div> + <div class="form-group clearfix"> + <label class="col-md-2 control-label" for="name">{{:: 'alias' | translate}}</label> + <div class="col-md-6"> + <input kc-no-reserved-chars class="form-control" id="name" type="text" ng-model="config.alias" data-ng-readonly="!create"> + </div> + <kc-tooltip>{{:: 'authenticator.alias.tooltip' | translate}}</kc-tooltip> + </div> + <kc-provider-config realm="realm" config="config.config" properties="configType.properties"></kc-provider-config> + </fieldset> + + <div class="form-group"> + <div class="col-md-10 col-md-offset-2" data-ng-show="create && access.manageRealm"> + <button kc-save>{{:: 'save' | translate}}</button> + <button kc-cancel data-ng-click="cancel()">{{:: 'cancel' | translate}}</button> + </div> + </div> + + <div class="form-group"> + <div class="col-md-10 col-md-offset-2" data-ng-show="!create && access.manageRealm"> + <button kc-save data-ng-disabled="!changed">{{:: 'save' | translate}}</button> + <button kc-reset data-ng-disabled="!changed">{{:: 'cancel' | translate}}</button> + </div> + </div> + </form> +</div> + +<kc-menu></kc-menu>
\ No newline at end of file |