client-scopes-realm-default.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <h1>
  3. <span>{{:: 'default-client-scopes' | translate}}</span>
  4. <kc-tooltip>{{:: 'default-client-scopes.tooltip' | translate}}</kc-tooltip>
  5. </h1>
  6. <ul class="nav nav-tabs">
  7. <li>
  8. <a href="#/realms/{{realm.realm}}/client-scopes">{{:: 'client-scopes' | translate}}</a>
  9. <kc-tooltip>{{:: 'client-scopes.tooltip' | translate}}</kc-tooltip>
  10. </li>
  11. <li class="active">
  12. <a href="#/realms/{{realm.realm}}/default-client-scopes">{{:: 'default-client-scopes' | translate}}</a>
  13. <kc-tooltip>{{:: 'default-client-scopes.tooltip' | translate}}</kc-tooltip>
  14. </li>
  15. </ul>
  16. <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageClients">
  17. <div class="form-group">
  18. <label class="col-md-2 control-label" class="control-label">{{:: 'default-client-scopes.default' | translate}}</label>
  19. <kc-tooltip>{{:: 'default-client-scopes.default.tooltip' | translate}}</kc-tooltip>
  20. <div class="col-md-10">
  21. <div class="row">
  22. <div class="col-md-4">
  23. <label class="control-label" for="available">{{:: 'default-client-scopes.default.available' | translate}}</label>
  24. <kc-tooltip>{{:: 'default-client-scopes.default.available.tooltip' | translate}}</kc-tooltip>
  25. <select id="available" class="form-control overflow-select" multiple size="5"
  26. ng-multiple="true"
  27. ng-model="selectedDefaultClientScopes">
  28. <option ng-repeat="r in availableClientScopes | orderBy:'name'" value="{{r}}" title="{{r.name}}">
  29. {{r.name}}
  30. </option>
  31. </select>
  32. <button ng-disabled="selectedDefaultClientScopes.length == 0" class="btn btn-default" type="submit" ng-click="addDefaultClientScope()">
  33. {{:: 'add-selected' | translate}} <i class="fa fa-angle-double-right"></i>
  34. </button>
  35. </div>
  36. <div class="col-md-4">
  37. <label class="control-label" for="assigned">{{:: 'default-client-scopes.default.assigned' | translate}}</label>
  38. <kc-tooltip>{{:: 'default-client-scopes.default.assigned.tooltip' | translate}}</kc-tooltip>
  39. <select id="assigned" class="form-control overflow-select" multiple size=5
  40. ng-multiple="true"
  41. ng-model="selectedDefDefaultClientScopes">
  42. <option ng-repeat="r in realmDefaultClientScopes | orderBy:'name'" value="{{r}}" title="{{r.name}}">
  43. {{r.name}}
  44. </option>
  45. </select>
  46. <button ng-disabled="selectedDefDefaultClientScopes.length == 0" class="btn btn-default" type="submit" ng-click="deleteDefaultClientScope()">
  47. <i class="fa fa-angle-double-left"></i> {{:: 'remove-selected' | translate}}
  48. </button>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="form-group">
  54. <label class="col-md-2 control-label" class="control-label">{{:: 'default-client-scopes.optional' | translate}}</label>
  55. <kc-tooltip>{{:: 'default-client-scopes.optional.tooltip' | translate}}</kc-tooltip>
  56. <div class="col-md-10">
  57. <div class="row">
  58. <div class="col-md-4">
  59. <label class="control-label" for="available-opt">{{:: 'default-client-scopes.optional.available' | translate}}</label>
  60. <kc-tooltip>{{:: 'default-client-scopes.optional.available.tooltip' | translate}}</kc-tooltip>
  61. <select id="available-opt" class="form-control overflow-select" multiple size="5"
  62. ng-multiple="true"
  63. ng-model="selectedOptionalClientScopes">
  64. <option ng-repeat="r in availableClientScopes | orderBy:'name'" value="{{r}}" title="{{r.name}}">
  65. {{r.name}}
  66. </option>
  67. </select>
  68. <button ng-disabled="selectedOptionalClientScopes.length == 0" class="btn btn-default" type="submit" ng-click="addOptionalClientScope()">
  69. {{:: 'add-selected' | translate}} <i class="fa fa-angle-double-right"></i>
  70. </button>
  71. </div>
  72. <div class="col-md-4">
  73. <label class="control-label" for="assigned-opt">{{:: 'default-client-scopes.optional.assigned' | translate}}</label>
  74. <kc-tooltip>{{:: 'default-client-scopes.optional.assigned.tooltip' | translate}}</kc-tooltip>
  75. <select id="assigned-opt" class="form-control overflow-select" multiple size=5
  76. ng-multiple="true"
  77. ng-model="selectedDefOptionalClientScopes">
  78. <option ng-repeat="r in realmOptionalClientScopes | orderBy:'name'" value="{{r}}" title="{{r.name}}">
  79. {{r.name}}
  80. </option>
  81. </select>
  82. <button ng-disabled="selectedDefOptionalClientScopes.length == 0" class="btn btn-default" type="submit" ng-click="deleteOptionalClientScope()">
  83. <i class="fa fa-angle-double-left"></i> {{:: 'remove-selected' | translate}}
  84. </button>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </form>
  90. </div>
  91. <kc-menu></kc-menu>