edit_repositories.hbs 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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="alert alert-info">
  19. {{t admin.stackVersions.editRepositories.info}}
  20. </div>
  21. <div {{bindAttr class="view.parentView.serverValidationFailed::hidden :alert :alert-warning"}}>
  22. {{t admin.stackVersions.editRepositories.validation.warning}}
  23. </div>
  24. <div class="row-fluid">
  25. <div class="span2"><strong>{{t common.os}}</strong></div>
  26. <div class="span10 row-fluid">
  27. <div class="span3"><strong>{{t common.name}}</strong></div>
  28. <div class="span9"><strong>{{t admin.cluster.repositories.baseUrl}}</strong></div>
  29. </div>
  30. </div>
  31. {{#each os in view.content.operatingSystems}}
  32. <div class="row-fluid os-block" {{bindAttr id="os.osType"}}>
  33. <div class="span2">
  34. {{os.osType}}
  35. </div>
  36. <div class="span10">
  37. {{#each repository in os.repositories}}
  38. <div {{bindAttr class="repository.repoName :row-fluid"}}>
  39. <div class="span3">{{repository.repoName}}</div>
  40. <div {{bindAttr class="repository.hasError:error :control-group :span9"}}>{{view App.BaseUrlTextField repositoryBinding="repository"}}</div>
  41. </div>
  42. {{/each}}
  43. </div>
  44. </div>
  45. {{/each}}
  46. <div id="skip-validation">
  47. <label>{{view view.skipCheckBox checkedBinding="view.parentView.skipValidation"}}{{t installer.step1.advancedRepo.skipValidation.message}}
  48. <i class="icon-question-sign" rel="skip-validation-tooltip"
  49. data-toggle="tooltip" {{translateAttr title="installer.step1.advancedRepo.skipValidation.tooltip"}}></i></label>
  50. </div>
  51. {{#if App.supports.redhatSatellite}}
  52. <div id="use-redhat">
  53. <label>{{view Ember.Checkbox classNames="align-checkbox" checkedBinding="view.parentView.useRedhatSatellite"}}{{t installer.step1.advancedRepo.useRedhatSatellite.message}}
  54. <i class="icon-question-sign" rel="use-redhat-tooltip"
  55. data-toggle="tooltip" {{translateAttr title="installer.step1.advancedRepo.useRedhatSatellite.tooltip"}}></i></label>
  56. </div>
  57. {{/if}}