client-credentials-x509.html 1.7 KB

12345678910111213141516171819202122232425262728
  1. <div>
  2. <form class="form-horizontal no-margin-top" name="credentialForm" novalidate kc-read-only="!client.access.configure" data-ng-controller="ClientX509Ctrl">
  3. <div class="form-group">
  4. <label class="col-md-2 control-label" for="subjectdn"><span class="required">*</span>{{:: 'subjectdn' | translate}}</label>
  5. <kc-tooltip>{{:: 'subjectdn-tooltip' | translate}}</kc-tooltip>
  6. <div class="col-sm-6">
  7. <div class="row">
  8. <div class="col-sm-6">
  9. <input class="form-control" type="text" id="subjectdn" data-ng-model="client.attributes['x509.subjectdn']">
  10. </div>
  11. </div>
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="col-md-2 control-label" for="allowRegexPatternComparison">{{:: 'allow-regex-pattern-comparison' | translate}}</label>
  16. <div class="col-sm-6">
  17. <input ng-model="allowRegexPatternComparison" name="allowRegexPatternComparison" id="allowRegexPatternComparison" ng-click="switchChange()" onoffswitch on-text="{{:: 'onText' | translate}}" off-text="{{:: 'offText' | translate}}"/>
  18. </div>
  19. <kc-tooltip>{{:: 'allow-regex-pattern-comparison.tooltip' | translate}}</kc-tooltip>
  20. </div>
  21. <div class="form-group">
  22. <div class="col-md-10 col-md-offset-2" data-ng-show="client.access.configure">
  23. <button kc-save data-ng-disabled="!changed">{{:: 'save' | translate}}</button>
  24. <button kc-reset data-ng-disabled="!changed">{{:: 'cancel' | translate}}</button>
  25. </div>
  26. </div>
  27. </form>
  28. </div>