2018-05-04 06:23:48 +08:00
|
|
|
<app-gallery-lightbox #lightbox (onLastElement)="onLightboxLastElement()"></app-gallery-lightbox>
|
2016-04-26 21:10:05 +08:00
|
|
|
<app-frame>
|
2016-07-04 22:58:10 +08:00
|
|
|
|
2017-07-08 04:54:18 +08:00
|
|
|
<ng-container navbar>
|
2017-07-09 18:03:17 +08:00
|
|
|
|
|
|
|
<li *ngIf="countDown">
|
2017-12-25 07:42:25 +08:00
|
|
|
<p class="navbar-text">
|
|
|
|
<ng-container i18n>Link availability</ng-container>
|
|
|
|
: {{countDown.day}}
|
|
|
|
<ng-container i18n>days</ng-container>
|
|
|
|
,
|
2017-07-09 18:03:17 +08:00
|
|
|
{{("0"+countDown.hour).slice(-2)}}:{{("0"+countDown.minute).slice(-2)}}:{{("0"+countDown.second).slice(-2)}}
|
|
|
|
</p>
|
|
|
|
</li>
|
2017-07-08 04:54:18 +08:00
|
|
|
<li *ngIf="showSearchBar">
|
|
|
|
<gallery-search #search></gallery-search>
|
|
|
|
</li>
|
|
|
|
<li *ngIf="showShare">
|
|
|
|
<gallery-share></gallery-share>
|
|
|
|
</li>
|
|
|
|
</ng-container>
|
2016-07-04 22:58:10 +08:00
|
|
|
|
2017-07-21 03:06:48 +08:00
|
|
|
|
2017-06-21 19:47:21 +08:00
|
|
|
<div body class="container" style="width: 100%; padding:0" *ngIf="_galleryService.content.value.directory">
|
|
|
|
<gallery-navbar [directory]="_galleryService.content.value.directory"></gallery-navbar>
|
2017-01-24 04:29:07 +08:00
|
|
|
|
2017-07-08 06:18:24 +08:00
|
|
|
<div class="directories">
|
|
|
|
<gallery-directory *ngFor="let directory of directories"
|
|
|
|
[directory]="directory"></gallery-directory>
|
|
|
|
</div>
|
2017-07-14 05:39:09 +08:00
|
|
|
<gallery-map *ngIf="isPhotoWithLocation && mapEnabled"
|
|
|
|
[photos]="_galleryService.content.value.directory.photos"></gallery-map>
|
2017-06-21 19:47:21 +08:00
|
|
|
<gallery-grid [photos]="_galleryService.content.value.directory.photos" [lightbox]="lightbox"></gallery-grid>
|
2017-06-21 17:46:23 +08:00
|
|
|
</div>
|
2016-05-10 03:43:52 +08:00
|
|
|
|
2017-06-21 19:47:21 +08:00
|
|
|
<div body class="container" style="width: 100%; padding:0" *ngIf="_galleryService.content.value.searchResult">
|
2017-07-26 03:36:28 +08:00
|
|
|
<div class="alert alert-info" role="alert"
|
2017-12-25 07:42:25 +08:00
|
|
|
*ngIf="_galleryService.content.value.searchResult.resultOverflow == true" i18n>
|
2017-07-26 03:36:28 +08:00
|
|
|
Too many results to show. Refine your search.
|
|
|
|
</div>
|
2017-06-21 17:46:23 +08:00
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li class="active">
|
2017-12-25 07:42:25 +08:00
|
|
|
<ng-container i18n>Searching for:</ng-container>
|
2017-06-21 19:47:21 +08:00
|
|
|
<span [ngSwitch]="_galleryService.content.value.searchResult.searchType">
|
2016-12-27 06:36:38 +08:00
|
|
|
<span *ngSwitchCase="0" class="glyphicon glyphicon-picture"></span>
|
|
|
|
<span *ngSwitchCase="1" class="glyphicon glyphicon-folder-open"></span>
|
|
|
|
<span *ngSwitchCase="2" class="glyphicon glyphicon-tag"></span>
|
|
|
|
<span *ngSwitchCase="3" class="glyphicon glyphicon-map-marker"></span>
|
2016-05-16 17:03:11 +08:00
|
|
|
</span>
|
2017-07-08 06:18:24 +08:00
|
|
|
<strong>{{_galleryService.content.value.searchResult.searchText}}</strong>
|
2017-06-21 17:46:23 +08:00
|
|
|
</li>
|
|
|
|
</ol>
|
2017-01-23 05:31:29 +08:00
|
|
|
|
2017-07-14 05:39:09 +08:00
|
|
|
<gallery-map *ngIf="isPhotoWithLocation && mapEnabled"
|
|
|
|
[photos]="_galleryService.content.value.searchResult.photos"></gallery-map>
|
2017-01-23 05:31:29 +08:00
|
|
|
|
2017-07-08 06:18:24 +08:00
|
|
|
<div class="directories">
|
|
|
|
<gallery-directory *ngFor="let directory of directories"
|
|
|
|
[directory]="directory"></gallery-directory>
|
2016-05-01 16:28:05 +08:00
|
|
|
</div>
|
2017-06-21 19:47:21 +08:00
|
|
|
<gallery-grid [photos]="_galleryService.content.value.searchResult.photos" [lightbox]="lightbox"></gallery-grid>
|
2017-06-21 17:46:23 +08:00
|
|
|
</div>
|
2017-07-21 03:06:48 +08:00
|
|
|
|
|
|
|
<div body class="container"
|
|
|
|
style="width: 100%; padding:0"
|
|
|
|
*ngIf="(!_galleryService.content.value.directory ||
|
2017-07-22 01:14:22 +08:00
|
|
|
_galleryService.content.value.directory.isPartial == true)
|
2017-07-21 03:06:48 +08:00
|
|
|
&& !_galleryService.content.value.searchResult">
|
|
|
|
<div class="spinner">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-21 17:33:21 +08:00
|
|
|
</app-frame>
|