<div class="header-image">
	<div class="header-text-container">
		<h3>Welcome to ARGOS</h3>
		<h4>Create, Link, Share Data Management Plans</h4>
	</div>
</div>
<div class="explore-dmp-content">
	<div class="container-fluid">
		<div class="card">
			<div class="card-header card-header-plain d-flex">
				<div class="card-desc d-flex flex-column justify-content-center">
					<h4 class="card-title">{{'DASHBOARD.DATASETS' | translate}}</h4>
					<!-- <p class="card-category">{{'DATASET-LISTING.SUBTITLE' | translate}}</p> -->
				</div>
			</div>
			<div class="card-body table-responsive">
				<div class="dmp-listing row pb-2">
					<div class="col-12 col-sm-12 col-md-3">
						<app-explore-dataset-filters-component (facetCriteriaChange)="onCriteriaChange($event)"></app-explore-dataset-filters-component>
					</div>
					<div class="col-12 col-sm-12 col-md-9 pt-4">
						<div *ngFor="let item of listingItems; let i = index">
							<app-explore-dataset-listing-item-component [dataset]="item" [showDivider]="i !== (listingItems.length - 1)"></app-explore-dataset-listing-item-component>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-12 col-sm-12 col-md-9 ml-auto paginator">
						<mat-paginator #paginator [length]="totalCount" [pageSizeOptions]="[10, 25, 100]" (page)="pageThisEvent($event)"></mat-paginator>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- <div class="main-content">
	<div class="container-fluid">
		<div class="explore-dataset">
			<h3 class="text-center">{{'DATASET-PUBLIC-LISTING.TITLE' | translate}} {{titlePrefix}}</h3>
			<div class="row">
				<div class="col-md-3">
					<app-explore-dataset-filters-component (facetCriteriaChange)="onCriteriaChange($event)"></app-explore-dataset-filters-component>
				</div>
				<div class="col-md-9">
					<div>
						<mat-card class="mat-card">
							<mat-table [dataSource]="dataSource" matSort (matSortChange)="refresh()">
								<ng-container cdkColumnDef="label">
									<mat-header-cell *matHeaderCellDef mat-sort-header="label">{{'DATASET-LISTING.COLUMNS.NAME' | translate}}</mat-header-cell>
									<mat-cell *matCellDef="let row">{{row.label}}</mat-cell>
								</ng-container>
								<ng-container cdkColumnDef="grant">
									<mat-header-cell *matHeaderCellDef>{{'DATASET-LISTING.COLUMNS.GRANT' |
										translate}}</mat-header-cell>
									<mat-cell *matCellDef="let row"> {{row.grant}} </mat-cell>
								</ng-container>
								<ng-container cdkColumnDef="profile">
									<mat-header-cell *matHeaderCellDef mat-sort-header="|join|profile:label">{{'DATASET-LISTING.COLUMNS.PROFILE'
										| translate}}</mat-header-cell>
									<mat-cell *matCellDef="let row"> {{row.profile}} </mat-cell>
								</ng-container>
								<ng-container cdkColumnDef="description">
									<mat-header-cell *matHeaderCellDef>{{'DATASET-LISTING.COLUMNS.DESCRIPTION' | translate}}</mat-header-cell>
									<mat-cell *matCellDef="let row"> {{row.description}} </mat-cell>
								</ng-container>
								<ng-container cdkColumnDef="created">
									<mat-header-cell *matHeaderCellDef mat-sort-header="created">{{'DATASET-LISTING.COLUMNS.CREATED' |
										translate}}</mat-header-cell>
									<mat-cell *matCellDef="let row">{{row.created | date:'shortDate'}}</mat-cell>
								</ng-container>
								<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
								<mat-row *matRowDef="let row; columns: displayedColumns" (click)="rowClick(row.id)"></mat-row>
							</mat-table>
							<mat-paginator #paginator [length]="dataSource?.totalCount" [pageSizeOptions]="[10, 25, 100]">
							</mat-paginator>
						</mat-card>
					</div>
				</div>
			</div>
		</div>
	</div>
</div> -->
