1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/directory/directory.gallery.component.html

24 lines
721 B
HTML
Raw Normal View History

2017-03-20 07:01:41 +08:00
<a #dirContainer class="button btn btn-default" [routerLink]="['/gallery', getDirectoryPath()]"
2017-07-04 01:17:49 +08:00
[queryParams]="_shareService.isSharing() ? { sk: _shareService.getSharingKey() }:{}"
2016-05-16 00:52:07 +08:00
style="display: inline-block;">
2017-03-18 07:11:53 +08:00
2017-07-21 03:06:59 +08:00
<div class="photo-container"
[style.width.px]="size()"
[style.height.px]="size()">
2017-07-04 01:17:49 +08:00
<div class="photo" *ngIf="thumbnail && thumbnail.Available"
[style.background-image]="getSanitizedThUrl()"></div>
2017-03-18 07:11:53 +08:00
2017-07-04 01:17:49 +08:00
<span *ngIf="!thumbnail || !thumbnail.Available" class="glyphicon glyphicon-folder-open no-image"
aria-hidden="true">
2017-03-18 07:11:53 +08:00
</span>
2017-07-04 01:17:49 +08:00
</div>
<!--Info box -->
<div #info class="info">
2017-07-16 00:25:29 +08:00
<div class="directory-name">{{directory.name}}</div>
2017-03-18 07:11:53 +08:00
2017-07-04 01:17:49 +08:00
</div>
2016-04-25 02:56:54 +08:00
</a>