2018-05-26 20:49:55 -04:00
|
|
|
<app-gallery-lightbox #lightbox></app-gallery-lightbox>
|
2016-04-26 15:10:05 +02:00
|
|
|
<app-frame>
|
2016-07-04 16:58:10 +02:00
|
|
|
|
2017-07-07 22:54:18 +02:00
|
|
|
<ng-container navbar>
|
2018-05-13 16:59:57 -04:00
|
|
|
<li class="nav-item" *ngIf="countDown">
|
|
|
|
<span class="navbar-text">
|
2017-12-24 18:42:25 -05:00
|
|
|
<ng-container i18n>Link availability</ng-container>
|
|
|
|
: {{countDown.day}}
|
|
|
|
<ng-container i18n>days</ng-container>
|
|
|
|
,
|
2018-11-24 14:21:46 +01:00
|
|
|
{{("0" + countDown.hour).slice(-2)}}:{{("0" + countDown.minute).slice(-2)}}
|
|
|
|
:{{("0" + countDown.second).slice(-2)}}
|
2018-05-13 16:59:57 -04:00
|
|
|
</span>
|
2017-07-09 12:03:17 +02:00
|
|
|
</li>
|
2018-05-13 16:59:57 -04:00
|
|
|
<li class="nav-item" *ngIf="showSearchBar">
|
2018-05-03 19:17:08 -04:00
|
|
|
<app-gallery-search #search></app-gallery-search>
|
2017-07-07 22:54:18 +02:00
|
|
|
</li>
|
2018-05-13 16:59:57 -04:00
|
|
|
<li class="nav-item" *ngIf="showShare">
|
2018-05-03 19:17:08 -04:00
|
|
|
<app-gallery-share></app-gallery-share>
|
2017-07-07 22:54:18 +02:00
|
|
|
</li>
|
|
|
|
</ng-container>
|
2016-07-04 16:58:10 +02:00
|
|
|
|
2018-10-22 00:24:17 +02:00
|
|
|
<ng-container navbar-menu>
|
|
|
|
<li role="menuitem" *ngIf="showRandomPhotoBuilder">
|
2018-11-24 14:21:46 +01:00
|
|
|
<app-gallery-random-query-builder></app-gallery-random-query-builder>
|
2018-10-22 00:24:17 +02:00
|
|
|
</li>
|
|
|
|
</ng-container>
|
|
|
|
|
2017-07-20 21:06:48 +02:00
|
|
|
|
2018-05-13 16:59:57 -04:00
|
|
|
<div body class="container-fluid" style="width: 100%; padding:0" *ngIf="_galleryService.content.value.directory">
|
2018-05-03 19:17:08 -04:00
|
|
|
<app-gallery-navbar [directory]="_galleryService.content.value.directory"></app-gallery-navbar>
|
2017-01-23 21:29:07 +01:00
|
|
|
|
2017-07-08 00:18:24 +02:00
|
|
|
<div class="directories">
|
2018-05-03 19:17:08 -04:00
|
|
|
<app-gallery-directory *ngFor="let directory of directories"
|
|
|
|
[directory]="directory"></app-gallery-directory>
|
2017-07-08 00:18:24 +02:00
|
|
|
</div>
|
2018-05-03 19:17:08 -04:00
|
|
|
<app-gallery-map *ngIf="isPhotoWithLocation && mapEnabled"
|
2018-11-26 00:26:29 +01:00
|
|
|
[photos]="_galleryService.content.value.directory.media"
|
|
|
|
[metaFiles]="_galleryService.content.value.directory.metaFile"></app-gallery-map>
|
2018-11-04 19:28:32 +01:00
|
|
|
<app-gallery-grid [photos]="_galleryService.content.value.directory.media"
|
2018-05-03 19:17:08 -04:00
|
|
|
[lightbox]="lightbox"></app-gallery-grid>
|
2017-06-21 11:46:23 +02:00
|
|
|
</div>
|
2018-12-02 12:22:20 +01:00
|
|
|
<!-- Search-->
|
2018-05-13 16:59:57 -04:00
|
|
|
<div body class="container-fluid" style="width: 100%; padding:0" *ngIf="_galleryService.content.value.searchResult">
|
2017-07-25 21:36:28 +02:00
|
|
|
<div class="alert alert-info" role="alert"
|
2017-12-24 18:42:25 -05:00
|
|
|
*ngIf="_galleryService.content.value.searchResult.resultOverflow == true" i18n>
|
2017-07-25 21:36:28 +02:00
|
|
|
Too many results to show. Refine your search.
|
|
|
|
</div>
|
2018-12-02 12:22:20 +01:00
|
|
|
<app-gallery-navbar [searchResult]="_galleryService.content.value.searchResult"></app-gallery-navbar>
|
2017-01-22 22:31:29 +01:00
|
|
|
|
2018-05-03 19:17:08 -04:00
|
|
|
<app-gallery-map *ngIf="isPhotoWithLocation && mapEnabled"
|
2018-11-26 00:26:29 +01:00
|
|
|
[photos]="_galleryService.content.value.searchResult.media"
|
|
|
|
[metaFiles]="_galleryService.content.value.searchResult.metaFile"></app-gallery-map>
|
2017-01-22 22:31:29 +01:00
|
|
|
|
2017-07-08 00:18:24 +02:00
|
|
|
<div class="directories">
|
2018-05-03 19:17:08 -04:00
|
|
|
<app-gallery-directory *ngFor="let directory of directories"
|
|
|
|
[directory]="directory"></app-gallery-directory>
|
2016-05-01 10:28:05 +02:00
|
|
|
</div>
|
2018-11-04 19:28:32 +01:00
|
|
|
<app-gallery-grid [photos]="_galleryService.content.value.searchResult.media"
|
2018-05-03 19:17:08 -04:00
|
|
|
[lightbox]="lightbox"></app-gallery-grid>
|
2017-06-21 11:46:23 +02:00
|
|
|
</div>
|
2017-07-20 21:06:48 +02:00
|
|
|
|
|
|
|
<div body class="container"
|
|
|
|
style="width: 100%; padding:0"
|
|
|
|
*ngIf="(!_galleryService.content.value.directory ||
|
2017-07-21 19:14:22 +02:00
|
|
|
_galleryService.content.value.directory.isPartial == true)
|
2017-07-20 21:06:48 +02:00
|
|
|
&& !_galleryService.content.value.searchResult">
|
|
|
|
<div class="spinner">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-21 11:33:21 +02:00
|
|
|
</app-frame>
|