blob: 109a9b3d81bc725ee01b9fbb572690f2418c4f26 [file] [log] [blame]
<!-- /********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/ -->
<app-card-layout>
<div header>
<span>{{ 'GridFailures.Title' | translate }}</span>
<div class="d-flex flex-row-reverse">
<button class="btn btn-primary new-button">
{{ 'GridFailures.New' | translate }}
</button>
</div>
</div>
<div class="grid-failures-grid-wrapper" body>
<ag-grid-angular
autoResizeColumns
class="ag-theme-balham"
[gridOptions]="gridOptions"
[columnDefs]="columnDefinition"
[rowSelection]="'single'"
[frameworkComponents]="frameworkComponents"
[rowData]="sandbox.gridFailureList$ | async"
[overlayNoRowsTemplate]="noRowsTemplate"
>
</ag-grid-angular>
<app-spinner [isRunning]="sandbox.gridFailureListLoading$ | async"></app-spinner>
</div>
</app-card-layout>