|
@@ -0,0 +1,94 @@
|
|
|
|
+<!--
|
|
|
|
+* 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="stack-versions">
|
|
|
|
+ <div class="clearfix">
|
|
|
|
+ <ol class="breadcrumb pull-left">
|
|
|
|
+ <li class="active">Versions</li>
|
|
|
|
+ </ol>
|
|
|
|
+ <div class="pull-right top-margin-4">
|
|
|
|
+ <a href class="btn btn-primary">
|
|
|
|
+ <span class="glyphicon glyphicon-plus"></span>
|
|
|
|
+ Register Version
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <hr/>
|
|
|
|
+ <table class="table table-striped table-hover">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="col-small">
|
|
|
|
+ <label>Stack</label>
|
|
|
|
+ <select class="form-control"
|
|
|
|
+ ng-model="filter.stack.current"
|
|
|
|
+ ng-options="item.label for item in filter.stack.options">
|
|
|
|
+ </select>
|
|
|
|
+ </th>
|
|
|
|
+ <th class="col-medium">
|
|
|
|
+ <label for="">Version</label>
|
|
|
|
+ <input type="text" class="form-control" ng-model="filter.version">
|
|
|
|
+ </th>
|
|
|
|
+ <th class="col-small">
|
|
|
|
+ <label>Cluster</label>
|
|
|
|
+ <select class="form-control"
|
|
|
|
+ ng-model="filter.cluster.current"
|
|
|
|
+ ng-options="item.label for item in filter.cluster.options"
|
|
|
|
+ ></select>
|
|
|
|
+ </th>
|
|
|
|
+ <th></th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody>
|
|
|
|
+ <tr ng-repeat="stack in stacks">
|
|
|
|
+ <td class="col-small">{{stack.name}}</td>
|
|
|
|
+ <td class="col-medium"><a href>{{stack.version}}</a></td>
|
|
|
|
+ <td class="col-small">
|
|
|
|
+ <a href ng-show="stack.cluster">
|
|
|
|
+ {{stack.cluster}}
|
|
|
|
+ </a>
|
|
|
|
+ <span ng-show="!stack.cluster">None</span>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <div ng-show="stack.status !== 'INIT'">
|
|
|
|
+ <span class="label" ng-class="stack.statusClass">{{stack.statusLabel}}: {{stack.statusHosts.length}}/{{stack.totalHosts}}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ <div class="col-sm-12 table-bar">
|
|
|
|
+ <div class="pull-left filtered-info">
|
|
|
|
+ <span>{{tableInfo.showed}} of {{tableInfo.total}} versions showing - </span>
|
|
|
|
+ <a href>clear filters</a>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pull-right left-margin">
|
|
|
|
+ <pagination class="paginator"
|
|
|
|
+ total-items="pagination.totalStacks"
|
|
|
|
+ max-size="pagination.maxVisiblePages"
|
|
|
|
+ items-per-page="pagination.itemsPerPage"
|
|
|
|
+ ng-model="pagination.currentPage"
|
|
|
|
+ ></pagination>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pull-right">
|
|
|
|
+ <select class="form-control"
|
|
|
|
+ ng-model="pagination.itemsPerPage"
|
|
|
|
+ ng-options="item for item in [10, 25, 50, 100]"
|
|
|
|
+ ></select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</div>
|