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