Consolidates UI components into a centralized components.css file Removes duplicate styles across multiple CSS files Adds utility classes in a new utilities.css file Reduces overall CSS complexity and improves maintainability Removes quick-stats.css and redistributes its styles Updates layout and stylesheet references accordingly
20 lines
797 B
Text
20 lines
797 B
Text
@model PlanTempus.Application.Features.Dashboard.Components.BookingListViewModel
|
|
|
|
<swp-card data-key="@Model.Key">
|
|
<swp-section-header>
|
|
<swp-section-label>@Model.Title</swp-section-label>
|
|
<swp-section-action localize="dashboard.bookings.viewAll">Se alle</swp-section-action>
|
|
</swp-section-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>
|