create_new_cluster.hbs 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {{!
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. }}
  18. <div class="mirroring-manage-clusters">
  19. <form class="form-horizontal">
  20. <div class="control-group row-fluid">
  21. <div class="control-label-manage-clusters span2">{{t common.name}}</div>
  22. <div class="span10">
  23. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.name"}}
  24. </div>
  25. </div>
  26. <div class="control-group form-category">
  27. <div class="category-title">{{t mirroring.manageClusters.interfaces}}</div>
  28. {{#view App.InputContainer titleBinding="controller.executeTooltip"}}
  29. <div class="control-label-manage-clusters span2">{{t mirroring.manageClusters.execute}}</div>
  30. <div class="span10">
  31. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.execute" placeholder="resourcemanager-host:8050"}}
  32. </div>
  33. {{/view}}
  34. {{#view App.InputContainer titleBinding="controller.readonlyTooltip"}}
  35. <div class="control-label-manage-clusters span2">{{t mirroring.manageClusters.readonly}}</div>
  36. <div class="span10">
  37. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.readonly" placeholder="hftp://namenode-host:50070"}}
  38. </div>
  39. {{/view}}
  40. {{#view App.InputContainer titleBinding="controller.workflowTooltip"}}
  41. <div class="control-label-manage-clusters span2">{{t mirroring.manageClusters.workflow}}</div>
  42. <div class="span10">
  43. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.workflow" placeholder="http://oozie-host:11000/oozie"}}
  44. </div>
  45. {{/view}}
  46. {{#view App.InputContainer titleBinding="controller.writeTooltip"}}
  47. <div class="control-label-manage-clusters span2">{{t mirroring.manageClusters.write}}</div>
  48. <div class="span10">
  49. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.write" placeholder="hdfs://namenode-host:8020"}}
  50. </div>
  51. {{/view}}
  52. </div>
  53. <div class="alert alert-info">{{t mirroring.manageClusters.locationsMessage}}</div>
  54. <div class="control-group form-category">
  55. <div class="category-title">{{t mirroring.manageClusters.locations}}</div>
  56. <div class="control-group row-fluid">
  57. <div class="control-label-manage-clusters span2">{{t mirroring.manageClusters.staging}}</div>
  58. <div class="span10">
  59. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.staging"}}
  60. </div>
  61. </div>
  62. <div class="control-group row-fluid">
  63. <div class="control-label-manage-clusters span2">{{t mirroring.manageClusters.working}}</div>
  64. <div class="span10">
  65. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.working"}}
  66. </div>
  67. </div>
  68. <div class="control-group row-fluid">
  69. <div class="control-label-manage-clusters span2">{{t mirroring.manageClusters.temp}}</div>
  70. <div class="span10">
  71. {{view Ember.TextField class="input-fluid" valueBinding="controller.newCluster.temp"}}
  72. </div>
  73. </div>
  74. </div>
  75. </form>
  76. </div>