1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-16 11:37:13 +02:00
pigallery2/frontend/app/gallery/directory/directory.gallery.component.html
2017-07-20 23:00:49 +02:00

24 lines
729 B
HTML

<a #dirContainer class="button btn btn-default" [routerLink]="['/gallery', getDirectoryPath()]"
[queryParams]="_shareService.isSharing() ? { sk: _shareService.getSharingKey() }:{}"
style="display: inline-block;">
<div class="photo-container"
[style.width.px]="calcSize()"
[style.height.px]="calcSize()">
<div class="photo" *ngIf="thumbnail && thumbnail.Available"
[style.background-image]="getSanitizedThUrl()"></div>
<span *ngIf="!thumbnail || !thumbnail.Available" class="glyphicon glyphicon-folder-open no-image"
aria-hidden="true">
</span>
</div>
<!--Info box -->
<div #info class="info">
<div class="directory-name">{{directory.name}}</div>
</div>
</a>