1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- {{!
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- }}
- <div id="step6">
- <h2>{{view.title}}</h2>
- <div class="alert alert-info">{{{view.label}}}</div>
- {{#if errorMessage}}
- <div class="alert alert-error">{{errorMessage}}</div>
- {{/if}}
- {{#if controller.isLoaded}}
- {{#if view.isLoaded}}
- <div class="pre-scrollable">
- <table class="table table-striped" id="component_assign_table">
- <thead>
- <tr>
- <th>{{t common.host}}</th>
- {{#each header in controller.headers}}
- <th>
- <a href="#" {{bindAttr class="header.allChecked:selected:deselected"}}
- {{action "selectAllNodes" header target="controller"}}>{{t all}}</a> | <a href="#" {{bindAttr class="header.noChecked:selected:deselected"}}
- {{action "deselectAllNodes" header target="controller"}}>{{t none}}</a>
- </th>
- {{/each}}
- </tr>
- </thead>
- <tbody>
- {{#if view.pageContent}}
- {{#each host in view.pageContent}}
- <tr>
- {{#view App.WizardStep6HostView hostBinding="host" }}
- {{host.hostName}}
- {{#if host.hasMaster}}
- <i class=icon-asterisks>✵</i>
- {{/if}}
- {{/view}}
- {{#each checkbox in host.checkboxes}}
- <td>
- <label class="checkbox">
- {{#view view.checkboxView checkboxBinding="checkbox"}}
- {{checkbox.title}}
- {{/view}}
- </label>
- </td>
- {{/each}}
- </tr>
- {{/each}}
- {{/if}}
- </tbody>
- </table>
- </div>
- <div id="hosts">
- <div class="page-bar">
- <div class="items-on-page">
- <label>{{t common.show}}: {{view view.rowsPerPageSelectView selectionBinding="view.displayLength"}}</label>
- </div>
- <div class="info">{{view.paginationInfo}}</div>
- <div class="paging_two_button">
- {{view view.paginationFirst}}
- {{view view.paginationLeft}}
- {{view view.paginationRight}}
- {{view view.paginationLast}}
- </div>
- </div>
- </div>
- {{else}}
- <div class="spinner"></div>
- {{/if}}
- {{else}}
- <div class="spinner"></div>
- {{/if}}
- <div class="btn-area">
- <a class="btn" {{action back}}>← {{t common.back}}</a>
- <a class="btn btn-success pull-right" {{action next}}>{{t common.next}} →</a>
- </div>
- </div>
|