-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(app): add load progress based on number of loaded items
- Loading branch information
Showing
7 changed files
with
50 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/phoenix-ng/projects/phoenix-app/src/app/sections/cms/cms.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 8 additions & 7 deletions
15
...ges/phoenix-ng/projects/phoenix-ui-components/src/components/loader/loader.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<div | ||
class="loader-wrapper d-flex justify-content-center align-items-center text-center" | ||
class="loader-wrapper d-flex position-absolute flex-column justify-content-center align-items-center w-100 h-100 text-center" | ||
[ngClass]="{ 'load-complete': loaded }" | ||
> | ||
<div> | ||
<img src="assets/images/logo-small.svg" alt="Loader" /> | ||
<p class="mt-5"> | ||
Loading...<br /> | ||
<small class="text-muted">(This may take a while)</small> | ||
</p> | ||
<img src="assets/images/logo-small.svg" alt="Loader" /> | ||
<p class="mt-5"> | ||
Loading...<br /> | ||
<small class="text-muted">(This may take a while)</small> | ||
</p> | ||
<div class="loading-bar" *ngIf="progress"> | ||
<span [style]="{ width: progress + '%' }"></span> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters