fs.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <div id="mapreduce" 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. {{#deletes}}
  32. {{>deletes}}
  33. {{/deletes}}
  34. {{#mkdirs}}
  35. {{>mkdirs}}
  36. {{/mkdirs}}
  37. {{#moves}}
  38. {{>moves}}
  39. {{/moves}}
  40. {{#chmods}}
  41. {{>chmods}}
  42. {{/chmods}}
  43. {{#touchs}}
  44. {{>touchs}}
  45. {{/touchs}}
  46. </fieldset>
  47. <div class="form-actions">
  48. <button data-bind="click: {{ save.func }}" class="btn btn-primary">{{ save.name }}</button>
  49. <a href="javascript:void(0);" data-bind="click: {{ cancel.func }}" class="btn">{{ cancel.name }}</a>
  50. </div>
  51. </form>
  52. </div>