services_config.hbs 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. {{#if hasChangedDependencies}}
  35. <div class="alert alert-warning">
  36. <span>{{dependenciesMessage}}</span> <a href="#" {{action "showChangedDependentConfigs" target="controller"}}>{{t common.showDetails}}</a>
  37. </div>
  38. {{/if}}
  39. {{#if showSelectGroupsPopup}}
  40. <div class="alert alert-warning">
  41. <span>{{dependenciesGroupMessage}}</span> <a href="#" {{action "changedDependentGroup" target="controller"}}>{{t common.showDetails}}</a>
  42. </div>
  43. {{/if}}
  44. {{view App.ServiceConfigContainerView}}
  45. {{#if controller.isRecommendedLoaded}}
  46. <p class="loading align-center"></p>
  47. {{#if isSubmitDisabled}}
  48. {{#unless submitButtonClicked}}
  49. <div class="alert">
  50. <span class="icon-warning-sign"></span> {{t installer.step7.attentionNeeded}}<br />
  51. {{issuesFilterText}} <a href="#" {{action toggleIssuesFilter target="controller"}}>{{issuesFilterLinkText}}</a>
  52. </div>
  53. {{/unless}}
  54. {{else}}
  55. {{#unless submitButtonClicked}}
  56. <div class="alert alert-success">
  57. <span class="icon-check"></span> {{t installer.step7.noIssues}}<br />
  58. <a href="#" {{action toggleIssuesFilter target="controller"}}>{{issuesFilterLinkText}}</a>
  59. </div>
  60. {{/unless}}
  61. {{/if}}
  62. {{/if}}