mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-08 02:38:51 +00:00
40 lines
1.9 KiB
HTML
40 lines
1.9 KiB
HTML
<md-content flex="auto" layout="column" layout-align="center" ng-controller="healthCheck as ctrl">
|
|
<div class="height-150" layout="row" layout-align="center">
|
|
<img aria-hidden="true" kbn-src="/plugins/wazuh/img/icon_blue.svg"/>
|
|
</div>
|
|
<div layout="row" class="layout-align-center margin-top-30">
|
|
<table flex="50" class="table">
|
|
<thead class="kuiTableHeaderCell">
|
|
<th>Description</th>
|
|
<th>Status</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="result in ctrl.results">
|
|
<td>{{result.description}}</td>
|
|
<td ng-if="result.status === 'disabled'" class="discover-field-details">
|
|
Disabled
|
|
</td>
|
|
<td ng-if="result.status === 'Ready' || result.status === 'Error'">
|
|
<i ng-if="result.status === 'Ready'" class="fa fa-fw fa-check wz-text-teal"></i>
|
|
<i ng-if="result.status === 'Error'" class="fa fa-fw fa-warning wz-text-red"></i>
|
|
{{result.status}}</td>
|
|
<td ng-if="result.status !== 'Ready' && result.status !== 'Error' && result.status !== 'disabled'">
|
|
<i class="fa fa-fw fa-spin fa-spinner"></i>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div layout="row" ng-if="ctrl.errors.length" class="layout-align-center margin-top-30">
|
|
<ul>
|
|
<li class="wz-text-red" ng-repeat='error in ctrl.errors'>{{error}}</li>
|
|
</ul>
|
|
</div>
|
|
<div ng-if="ctrl.errors.length" layout="row" class="layout-align-center margin-top-30">
|
|
<md-button class="wz-button md-raised md-primary" ng-click="ctrl.goApp()" aria-label="Go app">
|
|
<i class="fa fa-fw fa-sign-out"></i> Open the app
|
|
</md-button>
|
|
</div>
|
|
|
|
</md-content>
|