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

33 lines
1.8 KiB
HTML
Raw Normal View History

<gallery-lightbox #lightbox (onLastElement)="onLightboxLastElement()"></gallery-lightbox>
<app-frame>
<div navbar>
2016-05-16 11:03:11 +02:00
<gallery-search #search *ngIf="showSearchBar"></gallery-search>
</div>
<div body class="container" style="width: 100%; padding:0" *ngIf="_galleryService.content.directory">
2016-06-29 19:26:31 +02:00
<gallery-navbar [directory]="_galleryService.content.directory"></gallery-navbar>
2016-05-15 18:52:07 +02:00
<gallery-directory *ngFor="let directory of _galleryService.content.directory.directories"
[directory]="directory"></gallery-directory>
2016-05-09 21:43:52 +02:00
<gallery-grid [photos]="_galleryService.content.directory.photos" [lightbox]="lightbox"></gallery-grid>
</div>
<div body class="container" style="width: 100%; padding:0" *ngIf="_galleryService.content.searchResult">
<ol class="breadcrumb">
2016-05-16 11:03:11 +02:00
<li class="active">
Searching for:
<span [ngSwitch]="_galleryService.content.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>
<strong>{{_galleryService.content.searchResult.searchText}}</strong>
</li>
</ol>
2016-05-09 21:43:52 +02:00
<div *ngFor="let directory of _galleryService.content.searchResult.directories">
<gallery-directory *ngIf="directory" [directory]="directory"></gallery-directory>
</div>
<gallery-grid [photos]="_galleryService.content.searchResult.photos" [lightbox]="lightbox"></gallery-grid>
2016-05-01 10:28:05 +02:00
</div>
</app-frame>