service_config_layout_tab.hbs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. {{#unless tab.isHiddenByFilter}}
  19. <div class="section-layout-container">
  20. <table class="config-section-table">
  21. {{#each row in tab.sectionRows}}
  22. <tr>
  23. {{#each section in row}}
  24. <td {{bindAttr class="section.isHiddenByFilter:invisible :config-section" colspan="section.columnSpan" rowspan="section.rowSpan"}}>
  25. <h4>{{section.displayName}}</h4>
  26. <table class="config-subsection-table">
  27. {{#each subRow in section.subsectionRows}}
  28. <tr>
  29. {{#each subsection in subRow}}
  30. <td {{bindAttr class="subsection.isHiddenByFilter:invisible :config-subsection"}}>
  31. {{#each config in subsection.configs}}
  32. {{#if config.view}}
  33. {{#unless config.isHiddenByFilter}}
  34. {{view config.widget configBinding="config"}}
  35. {{/unless}}
  36. {{/if}}
  37. {{/each}}
  38. </td>
  39. {{/each}}
  40. </tr>
  41. {{/each}}
  42. </table>
  43. </td>
  44. {{/each}}
  45. </tr>
  46. {{/each}}
  47. </table>
  48. </div>
  49. {{/unless}}