mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
|
<app-frame>
|
||
|
|
||
|
<div body class="container">
|
||
|
<ng-template [ngIf]="_duplicateService.duplicates.value">
|
||
|
<div *ngFor="let pairs of _duplicateService.duplicates.value" class="card">
|
||
|
<div class="card-body">
|
||
|
<div *ngFor="let media of pairs.media"
|
||
|
class="row"
|
||
|
[routerLink]="['/gallery', getDirectoryPath(media)]"
|
||
|
[queryParams]="queryService.getParams()">
|
||
|
<app-duplicates-photo class="col-1" [media]="media"></app-duplicates-photo>
|
||
|
<div class="col-5">
|
||
|
/{{getDirectoryPath(media)}}/<span class="same-data">{{media.name}}</span>
|
||
|
</div>
|
||
|
<div class="col-2">
|
||
|
<span class="same-data">{{media.metadata.fileSize | fileSize}}</span>
|
||
|
</div>
|
||
|
<div class="col-2" [title]="media.metadata.creationDate">
|
||
|
{{media.metadata.creationDate | date}}
|
||
|
</div>
|
||
|
<div class="col-2">
|
||
|
{{media.metadata.size.width}}x{{media.metadata.size.height}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</ng-template>
|
||
|
<ng-template [ngIf]="!_duplicateService.duplicates.value">
|
||
|
loading
|
||
|
</ng-template>
|
||
|
</div>
|
||
|
</app-frame>
|