-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get resources (common service) from firestore
- Loading branch information
Showing
18 changed files
with
220 additions
and
162 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
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
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,3 +1,7 @@ | ||
<div style="text-align: center;"> | ||
Lade Inhalt...<mat-progress-bar color="primary" mode="indeterminate" /> | ||
</div> | ||
@if(loading) { | ||
<div style="text-align: center;"> | ||
Lade Inhalt...<mat-progress-bar color="primary" mode="indeterminate" /> | ||
</div> | ||
} @else { | ||
<ng-content></ng-content> | ||
} |
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,12 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, Input } from '@angular/core'; | ||
import { MatProgressBarModule } from '@angular/material/progress-bar'; | ||
|
||
@Component({ | ||
selector: 'app-loading', | ||
standalone: true, | ||
imports: [MatProgressBarModule], | ||
templateUrl: './loading.component.html' | ||
selector: 'app-loading', | ||
standalone: true, | ||
imports: [MatProgressBarModule], | ||
templateUrl: './loading.component.html', | ||
}) | ||
export class LoadingComponent { | ||
|
||
@Input() loading = true; | ||
} |
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
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,11 +1,14 @@ | ||
<div class="settings"> | ||
<div class="info"> | ||
<mat-icon fontIcon="info" color="primary" /> | ||
<p> | ||
Alle eingegebenen Daten aus den Formularen werden lokal im Browser gespeichert. | ||
Hier kannst du sie exportieren oder löschen. | ||
</p> | ||
<app-loading [loading]="loading"> | ||
<div class="settings"> | ||
<div class="info"> | ||
<mat-icon fontIcon="info" color="primary" /> | ||
<p>{{resource('user-data-info')}}</p> | ||
</div> | ||
<a mat-raised-button (click)="download()"> | ||
<p>{{resource('user-data-export')}}</p> | ||
</a> | ||
<a mat-raised-button (click)="clear()"> | ||
<p>{{resource('user-data-reset')}}</p> | ||
</a> | ||
</div> | ||
<a mat-raised-button (click)="download()">Benutzerdaten exportieren</a> | ||
<a mat-raised-button (click)="clear()">Benutzerdaten zurücksetzen</a> | ||
</div> | ||
</app-loading> |
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
Oops, something went wrong.