mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
30 lines
1.7 KiB
HTML
30 lines
1.7 KiB
HTML
<gallery-lightbox #lightbox></gallery-lightbox>
|
|
<app-frame>
|
|
<div navbar>
|
|
<gallery-search #search *ngIf="showSearchBar"></gallery-search>
|
|
</div>
|
|
<div body class="container" style="width: 100%; padding:0" *ngIf="_galleryService.content.directory">
|
|
<gallery-directory *ngFor="let directory of _galleryService.content.directory.directories"
|
|
[directory]="directory"></gallery-directory>
|
|
<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">
|
|
<li class="active">
|
|
Searching for:
|
|
<span [ngSwitch]="_galleryService.content.searchResult.searchType">
|
|
<span *ngSwitchWhen="0" class="glyphicon glyphicon-picture"></span>
|
|
<span *ngSwitchWhen="1" class="glyphicon glyphicon-folder-open"></span>
|
|
<span *ngSwitchWhen="2" class="glyphicon glyphicon-tag"></span>
|
|
<span *ngSwitchWhen="3" class="glyphicon glyphicon-map-marker"></span>
|
|
</span>
|
|
<strong>{{_galleryService.content.searchResult.searchText}}</strong>
|
|
</li>
|
|
</ol>
|
|
<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>
|
|
</div>
|
|
</app-frame> |