testConnection.hbs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <form class="form-horizontal" autocomplete="off">
  19. <div class="add-cluster-1">
  20. <div class="add-cluster-1-1">
  21. <h4>Enter the URLs for the following</h4>
  22. <div {{bindAttr class=" :each-row content.isNameNodeWebUrlError:error"}}>
  23. {{t mirroring.targetcluster.nameNodeWebUrl}}
  24. </div>
  25. <div {{bindAttr class=" :each-row content.isNameNodeWebUrlError:error"}}>
  26. {{view Ember.TextField valueBinding="content.targetCluster.nameNodeWebUrl" class="span4" placeholder="http://[NameNode Web UI Server]:50070"}}
  27. <span class="help-inline">{{content.nameNodeWebUrlErrorMessage}}</span>
  28. </div>
  29. <div {{bindAttr class=" :each-row content.isNameNodeRpcUrlError:error"}}>
  30. {{t mirroring.targetcluster.nameNodeRpcUrl}}
  31. </div>
  32. <div {{bindAttr class=" :each-row content.isNameNodeRpcUrlError:error"}}>
  33. {{view Ember.TextField valueBinding="content.targetCluster.nameNodeRpcUrl" class="span4" placeholder="http://[NameNode RPC Server]:8020"}}
  34. <span class="help-inline">{{content.nameNodeRpcUrlErrorMessage}}</span>
  35. </div>
  36. <div {{bindAttr class=" :each-row content.isOozieServerUrlError:error"}}>
  37. {{t mirroring.targetcluster.oozieServerUrl}}
  38. </div>
  39. <div {{bindAttr class=" :each-row content.isOozieServerUrlError:error"}}>
  40. {{view Ember.TextField valueBinding="content.targetCluster.oozieServerUrl" class="span4" placeholder="http://[Oozie server]:11000"}}
  41. <span class="help-inline">{{content.oozieServerUrlErrorMessage}}</span>
  42. </div>
  43. </div>
  44. {{#if view.parentView.parentView.controller.model.isPopupForEdit}}
  45. <div class="add-cluster-1-3">
  46. <div class="each-row pull-right">
  47. <a {{action deleteTargetCluster target="view.parentView.parentView.controller"}}
  48. class="btn btn-danger">{{t common.delete}}</a>
  49. </div>
  50. </div>
  51. {{/if}}
  52. </div>
  53. </form>