mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-10 04:07:35 +02:00
This commit is contained in:
parent
bc81dc8a4a
commit
e7ffa5692f
@ -56,12 +56,18 @@ app-gallery-map {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.spinner-container {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
margin-top: 50px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background-color: #333;
|
||||
background-color: var(--bs-body-color);
|
||||
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
@ -62,8 +62,7 @@
|
||||
</ng-container>
|
||||
</div>
|
||||
|
||||
<div body class="container"
|
||||
style="width: 100%; padding:0"
|
||||
<div body class="container spinner-container"
|
||||
*ngIf="(!ContentWrapper.directory ||
|
||||
ContentWrapper.directory.isPartial == true)
|
||||
&& !ContentWrapper.searchResult
|
||||
|
@ -10,7 +10,7 @@
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<ol *ngIf="!isDirectory" class="mb-0 mt-1 breadcrumb">
|
||||
<ol *ngIf="isSearch" class="mb-0 mt-1 breadcrumb">
|
||||
<li class="active">
|
||||
<ng-container i18n>Searching for:</ng-container>
|
||||
<strong> {{galleryService.content.value?.searchResult?.searchQuery | searchQuery}}</strong>
|
||||
|
@ -124,6 +124,10 @@ export class GalleryNavigatorComponent {
|
||||
return !!this.galleryService.content.value.directory;
|
||||
}
|
||||
|
||||
get isSearch(): boolean {
|
||||
return !!this.galleryService.content.value.searchResult;
|
||||
}
|
||||
|
||||
get ItemCount(): number {
|
||||
const c = this.galleryService.content.value;
|
||||
return c.directory
|
||||
|
Loading…
Reference in New Issue
Block a user