24 lines
757 B
Text
24 lines
757 B
Text
|
|
@model PlanTempus.Application.Features.Dashboard.Components.BookingListViewModel
|
||
|
|
|
||
|
|
<swp-card data-key="@Model.Key">
|
||
|
|
<swp-card-header>
|
||
|
|
<swp-card-title>
|
||
|
|
<i class="ph ph-calendar-check"></i>
|
||
|
|
@Model.Title
|
||
|
|
</swp-card-title>
|
||
|
|
<swp-card-action>Se alle</swp-card-action>
|
||
|
|
</swp-card-header>
|
||
|
|
<swp-current-time>
|
||
|
|
<i class="ph ph-clock"></i>
|
||
|
|
<span>Nu: <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>
|