resource-server-scope-detail.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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}}/clients">{{:: 'clients' | translate}}</a></li>
  4. <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}">{{client.clientId}}</a></li>
  5. <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/authz/resource-server">{{:: 'authz-authorization' | translate}}</a></li>
  6. <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/authz/resource-server/scope">{{:: 'authz-scopes' | translate}}</a></li>
  7. <li data-ng-show="create">{{:: 'authz-add-scope' | translate}}</li>
  8. <li data-ng-hide="create">{{originalScope.name}}</li>
  9. </ol>
  10. <h1 data-ng-show="create">{{:: 'authz-add-scope' | translate}}</h1>
  11. <h1 data-ng-hide="create">{{originalScope.name|capitalize}}<i class="pficon pficon-delete clickable" data-ng-show="!create"
  12. data-ng-hide="changed" data-ng-click="remove()"></i></h1>
  13. <form class="form-horizontal" name="clientForm" novalidate>
  14. <fieldset class="border-top">
  15. <div class="form-group">
  16. <label class="col-md-2 control-label" for="name">{{:: 'name' | translate}} </label>
  17. <div class="col-sm-6">
  18. <input class="form-control" type="text" id="name" name="name" data-ng-model="scope.name" autofocus data-ng-blur="checkNewNameAvailability()">
  19. </div>
  20. <kc-tooltip>{{:: 'authz-scope-name.tooltip' | translate}}</kc-tooltip>
  21. </div>
  22. <div class="form-group">
  23. <label class="col-md-2 control-label" for="displayName">{{:: 'displayName' | translate}} </label>
  24. <div class="col-sm-6">
  25. <input class="form-control" type="text" id="displayName" name="displayName" data-ng-model="scope.displayName">
  26. </div>
  27. <kc-tooltip>{{:: 'authz-scope-name.tooltip' | translate}}</kc-tooltip>
  28. </div>
  29. <div class="form-group">
  30. <label class="col-md-2 control-label" for="name">{{:: 'authz-icon-uri' | translate}} </label>
  31. <div class="col-sm-6">
  32. <input class="form-control" type="text" id="iconUri" name="name" data-ng-model="scope.iconUri" autofocus>
  33. </div>
  34. <kc-tooltip>{{:: 'authz-icon-uri.tooltip' | translate}}</kc-tooltip>
  35. </div>
  36. </fieldset>
  37. <div class="form-group" data-ng-show="access.manageAuthorization">
  38. <div class="col-md-10 col-md-offset-2">
  39. <button kc-save data-ng-disabled="!changed">{{:: 'save' | translate}}</button>
  40. <button kc-reset data-ng-disabled="!changed">{{:: 'cancel' | translate}}</button>
  41. </div>
  42. </div>
  43. </form>
  44. </div>
  45. <kc-menu></kc-menu>