authenticator-config.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <ol class="breadcrumb">
  3. <li><a href="#/realms/{{realm.realm}}/authentication/flows">{{:: 'authentication-flows' | translate}}</a></li>
  4. <li><a href="#/realms/{{realm.realm}}/authentication/flows/{{flow.alias}}">{{flow.alias | capitalize}}</a></li>
  5. <li class="active" data-ng-show="create">{{:: 'create-authenticator-config' | translate}}</li>
  6. <li class="active" data-ng-show="!create && config.alias">{{config.alias}}</li>
  7. <li class="active" data-ng-show="!create && !config.alias">{{config.id}}</li>
  8. </ol>
  9. <h1 data-ng-show="create">{{:: 'create-authenticator-config' | translate}}</h1>
  10. <h1 data-ng-hide="create">
  11. <span data-ng-show="config.alias">{{config.alias|capitalize}}</span>
  12. <span data-ng-show="!config.alias">{{config.id}}</span>
  13. <a><i class="pficon pficon-delete clickable" data-ng-show="!create && access.manageRealm" data-ng-hide="changed" data-ng-click="remove()"></i></a>
  14. </h1>
  15. <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm">
  16. <fieldset>
  17. <div class="form-group clearfix" data-ng-show="!create">
  18. <label class="col-md-2 control-label" for="configId">{{:: 'id' | translate}} </label>
  19. <div class="col-md-6">
  20. <input class="form-control" id="configId" type="text" ng-model="config.id" readonly>
  21. </div>
  22. </div>
  23. <div class="form-group clearfix">
  24. <label class="col-md-2 control-label" for="name">{{:: 'alias' | translate}}</label>
  25. <div class="col-md-6">
  26. <input kc-no-reserved-chars class="form-control" id="name" type="text" ng-model="config.alias" data-ng-readonly="!create">
  27. </div>
  28. <kc-tooltip>{{:: 'authenticator.alias.tooltip' | translate}}</kc-tooltip>
  29. </div>
  30. <kc-provider-config realm="realm" config="config.config" properties="configType.properties"></kc-provider-config>
  31. </fieldset>
  32. <div class="form-group">
  33. <div class="col-md-10 col-md-offset-2" data-ng-show="create && access.manageRealm">
  34. <button kc-save>{{:: 'save' | translate}}</button>
  35. <button kc-cancel data-ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <div class="col-md-10 col-md-offset-2" data-ng-show="!create && access.manageRealm">
  40. <button kc-save data-ng-disabled="!changed">{{:: 'save' | translate}}</button>
  41. <button kc-reset data-ng-disabled="!changed">{{:: 'cancel' | translate}}</button>
  42. </div>
  43. </div>
  44. </form>
  45. </div>
  46. <kc-menu></kc-menu>