123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- {{!
- * 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 class="admin-cluster">
- <div class="header">
- <strong>{{t admin.cluster.stackVersion}}: {{App.currentStackVersion}}
- {{#if App.supports.stackUpgrade}}
- (<a href="#" {{bindAttr class="view.isUpgradeAvailable::inactive"}}{{action "upgradeStack"}}>
- {{#if view.isUpgradeAvailable}}
- {{t admin.cluster.upgradeAvailable}}: {{upgradeVersion}}
- {{else}}
- {{t admin.cluster.upgradeUnavailable}}
- {{/if}}
- </a>)
- {{/if}}
- </strong>
- </div>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>{{t common.service}}</th>
- <th>{{t common.version}}</th>
- <th>{{t common.description}}</th>
- </tr>
- </thead>
- <tbody>
- {{#each service in services}}
- {{#unless service.isHidden}}
- <tr>
- <td>{{service.displayName}}</td>
- <td>{{service.version}}</td>
- <td>{{{service.description}}}</td>
- </tr>
- {{/unless}}
- {{/each}}
- </tbody>
- </table>
- <div class="header">
- <strong>{{t admin.cluster.repositories.repositories}}</strong>
- </div>
- <ul class="nav nav-tabs">
- <li class="active">
- <a href="javascript:void(null);">{{view.allRepositoriesGroups.stackVersion}}</a>
- </li>
- </ul>
- <div class="repositories-table">
- <div class="thead">
- <div class="th os-th">{{t common.os}}</div>
- <div class="th name-th">{{t common.name}}</div>
- <div class="th url-th">{{t installer.step1.advancedRepo.localRepo.column.baseUrl}}</div>
- </div>
- <div class="tbody">
- {{#each repoGroup in view.allRepositoriesGroups}}
- <div class="trow">
- <div class="os-td">
- <label>
- <span class="os">{{repoGroup.name}}</span>
- </label>
- </div>
- <div style="width:89%">
- {{#each repository in repoGroup.repositories}}
- <div class="sub-trow">
- <div class="name-td">{{repository.repoId}}</div>
- <!--edit mode for current url-->
- {{#if repository.onEdit}}
- <div {{bindAttr class=":url-td repository.empty-error:textfield-error repository.invalid-error:textfield-error"}}>
- {{view Ember.TextField valueBinding="repository.baseUrl"}}
- </div>
- <div class="clear-td">
- {{#if repository.clearAll}}
- <a {{action "clearGroupLocalRepository" repository target="view" }}>
- <i class="icon-remove-sign"></i>
- </a>
- {{/if}}
- </div>
- <div class="edit-buttons-td">
- <a class="btn" {{action doCancel repository target="view"}}>{{t common.cancel}}</a>
- </div>
- <div class="edit-buttons-td">
- {{#if repository.empty-error}}
- <a class="btn btn-primary" disabled="disabled">{{t common.save}}</a>
- {{else}}
- <a class="btn btn-primary" {{action saveRepoUrls repository target="view"}}>{{t common.save}}</a>
- {{/if}}
- </div>
- <!--non-edit mode for current url-->
- {{else}}
- <div class="url-text-td">
- {{repository.baseUrl}}
- </div>
- <div class="edit-td">
- <a {{action "onEditClick" repository target="view" }}>
- <i class="icon-edit"></i> {{t common.edit}}
- </a>
- </div>
- {{/if}}
- </div>
- {{/each}}
- </div>
- </div>
- {{/each}}
- </div>
- </div>
- </div>
|