35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<div *ngIf="active">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Nachricht</th>
|
|
<th>Kommt</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let besucher of activeBesuchers">
|
|
<td>{{besucher.id}}</td>
|
|
<td>{{besucher.message}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<input placeholder="Ihre Name..." [(ngModel)]="BesucherName">
|
|
<input placeholder="Eventuell eine Nachricht" [(ngModel)]="BesucherMessage"><br />
|
|
<label id="zusage-radio-button-group-label">Kommen Sie</label>
|
|
<mat-radio-group
|
|
aria-labelledby="zusage-radio-button-group-label"
|
|
class="example-radio-group"
|
|
[(ngModel)]="BesucherKommtRadio"
|
|
>
|
|
<mat-radio-button class="example-radio-button" *ngFor="let entscheidung of kommt" [value]="entscheidung">{{entscheidung}}</mat-radio-button>
|
|
</mat-radio-group>
|
|
<button class="btn btn-primary" (click)="addBesucher()">Abschicken</button>
|
|
</div>
|
|
|
|
<div *ngIf="!active">
|
|
<h1>Diese Funktion steht leider noch nicht zur Verfügung</h1>
|
|
<h2>Bitte Schauen Sie ab den 1.3.2022 nochmal vorbei</h2>
|
|
<h3>Vielen Dank für Ihr verständnis</h3>
|
|
</div> |