distcp.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <div id="pig" class="container-fluid">
  2. <h1>{{ title }}</h1>
  3. <form class="form-horizontal" id="workflowForm" action="#list-designs" method="POST">
  4. <fieldset>
  5. {{#name}}
  6. {{>name}}
  7. {{/name}}
  8. {{#description}}
  9. {{>description}}
  10. {{/description}}
  11. <div class="control-group ">
  12. <label class="control-label">
  13. <a href="javascript:void(0);" onclick="$('div.advanced').toggle('hide')" class="advanced">
  14. <i class="icon-share-alt"></i>
  15. advanced
  16. </a>
  17. </label>
  18. </div>
  19. <div class="advanced hide">
  20. {{#is_shared}}
  21. {{>is_shared}}
  22. {{/is_shared}}
  23. {{#parameters}}
  24. {{>parameters}}
  25. {{/parameters}}
  26. </div>
  27. <hr/>
  28. <div class="control-group">
  29. <p class="alert alert-info">{{{ alert }}}</p>
  30. </div>
  31. {{#prepares}}
  32. {{>prepares}}
  33. {{/prepares}}
  34. {{#params}}
  35. {{>params}}
  36. {{/params}}
  37. {{#job_properties}}
  38. {{>job_properties}}
  39. {{/job_properties}}
  40. </fieldset>
  41. <div class="form-actions">
  42. <button data-bind="click: {{ save.func }}" class="btn btn-primary">{{ save.name }}</button>
  43. <a href="javascript:void(0);" data-bind="click: {{ cancel.func }}" class="btn">{{ cancel.name }}</a>
  44. </div>
  45. </form>
  46. </div>