73 lines
2.6 KiB
HTML
73 lines
2.6 KiB
HTML
<div ng-controller="Kubernetes.EventsController">
|
|
|
|
<div class="row">
|
|
<div hawtio-breadcrumbs></div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div hawtio-tabs></div>
|
|
</div>
|
|
|
|
<div class="row filter-header">
|
|
<div class="col-md-12" ng-show="model.events.length">
|
|
<span ng-show="!id">
|
|
<hawtio-filter ng-model="tableConfig.filterOptions.filterText"
|
|
css-class="input-xxlarge"
|
|
placeholder="筛选日志信息..."></hawtio-filter>
|
|
</span>
|
|
<span class="pull-right"> </span>
|
|
<button ng-show="id"
|
|
class="btn btn-primary pull-right"
|
|
ng-click="id = undefined"><i class="fa fa-list"></i></button>
|
|
<span ng-include="'runButton.html'"></span>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div ng-hide="model.fetched">
|
|
<div class="align-center">
|
|
<i class="fa fa-spinner fa-spin"></i>
|
|
</div>
|
|
</div>
|
|
<div ng-show="model.fetched">
|
|
<div ng-hide="model.events.length" class="align-center">
|
|
<p class="alert alert-info">There are no events currently available.</p>
|
|
</div>
|
|
<div ng-show="model.events.length">
|
|
<div ng-show="mode == 'list'">
|
|
<table class="table table-bordered table-striped" ui-if="kubernetes.selectedNamespace"
|
|
hawtio-simple-table="tableConfig"></table>
|
|
</div>
|
|
|
|
<div ng-hide="mode == 'list'">
|
|
<div class="column-box"
|
|
ng-repeat="service in model.serviceApps | filter:filterTemplates | orderBy:'metadata.name' track by $index">
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
<a href="{{service.$serviceUrl}}"
|
|
target="_blank"
|
|
title="Click to open this app">
|
|
<img style="width: 64px; height: 64px;" ng-src="{{service.$iconUrl}}">
|
|
</a>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<a href="{{service.$serviceUrl}}"
|
|
target="_blank"
|
|
title="Click to open this app">
|
|
<h3 ng-bind="service.metadata.name"></h3>
|
|
</a>
|
|
</div>
|
|
<!--
|
|
<div class="col-md-1">
|
|
<a href="" ng-click="deleteService(service)"><i class="fa fa-remove red"></i></a>
|
|
</div>
|
|
-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|