| <!-- |
| 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. |
| --> |
| <p ng-show="streamList._promise.$$state.status !== 1"> |
| <span class="fa fa-refresh fa-spin"> </span> |
| Loading... |
| </p> |
| |
| <div class="box box-primary" ng-repeat="stream in streams"> |
| <div class="box-header with-border"> |
| <h3 class="box-title">{{stream.tags.streamName}}</h3> |
| </div> |
| <div class="box-body"> |
| <div class="inline-group"> |
| <dl> |
| <dt> |
| Data Source |
| </dt> |
| <dd> |
| {{stream.tags.dataSource}} |
| </dd> |
| </dl> |
| <dl> |
| <dt> |
| Stream Name |
| </dt> |
| <dd> |
| {{stream.tags.streamName}} |
| </dd> |
| </dl> |
| </div> |
| <div> |
| <dl> |
| <dt> |
| Description |
| </dt> |
| <dd> |
| {{stream.desc}} |
| </dd> |
| </dl> |
| </div> |
| |
| <p ng-show="streamSchemaList._promise.$$state.status !== 1"> |
| <span class="fa fa-refresh fa-spin"> </span> |
| Loading... |
| </p> |
| |
| <div class="list" ng-show="streamSchemaList._promise.$$state.status === 1"> |
| <table class="table table-bordered"> |
| <thead> |
| <tr> |
| <th width="10%">Attribute Name</th> |
| <th width="12%">Display Name</th> |
| <th width="8%">Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr ng-repeat="meta in stream.metaList"> |
| <td>{{meta.tags.attrName}}</td> |
| <td>{{meta.attrDisplayName}}</td> |
| <td><span class="label label-warning">{{meta.attrType}}</span></td> |
| <td>{{meta.attrDescription}}</td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div><!-- /.box-body --> |
| <!-- Loading (remove the following to stop the loading)--> |
| </div> |