mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
25 lines
764 B
HTML
25 lines
764 B
HTML
<a #dirContainer class="button btn btn-secondary"
|
|
[routerLink]="['/gallery', getDirectoryPath()]"
|
|
[queryParams]="queryService.getParams()"
|
|
style="display: inline-block;">
|
|
|
|
|
|
<div class="photo-container"
|
|
[style.width.px]="calcSize()"
|
|
[style.height.px]="calcSize()">
|
|
<div [ngClass]="'photo ' + (SamplePhoto ? 'photo-orientation-'+SamplePhoto.metadata.orientation : '')"
|
|
*ngIf="thumbnail && thumbnail.Available"
|
|
[style.background-image]="getSanitizedThUrl()"></div>
|
|
|
|
<span *ngIf="!thumbnail || !thumbnail.Available" class="oi oi-folder no-image"
|
|
aria-hidden="true">
|
|
</span>
|
|
</div>
|
|
<!--Info box -->
|
|
<div #info class="info">
|
|
<div class="directory-name">{{directory.name}}</div>
|
|
|
|
</div>
|
|
</a>
|
|
|