services_config.hbs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. {{#if controller.isRecommendedLoaded}}
  19. <ul class="nav nav-tabs">
  20. {{#each service in controller.stepConfigs}}
  21. {{#if service.showConfig}}
  22. {{#view App.ServiceConfigTab}}
  23. <a href="#{{unbound service.serviceName}}" {{bindAttr class=":active service.selected:new"}}
  24. data-toggle="tab" {{action selectService service target="view"}}>
  25. {{service.displayName}}{{#if service.errorCount}}<span
  26. class="badge badge-important">{{service.errorCount}}</span>{{/if}}</a>
  27. {{/view}}
  28. {{/if}}
  29. {{/each}}
  30. </ul>
  31. {{else}}
  32. <div class="spinner"></div>
  33. {{/if}}
  34. {{view App.ServiceConfigContainerView}}
  35. {{#if controller.isRecommendedLoaded}}
  36. <p class="loading align-center"></p>
  37. {{#if isSubmitDisabled}}
  38. {{#unless submitButtonClicked}}
  39. <div class="alert">
  40. <span class="icon-warning-sign"></span> {{t installer.step7.attentionNeeded}}<br />
  41. {{issuesFilterText}} <a href="#" {{action toggleIssuesFilter target="controller"}}>{{issuesFilterLinkText}}</a>
  42. </div>
  43. {{/unless}}
  44. {{/if}}
  45. {{/if}}