2016-07-06 12:53:49 +02:00
|
|
|
<div [hidden]="!visible" #root>
|
2016-04-30 18:33:07 +02:00
|
|
|
|
2016-12-30 12:58:04 +02:00
|
|
|
<div class="blackCanvas"
|
|
|
|
[style.opacity]="blackCanvasOpacity">
|
2016-04-30 18:33:07 +02:00
|
|
|
</div>
|
2016-05-13 14:27:00 +02:00
|
|
|
|
2016-12-30 12:58:04 +02:00
|
|
|
<div class="lightbox"
|
|
|
|
[style.width.px]="lightboxDimension.width"
|
|
|
|
[style.height.px]="lightboxDimension.height"
|
|
|
|
[style.top.px]="lightboxDimension.top"
|
|
|
|
[style.left.px]="lightboxDimension.left">
|
2016-07-04 16:58:10 +02:00
|
|
|
<gallery-lightbox-photo [gridPhoto]="activePhoto ? activePhoto.gridPhoto : null"
|
|
|
|
[style.top.px]="photoDimension.top"
|
|
|
|
[style.left.px]="photoDimension.left"
|
|
|
|
[style.width.px]="photoDimension.width"
|
2016-12-30 12:58:04 +02:00
|
|
|
[style.height.px]="photoDimension.height"
|
|
|
|
[style.transition]="transition">
|
2016-05-13 14:27:00 +02:00
|
|
|
</gallery-lightbox-photo>
|
|
|
|
</div>
|
2016-05-12 23:00:38 +02:00
|
|
|
|
|
|
|
|
2016-05-13 14:27:00 +02:00
|
|
|
<div id="controllers-container" #controls>
|
|
|
|
<div id="controls">
|
|
|
|
<a *ngIf="activePhoto" [href]="activePhoto.gridPhoto.getPhotoPath()"
|
|
|
|
[download]="activePhoto.gridPhoto.photo.name"><span class="glyphicon glyphicon-download-alt highlight"
|
|
|
|
title="download"></span></a>
|
|
|
|
<span class="glyphicon glyphicon-info-sign highlight" title="info"></span>
|
2016-07-06 12:53:49 +02:00
|
|
|
|
|
|
|
<span class=" glyphicon glyphicon-resize-small highlight"
|
|
|
|
*ngIf="fullScreenService.isFullScreenEnabled()"
|
|
|
|
(click)="fullScreenService.exitFullScreen()" title="toggle fullscreen"></span>
|
|
|
|
|
|
|
|
<span class="glyphicon glyphicon-fullscreen highlight"
|
|
|
|
*ngIf="!fullScreenService.isFullScreenEnabled()"
|
|
|
|
(click)="fullScreenService.showFullScreen(root)" title="toggle fullscreen"></span>
|
|
|
|
|
2016-05-13 14:27:00 +02:00
|
|
|
<span class="glyphicon glyphicon-remove highlight" (click)="hide()" title="close"></span>
|
2016-05-12 23:00:38 +02:00
|
|
|
</div>
|
2016-05-13 14:27:00 +02:00
|
|
|
|
|
|
|
<div class="navigation-arrow highlight" *ngIf="navigation.hasPrev" id="leftArrow" (click)="prevImage()"><span
|
|
|
|
class="glyphicon glyphicon-chevron-left"></span></div>
|
|
|
|
<div class="navigation-arrow highlight" *ngIf="navigation.hasNext" id="rightArrow" (click)="nextImage()"><span
|
|
|
|
class="glyphicon glyphicon-chevron-right"></span></div>
|
2016-05-12 23:00:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|