backend fertig gestellt
frontend angefangen
This commit is contained in:
26
ui/src/app/besucher/besucher.component.html
Normal file
26
ui/src/app/besucher/besucher.component.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<h1>besucher works!</h1>
|
||||
<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">
|
||||
<label id="zusage-radio-button-group-label">Kommen Sie</label>
|
||||
<mat-radio-group>
|
||||
<mat-radio-button value="1">Ja</mat-radio-button>
|
||||
<mat-radio-button value="0">Nein</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
<button class="btn btn-primary" (click)="addBesucher()">Abschicken</button>
|
||||
|
||||
Reference in New Issue
Block a user