1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/frontend/app/gallery/directory/directory.gallery.component.html

22 lines
598 B
HTML
Raw Normal View History

2017-03-20 00:01:41 +01:00
<a #dirContainer class="button btn btn-default" [routerLink]="['/gallery', getDirectoryPath()]"
2016-05-15 18:52:07 +02:00
style="display: inline-block;">
2017-03-18 00:11:53 +01:00
<div class="photo-container">
<div class="photo" *ngIf="thumbnail && thumbnail.Available"
2017-03-20 00:01:41 +01:00
[style.background-image]="'url('+thumbnail.src+')'"></div>
2017-03-18 00:11:53 +01:00
<span *ngIf="!thumbnail || !thumbnail.Available" class="glyphicon glyphicon-folder-open no-image"
2017-03-20 00:01:41 +01:00
aria-hidden="true">
2017-03-18 00:11:53 +01:00
</span>
</div>
<!--Info box -->
<div #info class="info">
<div class="photo-name">{{directory.name}}</div>
</div>
2016-04-24 20:56:54 +02:00
</a>