create-flow-execution.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <h1>{{:: 'create-execution-flow' | 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 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" data-ng-hide="flow.type == 'client-flow'">
  19. <label class="col-md-2 control-label" for="flowType">{{:: 'flow-type' | translate}}</label>
  20. <div class="col-sm-6">
  21. <div>
  22. <select class="form-control" id="flowType"
  23. ng-model="flow.type">
  24. <option value="basic-flow">{{:: 'flow.generic.type' | translate}}</option>
  25. <option value="form-flow">{{:: 'flow.form.type' | translate}}</option>
  26. </select>
  27. </div>
  28. </div>
  29. <kc-tooltip>{{:: 'flow-type.tooltip' | translate}}</kc-tooltip>
  30. </div>
  31. <div class="form-group" data-ng-show="flow.type == 'form-flow'">
  32. <label class="col-md-2 control-label" for="provider">{{:: 'form-provider' | translate}}</label>
  33. <div class="col-sm-6">
  34. <div>
  35. <select class="form-control" id="provider"
  36. ng-model="provider"
  37. ng-options="provider.id for provider in formProviders">
  38. </select>
  39. </div>
  40. </div>
  41. <kc-tooltip>{{provider.description}}</kc-tooltip>
  42. </div>
  43. <div class="form-group">
  44. <div class="col-md-10 col-md-offset-2">
  45. <button kc-save>{{:: 'save' | translate}}</button>
  46. <button type="button" class="btn btn-default" ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  47. </div>
  48. </div>
  49. </form>
  50. </div>
  51. <kc-menu></kc-menu>