PlanTempusApp/PlanTempus.Application/Features/Dashboard/Components/BookingList/Default.cshtml
Janus C. H. Knudsen c1d2df9327 Refactors UI components with new card header structure
Replaces `swp-section-label` with standardized `swp-card-header` and `swp-card-title`

Improves component consistency across multiple features:
- Adds structured card headers
- Introduces more semantic HTML elements
- Enhances layout and readability of card components

Updates CSS and component styles to support new structure
2026-01-19 14:23:41 +01:00

20 lines
785 B
Text

@model PlanTempus.Application.Features.Dashboard.Components.BookingListViewModel
<swp-card data-key="@Model.Key">
<swp-card-header>
<swp-card-title>@Model.Title</swp-card-title>
<swp-section-action localize="dashboard.bookings.viewAll">Se alle</swp-section-action>
</swp-card-header>
<swp-current-time>
<i class="ph ph-clock"></i>
<span><span localize="dashboard.bookings.currentTime">Nu:</span> <swp-time>@Model.CurrentTime</swp-time></span>
</swp-current-time>
<swp-card-content>
<swp-booking-list>
@foreach (var bookingKey in Model.BookingKeys)
{
@await Component.InvokeAsync("BookingItem", bookingKey)
}
</swp-booking-list>
</swp-card-content>
</swp-card>