2019-11-19 04:13:08 +00:00
|
|
|
<div fxLayout="column" class="rightDrawer-filebox">
|
|
|
|
<div class="rightDrawer-tab">
|
2019-11-12 08:10:11 +00:00
|
|
|
<mat-tab-group (selectedIndexChange)="onSelectedIndexChange($event)">
|
|
|
|
<mat-tab label="Receive"></mat-tab>
|
|
|
|
<mat-tab label="Send"></mat-tab>
|
|
|
|
</mat-tab-group>
|
|
|
|
</div>
|
2019-11-19 04:13:08 +00:00
|
|
|
<div fxFlex="1 1 200px" class="select-filebox bg-accent-brightest">
|
|
|
|
<ng-container *ngIf="!selectedFile" >
|
2019-11-12 05:08:14 +00:00
|
|
|
Select File.
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="selectedFile">
|
2019-11-19 04:13:08 +00:00
|
|
|
<div class="select-flie">
|
|
|
|
<div
|
|
|
|
[ngClass]="[
|
|
|
|
'mime-icon',
|
|
|
|
'light',
|
|
|
|
'ico-' + getExtention(selectedFile.info.name)
|
|
|
|
]"
|
|
|
|
>
|
|
|
|
<div class="ico"></div>
|
|
|
|
</div>
|
|
|
|
<ul>
|
|
|
|
<li class="name">name : {{ selectedFile.info.name }}</li>
|
|
|
|
<li>size : {{ selectedFile.info.size | ucapBytes }}</li>
|
|
|
|
<li>
|
|
|
|
date :
|
|
|
|
{{ selectedFile.info.sendDate | dateToStringFormat: 'YYYY.MM.DD' }}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
아이콘
|
2019-11-12 05:08:14 +00:00
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
2019-11-19 04:13:08 +00:00
|
|
|
<div fxFlex="0 0 auto" class="table-box">
|
2019-11-12 05:08:14 +00:00
|
|
|
<table mat-table [dataSource]="dataSource" matSort>
|
|
|
|
<ng-container matColumnDef="check">
|
|
|
|
<th mat-header-cell *matHeaderCellDef>
|
|
|
|
<mat-checkbox
|
|
|
|
#checkboxAll
|
|
|
|
[checked]="getCheckAllUser()"
|
|
|
|
(change)="onCheckAllkUser(checkboxAll.checked)"
|
|
|
|
(click)="$event.stopPropagation()"
|
|
|
|
>
|
|
|
|
</mat-checkbox>
|
|
|
|
</th>
|
|
|
|
<td mat-cell *matCellDef="let element">
|
|
|
|
<mat-checkbox
|
|
|
|
#checkbox
|
|
|
|
[checked]="getCheckUser(element)"
|
|
|
|
(change)="onCheckUser(checkbox.checked, element)"
|
|
|
|
(click)="$event.stopPropagation()"
|
|
|
|
>
|
|
|
|
</mat-checkbox>
|
|
|
|
</td>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="name">
|
2019-11-13 23:30:59 +00:00
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header class="infos">
|
|
|
|
Name
|
|
|
|
</th>
|
2019-11-19 04:13:08 +00:00
|
|
|
<td mat-cell *matCellDef="let element" class="file-info">
|
|
|
|
<div class="file-name">
|
2019-11-13 23:30:59 +00:00
|
|
|
{{ element.info.name }}
|
|
|
|
</div>
|
2019-11-19 04:13:08 +00:00
|
|
|
<div class="download-period text-accent-color">
|
|
|
|
<!--{{ element.info.size | ucapBytes }}-->
|
|
|
|
{{ element.info.sendDate | dateToStringFormat: 'YYYY.MM.DD' }} ~ 2020.01.23
|
2019-11-13 23:30:59 +00:00
|
|
|
</div>
|
2019-11-12 05:08:14 +00:00
|
|
|
</td>
|
|
|
|
</ng-container>
|
2019-11-13 23:30:59 +00:00
|
|
|
<ng-container matColumnDef="sendDate" class="date">
|
2019-11-12 05:08:14 +00:00
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>sendDate</th>
|
|
|
|
<td mat-cell *matCellDef="let element">
|
2019-11-19 04:13:08 +00:00
|
|
|
<!--{{ element.info.sendDate | dateToStringFormat: 'YYYY.MM.DD' }}-->
|
|
|
|
{{ element.info.size | ucapBytes }}
|
2019-11-12 05:08:14 +00:00
|
|
|
</td>
|
|
|
|
</ng-container>
|
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
|
|
|
<tr
|
|
|
|
mat-row
|
|
|
|
*matRowDef="let row; columns: displayedColumns"
|
|
|
|
(click)="onClickRow(row)"
|
|
|
|
></tr>
|
|
|
|
</table>
|
2019-11-19 04:13:08 +00:00
|
|
|
</div>
|
|
|
|
<div class="footer-fix">
|
2019-11-12 05:08:14 +00:00
|
|
|
<mat-paginator
|
|
|
|
[pageSize]="10"
|
|
|
|
[pageSizeOptions]="[5, 10, 20]"
|
|
|
|
showFirstLastButtons
|
|
|
|
></mat-paginator>
|
2019-11-19 04:13:08 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
fxFlex="1 1 50px"
|
|
|
|
fxLayout="row"
|
|
|
|
fxLayoutAlign="center center"
|
|
|
|
class="btn-box"
|
2019-11-12 05:08:14 +00:00
|
|
|
>
|
2019-11-19 04:13:08 +00:00
|
|
|
<button
|
|
|
|
mat-flat-button
|
|
|
|
[disabled]="selectedFileList.length > 0 ? 'false' : 'true'"
|
|
|
|
class="mat-primary"
|
|
|
|
>
|
|
|
|
Download All
|
|
|
|
</button>
|
|
|
|
<button mat-flat-button class="mat-primary">
|
|
|
|
Open Folder
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-12 05:08:14 +00:00
|
|
|
</div>
|