mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
22 lines
650 B
HTML
22 lines
650 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">
|
|
<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="photo-name">{{directory.name}}</div>
|
|
|
|
</div>
|
|
</a>
|
|
|