Add Blazor application layer with UI components and pages

- Service interfaces and DTO models
- Dashboard page with account overview
- Account detail page with year/entry management
- Reusable components: AccountCard, EntryTable, YearSelector
- Dialog components: Add/Edit Account, Entry, Transfer, Year
- Main layout and routing configuration
This commit is contained in:
2026-03-31 17:13:09 +02:00
parent c3d68020d5
commit f5c2be9339
31 changed files with 886 additions and 0 deletions
@@ -0,0 +1,31 @@
<div class="table-responsive">
<table class="table table-hover table-sm align-middle">
<thead class="table-light">
<tr>
<th style="width: 100px;">LfdNr</th>
<th style="width: 120px;">Datum</th>
<th>Bezeichnung</th>
<th style="width: 140px;" class="text-end">Betrag</th>
<th style="width: 80px;"></th>
</tr>
</thead>
<tbody>
@foreach (var entry in Entries)
{
<EntryRow Entry="entry" OnDelete="OnDeleteEntry" OnRestore="OnRestoreEntry" OnEdit="OnEditEntry" />
}
</tbody>
</table>
</div>
@if (!Entries.Any())
{
<div class="text-center py-3 text-muted">Keine Einträge vorhanden.</div>
}
@code {
[Parameter] public List<EntryDto> Entries { get; set; } = new();
[Parameter] public EventCallback<int> OnDeleteEntry { get; set; }
[Parameter] public EventCallback<int> OnRestoreEntry { get; set; }
[Parameter] public EventCallback<int> OnEditEntry { get; set; }
}