mapreduce.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <div id="mapreduce">
  2. <h1 class="card-heading card-heading-blue simple card-marginbottom">{{ 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="fa fa-share"></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. <div class="control-group" rel="popover" data-original-title="{{ jar_path.name }}" data-content="{{ jar_path.popover }}" data-bind="attr: {'class': ( errors.jar_path().length > 0 ) ? 'control-group error' : 'control-group'}">
  32. <label class="control-label">{{ jar_path.name }}</label>
  33. <div class="controls">
  34. <input id="mapreduce-jar-path" type="text" name="jar-path" data-bind="value: jar_path" />
  35. <ul class="help-inline" data-bind="foreach: errors.jar_path()">
  36. <li class="error" data-bind="html: $data"></li>
  37. </ul>
  38. </div>
  39. </div>
  40. {{#job_properties}}
  41. {{>job_properties}}
  42. {{/job_properties}}
  43. {{#files}}
  44. {{>files}}
  45. {{/files}}
  46. {{#archives}}
  47. {{>archives}}
  48. {{/archives}}
  49. </fieldset>
  50. <div class="form-actions">
  51. <button data-bind="click: {{ save.func }}" class="btn btn-primary">{{ save.name }}</button>
  52. <a href="javascript:void(0);" data-bind="click: {{ cancel.func }}" class="btn">{{ cancel.name }}</a>
  53. </div>
  54. </form>
  55. </div>