mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<app-frame>
|
|
|
|
<div body class="container">
|
|
<ng-template [ngIf]="renderedDirGroups">
|
|
<div *ngFor="let group of renderedDirGroups">
|
|
<strong>{{group.name}}</strong>
|
|
<div *ngFor="let pairs of group.duplicates" class="card">
|
|
<div class="card-body">
|
|
<div *ngFor="let media of pairs.media"
|
|
class="row"
|
|
[routerLink]="['/gallery', getDirectoryPath(media.directory)]"
|
|
[queryParams]="queryService.getParams()">
|
|
<app-duplicates-photo class="col-1" [media]="media"></app-duplicates-photo>
|
|
<div class="col-5">
|
|
/{{getDirectoryPath(media.directory)}}/<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>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template [ngIf]="!renderedDirGroups">
|
|
loading
|
|
</ng-template>
|
|
</div>
|
|
</app-frame>
|