1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-16 11:37:13 +02:00
pigallery2/frontend/app/gallery/gallery.component.html

56 lines
2.4 KiB
HTML
Raw Normal View History

<gallery-lightbox #lightbox (onLastElement)="onLightboxLastElement()"></gallery-lightbox>
<app-frame>
2017-07-07 22:54:18 +02:00
<ng-container navbar>
2017-07-09 12:03:17 +02:00
<li *ngIf="countDown">
<p class="navbar-text">Link availability: {{countDown.day}} days,
{{("0"+countDown.hour).slice(-2)}}:{{("0"+countDown.minute).slice(-2)}}:{{("0"+countDown.second).slice(-2)}}
</p>
</li>
2017-07-07 22:54:18 +02:00
<li *ngIf="showSearchBar">
<gallery-search #search></gallery-search>
</li>
<li *ngIf="showShare">
<gallery-share></gallery-share>
</li>
-
</ng-container>
2017-06-21 13:47:21 +02: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-23 22:29:07 +02:00
2017-07-08 00:18:24 +02:00
<div class="directories">
<gallery-directory *ngFor="let directory of directories"
[directory]="directory"></gallery-directory>
</div>
2017-07-13 23:39:09 +02:00
<gallery-map *ngIf="isPhotoWithLocation && mapEnabled"
[photos]="_galleryService.content.value.directory.photos"></gallery-map>
2017-06-21 13:47:21 +02:00
<gallery-grid [photos]="_galleryService.content.value.directory.photos" [lightbox]="lightbox"></gallery-grid>
2017-06-21 11:46:23 +02:00
</div>
2016-05-09 21:43:52 +02:00
2017-06-21 13:47:21 +02:00
<div body class="container" style="width: 100%; padding:0" *ngIf="_galleryService.content.value.searchResult">
2017-06-21 11:46:23 +02:00
<ol class="breadcrumb">
<li class="active">
Searching for:
2017-06-21 13:47:21 +02:00
<span [ngSwitch]="_galleryService.content.value.searchResult.searchType">
2016-12-27 00:36:38 +02: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 11:03:11 +02:00
</span>
2017-07-08 00:18:24 +02:00
<strong>{{_galleryService.content.value.searchResult.searchText}}</strong>
2017-06-21 11:46:23 +02:00
</li>
</ol>
2017-07-13 23:39:09 +02:00
<gallery-map *ngIf="isPhotoWithLocation && mapEnabled"
[photos]="_galleryService.content.value.searchResult.photos"></gallery-map>
2017-07-08 00:18:24 +02:00
<div class="directories">
<gallery-directory *ngFor="let directory of directories"
[directory]="directory"></gallery-directory>
2016-05-01 10:28:05 +02:00
</div>
2017-06-21 13:47:21 +02:00
<gallery-grid [photos]="_galleryService.content.value.searchResult.photos" [lightbox]="lightbox"></gallery-grid>
2017-06-21 11:46:23 +02:00
</div>
2017-06-21 11:33:21 +02:00
</app-frame>