realm-localization-detail.html 2.0 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}}/localization">{{:: 'localization' | translate}}</a></li>
  4. <li data-ng-hide="create">{{key}}</li>
  5. <li data-ng-show="create">{{:: 'add-localization-text' | translate}}</li>
  6. </ol>
  7. <form class="form-horizontal clearfix" name="localizationForm" novalidate>
  8. <fieldset>
  9. <div class="form-group">
  10. <label class="col-md-2 control-label" for="locale">{{:: 'locale' | translate}}</label>
  11. <div class="col-md-6">
  12. <input class="form-control" type="text" id="locale" name="locale" data-ng-model="locale"
  13. readonly>
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="col-md-2 control-label" for="key">
  18. <span class="required" data-ng-show="create">*</span> {{:: 'key' | translate}}
  19. </label>
  20. <div class="col-md-6">
  21. <input class="form-control" type="text" id="key" name="key" data-ng-model="key" autofocus
  22. required data-ng-readonly="!create">
  23. </div>
  24. </div>
  25. <div class="form-group">
  26. <label class="col-md-2 control-label" for="value">
  27. <span class="required" data-ng-show="create">*</span> {{:: 'value' | translate}}
  28. </label>
  29. <div class="col-md-6">
  30. <input class="form-control" type="text" id="value" name="value" required data-ng-model="value">
  31. </div>
  32. </div>
  33. </fieldset>
  34. <div class="form-group">
  35. <div class="col-md-10 col-md-offset-2">
  36. <button kc-save>{{:: 'save' | translate}}</button>
  37. <button kc-cancel data-ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  38. </div>
  39. </div>
  40. </form>
  41. </div>
  42. <kc-menu></kc-menu>