client-registration-access-token.html 1.1 KB

123456789101112131415161718
  1. <div>
  2. <form class="form-horizontal" name="registrationAccessTokenForm" novalidate kc-read-only="!client.access.configure">
  3. <div class="form-group">
  4. <label class="col-md-2 control-label" for="registrationAccessToken">{{:: 'registrationAccessToken' | translate}}</label>
  5. <div class="col-sm-6">
  6. <div class="row">
  7. <div class="col-sm-6">
  8. <input readonly kc-select-action="click" class="form-control" type="text" id="registrationAccessToken" name="registrationAccessToken" data-ng-model="client.registrationAccessToken">
  9. </div>
  10. <div class="col-sm-6" data-ng-show="client.access.configure">
  11. <button type="submit" data-ng-click="regenerateRegistrationAccessToken()" class="btn btn-default">{{:: 'registrationAccessToken.regenerate' | translate}}</button>
  12. </div>
  13. </div>
  14. </div>
  15. <kc-tooltip>{{:: 'registrationAccessToken.tooltip' | translate}}</kc-tooltip>
  16. </div>
  17. </form>
  18. </div>