123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- {{!
- * 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.
- }}
- {{#if view.isOutOfSync}}
- <i class="icon-exclamation-sign out-of-sync-badge"></i>
- {{/if}}
- <p class="version-column-display-name">
- <span>{{view.content.displayNameSimple}}</span>
- </p>
- <p class="version-column-show-details">
- <a {{action openVersionBoxPopup target="view"}}>{{t admin.stackVersions.version.column.showDetails}}</a>
- </p>
- <div {{bindAttr class="view.stateElement.isInstalling:installing :align-center :state"}}>
- {{#if view.stateElement.isButton}}
- <button class="btn btn-primary"
- {{action runAction target="view"}}
- {{bindAttr disabled="view.stateElement.isDisabled"}}>
- {{view.stateElement.text}}
- </button>
- {{/if}}
- {{#if view.stateElement.isButtonGroup}}
- <div class="btn-group">
- <button class="btn btn-primary"
- {{action runAction target="view"}}
- {{bindAttr disabled="view.stateElement.isDisabled"}}>
- {{view.stateElement.text}}
- </button>
- <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown" {{bindAttr disabled="view.stateElement.isDisabled"}}>
- <span class="caret"></span>
- </button>
- <ul class="dropdown-menu">
- {{#each button in view.stateElement.buttons}}
- <li {{bindAttr class="button.isDisabled:disabled"}}>
- <a {{action runAction button.action target="view"}}>
- {{button.text}}
- </a>
- </li>
- {{/each}}
- </ul>
- </div>
- {{/if}}
- {{#if view.stateElement.isLabel}}
- <span {{bindAttr class="view.stateElement.class"}}>{{view.stateElement.text}}</span>
- {{/if}}
- {{#if view.stateElement.isLink}}
- {{#if view.stateElement.iconClass}}
- <i {{bindAttr class="view.stateElement.iconClass"}}></i>
- {{/if}}
- <a href="#" {{action runAction target="view"}}>{{view.stateElement.text}}</a>
- {{#if view.stateElement.isInstalling}}
- {{view App.ProgressBarView
- progressBinding="view.installProgress"
- statusBinding="view.PROGRESS_STATUS"
- }}
- {{/if}}
- {{/if}}
- {{#if view.stateElement.isSpinner}}
- {{view App.SpinnerView}}
- {{/if}}
- </div>
- <div class="services-section">
- {{#each service in view.services}}
- <div class="line-separator"></div>
- <p class="service-version-info">
- <span {{bindAttr class="service.isVersionInvisible:invisible :label"}}>{{service.latestVersion}}</span>
- </p>
- <div class="line-separator-bottom"></div>
- {{/each}}
- </div>
|