2019-01-18 18:03:45 +01:00
|
|
|
<div class="dmp-criteria">
|
2019-05-06 12:15:45 +02:00
|
|
|
<div class="filters">
|
|
|
|
<h6 class="filters-title">{{'CRITERIA.FILTERS'| translate}}</h6>
|
|
|
|
<div class="row" style="justify-content: center;">
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- Search Filter-->
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-form-field class="col-11 search">
|
2019-05-07 11:30:03 +02:00
|
|
|
<input matInput placeholder="{{'CRITERIA.DMP.LIKE'| translate}}" name="likeCriteria"
|
|
|
|
[formControl]="formGroup.get('like')">
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-error *ngIf="formGroup.get('like').hasError('backendError')">
|
|
|
|
{{formGroup.get('like').getError('backendError').message}}</mat-error>
|
|
|
|
<mat-icon matSuffix class="style-icon">search</mat-icon>
|
|
|
|
</mat-form-field>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Search Filter -->
|
2019-04-25 16:04:54 +02:00
|
|
|
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- Visibility Filter-->
|
2019-05-09 15:30:39 +02:00
|
|
|
<div *ngIf="showProject" class="col-10 gray-container">
|
2019-05-06 15:35:46 +02:00
|
|
|
<h6 class="category-title">{{ 'TYPES.DMP-VISIBILITY.VISIBILITY' | translate }}</h6>
|
2019-05-07 11:30:03 +02:00
|
|
|
<mat-radio-group aria-label="Select an option" [formControl]="formGroup.get('status')">
|
|
|
|
<mat-list-item><mat-radio-button value="null">{{ 'TYPES.DMP-VISIBILITY.ANY' | translate }}</mat-radio-button></mat-list-item>
|
|
|
|
<mat-list-item><mat-radio-button value="1">{{ 'TYPES.DMP-VISIBILITY.PUBLIC' | translate }}</mat-radio-button></mat-list-item>
|
|
|
|
<mat-list-item><mat-radio-button value="0">{{ 'TYPES.DMP-VISIBILITY.PRIVATE' | translate }}</mat-radio-button></mat-list-item>
|
2019-05-06 15:35:46 +02:00
|
|
|
</mat-radio-group>
|
2019-05-06 12:15:45 +02:00
|
|
|
</div>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Visibility Filter-->
|
|
|
|
|
2019-05-28 09:22:58 +02:00
|
|
|
<!-- Related Dataset Templates Filter -->
|
|
|
|
<div *ngIf="showProject" class="col-10 gray-container">
|
|
|
|
<h6 class="category-title">{{ 'CRITERIA.DMP.RELATED-DATASET-TEMPLATES' | translate}}</h6>
|
|
|
|
<mat-form-field>
|
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('datasetTemplates')"
|
|
|
|
placeholder="{{ 'CRITERIA.DMP.SELECT-DATASET-TEMPLATES' | translate }}"
|
|
|
|
[configuration]="datasetTemplateAutoCompleteConfiguration">
|
|
|
|
</app-multiple-auto-complete>
|
|
|
|
<mat-icon matSuffix class="style-icon">arrow_drop_down</mat-icon>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
<!-- End of Related Dataset Templates Filter -->
|
|
|
|
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- Related Project Filters -->
|
2019-05-09 15:30:39 +02:00
|
|
|
<div *ngIf="showProject" class="col-10 gray-container">
|
2019-05-06 15:35:46 +02:00
|
|
|
<h6 class="category-title">{{ 'DMP-RELATED-PROJECT.RELATED-PROJECT' | translate}}</h6>
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-form-field>
|
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('projects')"
|
2019-05-07 10:04:47 +02:00
|
|
|
placeholder="{{ 'CRITERIA.DMP.SELECT-PROJECTS' | translate }}"
|
2019-05-06 12:15:45 +02:00
|
|
|
[configuration]="projectAutoCompleteConfiguration">
|
|
|
|
</app-multiple-auto-complete>
|
|
|
|
<mat-icon matSuffix class="style-icon">arrow_drop_down</mat-icon>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Related Projects Filters -->
|
|
|
|
|
|
|
|
<!-- Collaborators Filter -->
|
2019-05-09 15:30:39 +02:00
|
|
|
<div *ngIf="showProject" class="col-10 gray-container">
|
2019-05-16 12:10:28 +02:00
|
|
|
<h6 class="category-title">{{ 'CRITERIA.DMP.RELATED-COLLABORATORS' | translate}}</h6>
|
2019-05-06 15:35:46 +02:00
|
|
|
<mat-form-field>
|
2019-05-16 12:10:28 +02:00
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('collaborators')"
|
|
|
|
placeholder="{{'CRITERIA.DMP.SELECT-COLLABORATORS' | translate}}"
|
|
|
|
[configuration]="collaboratorsAutoCompleteConfiguration">
|
|
|
|
</app-multiple-auto-complete>
|
2019-05-06 15:35:46 +02:00
|
|
|
<mat-icon matSuffix class="style-icon">arrow_drop_down</mat-icon>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
<!-- End of Collaborators Filter -->
|
|
|
|
|
|
|
|
<!-- Role Filter -->
|
2019-05-09 15:30:39 +02:00
|
|
|
<div *ngIf="showProject" class="col-10 gray-container">
|
2019-05-06 15:35:46 +02:00
|
|
|
<h6 class="category-title">{{ 'DATASET-PROFILE-LISTING.COLUMNS.ROLE' | translate }}</h6>
|
2019-05-10 10:33:48 +02:00
|
|
|
<mat-radio-group aria-label="Select an option" [formControl]="formGroup.get('role')">
|
|
|
|
<mat-list-item><mat-radio-button value="null">{{ 'TYPES.DATASET-ROLE.ANY' | translate }}</mat-radio-button></mat-list-item>
|
|
|
|
<mat-list-item><mat-radio-button value="0">{{ 'TYPES.DATASET-ROLE.OWNER' | translate }}</mat-radio-button></mat-list-item>
|
|
|
|
<mat-list-item><mat-radio-button value="1">{{ 'TYPES.DATASET-ROLE.MEMBER' | translate }}</mat-radio-button></mat-list-item>
|
2019-05-06 12:15:45 +02:00
|
|
|
</mat-radio-group>
|
|
|
|
</div>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Role Filter -->
|
|
|
|
|
|
|
|
<!-- Related Organization Filter -->
|
2019-05-09 15:30:39 +02:00
|
|
|
<div *ngIf="showProject" class="col-10 gray-container">
|
2019-05-07 10:04:47 +02:00
|
|
|
<h6 class="category-title">{{ 'DMP-RELATED-ORGANIZATION.RELATED-ORGANIZATION' | translate }}</h6>
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-form-field>
|
2019-05-07 11:30:03 +02:00
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('organisations')"
|
|
|
|
placeholder="{{'DMP-RELATED-ORGANIZATION.SELECT-ORGANIZATIONS' | translate}}"
|
|
|
|
[configuration]="organisationAutoCompleteConfiguration">
|
|
|
|
</app-multiple-auto-complete>
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-icon matSuffix class="style-icon">arrow_drop_down</mat-icon>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Related Organization Filter -->
|
2019-04-25 16:04:54 +02:00
|
|
|
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- Import Button -->
|
2019-05-06 12:15:45 +02:00
|
|
|
<div class="col-10 import">
|
2019-05-09 15:30:39 +02:00
|
|
|
<button class="importButton lightblue-btn" mat-raised-button color="primary"
|
2019-05-06 12:15:45 +02:00
|
|
|
(click)="fileSave($event)" type="button col-auto">
|
2019-04-25 16:04:54 +02:00
|
|
|
{{'DMP-UPLOAD.ACTIONS.IMPORT' | translate}}
|
|
|
|
</button>
|
|
|
|
</div>
|
2019-05-06 12:15:45 +02:00
|
|
|
|
2019-01-18 18:03:45 +01:00
|
|
|
</div>
|
2019-05-06 12:15:45 +02:00
|
|
|
</div>
|
2019-01-18 18:03:45 +01:00
|
|
|
</div>
|