mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
20 lines
513 B
HTML
20 lines
513 B
HTML
<a class="button btn btn-default" [routerLink]="['/gallery', getDirectoryPath()]"
|
|
style="display: inline-block;">
|
|
|
|
|
|
<div class="photo-container">
|
|
|
|
<div class="photo" *ngIf="photo" [style.background-image]="'url('+photo.getThumbnailPath()+')'"></div>
|
|
|
|
<span *ngIf="!photo" 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>
|
|
|