create-flow.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <h1>{{:: 'create-top-level-form' | translate}}</h1>
  3. <kc-tabs-authentication></kc-tabs-authentication>
  4. <form class="form-horizontal" name="clientForm" novalidate kc-read-only="!access.manageRealm">
  5. <div class="form-group">
  6. <label class="col-md-2 control-label" for="alias">{{:: 'alias' | translate}} </label>
  7. <div class="col-sm-6">
  8. <input kc-no-reserved-chars class="form-control" type="text" id="alias" name="alias" data-ng-model="flow.alias" autofocus required>
  9. </div>
  10. <kc-tooltip>{{:: 'flow.alias.tooltip' | translate}}</kc-tooltip>
  11. </div>
  12. <div class="form-group">
  13. <label class="col-md-2 control-label" for="description">{{:: 'description' | translate}} </label>
  14. <div class="col-md-6">
  15. <textarea class="form-control" rows="5" cols="50" id="description" name="description" data-ng-model="flow.description"></textarea>
  16. </div>
  17. </div>
  18. <div class="form-group">
  19. <label class="col-md-2 control-label" for="flowType">{{:: 'top-level-flow-type' | translate}}</label>
  20. <div class="col-sm-6">
  21. <div>
  22. <select class="form-control" id="flowType"
  23. ng-model="flow.providerId">
  24. <option value="basic-flow">{{:: 'flow.generic' | translate}}</option>
  25. <option value="client-flow">{{:: 'flow.client' | translate}}</option>
  26. </select>
  27. </div>
  28. </div>
  29. <kc-tooltip>{{:: 'top-level-flow-type.tooltip' | translate}}</kc-tooltip>
  30. </div>
  31. <div class="form-group">
  32. <div class="col-md-10 col-md-offset-2">
  33. <button kc-save>{{:: 'save' | translate}}</button>
  34. <button type="button" class="btn btn-default" ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  35. </div>
  36. </div>
  37. </form>
  38. </div>
  39. <kc-menu></kc-menu>