Skip to content
Snippets Groups Projects
Commit 2cad7a71 authored by Alicia.DeDiosFuente's avatar Alicia.DeDiosFuente Committed by Florent Poittevin
Browse files

fix: make responsive deposit data files tab

parent 0bbd1093
No related branches found
No related tags found
1 merge request!57Adf url org unit
<div *ngIf="!readonly" <div class="form">
class="file-upload" <div *ngIf="!readonly"
> class="file-upload"
<h1>{{'deposit.file.title.inProgressUpload' | translate}}</h1> >
<dlcm-deposit-files-upload-in-progress *ngIf="readonly === false" <h1>{{'deposit.file.title.inProgressUpload' | translate}}</h1>
[listFilesUploading]="uploadStatusObs | async" <dlcm-deposit-files-upload-in-progress *ngIf="readonly === false"
(cancelChange)="cancel($event)" [listFilesUploading]="uploadStatusObs | async"
(retryChange)="retry($event)" (cancelChange)="cancel($event)"
(uploadChange)="upload($event)" (retryChange)="retry($event)"
></dlcm-deposit-files-upload-in-progress> (uploadChange)="upload($event)"
</div> ></dlcm-deposit-files-upload-in-progress>
</div>
<h1>{{'deposit.file.title.filesOfDeposit' | translate}}</h1> <h1>{{'deposit.file.title.filesOfDeposit' | translate}}</h1>
<dlcm-deposit-file-tree *ngIf="(listDataFileObs | async) | isNonEmptyArray; else noFile" <dlcm-deposit-file-tree *ngIf="(listDataFileObs | async) | isNonEmptyArray; else noFile"
[listDepositDataFile]="listDataFileObs | async" [listDepositDataFile]="listDataFileObs | async"
[isLoading]="isLoadingDataFileObs | async" [isLoading]="isLoadingDataFileObs | async"
[readonly]="readonly" [readonly]="readonly"
(resumeChange)="resume($event)" (resumeChange)="resume($event)"
(deleteChange)="delete($event)" (deleteChange)="delete($event)"
(downloadChange)="download($event)" (downloadChange)="download($event)"
(refreshChange)="refresh()" (refreshChange)="refresh()"
></dlcm-deposit-file-tree> ></dlcm-deposit-file-tree>
<ng-template #noFile> <ng-template #noFile>
<label>{{'deposit.file.tree.noFile' | translate}}</label> <label>{{'deposit.file.tree.noFile' | translate}}</label>
</ng-template> </ng-template>
</div>
.file-upload { @import "../../../../../../sass/abstracts/variables";
padding-bottom: 25px; @import "../../../../../../sass/abstracts/mixins";
.form {
display: flex;
flex-direction: column;
align-items: center;
> * {
width: 30%;
@include respond-to-breakpoint('xs') {
width: 85%;
}
@include respond-to-breakpoint('sm') {
width: 50%;
}
@include respond-to-breakpoint('md') {
width: 40%;
}
}
.file-upload {
padding-bottom: 25px;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment