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