Initial commit

This commit is contained in:
2025-03-05 21:38:10 +01:00
commit 503909d762
198 changed files with 19203 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<button mat-raised-button color="accent" (click)="newGroup()">Nowa grupa</button>
<mat-card *ngFor="let item of groups">
<mat-card-header>
<mat-card-title contenteditable appCe (edit)="nameEdit(item._id, $event)">{{item.name}}</mat-card-title>
</mat-card-header>
<mat-card-content>
<table>
<thead>
<tr>
<th>Pokoje</th>
<th>Użytkownicy</th>
</tr>
</thead>
<tbody>
<tr>
<td><app-list-editor [converter]="item.rooms" (edit)="editRooms(item._id, $event)"/></td>
<td><app-list-editor [converter]="item.unames"/></td>
</tr>
</tbody>
</table>
</mat-card-content>
<mat-card-actions>
<button mat-button color="warn" (click)="remove(item._id)">Usuń</button>
</mat-card-actions>
</mat-card>