PlanTempusApp/PlanTempus.Application/Features/Services/Components/ServiceTable/Default.cshtml
Janus C. H. Knudsen 4cf30e1f27 Add services feature with mock data and components
Introduces comprehensive services management module with:
- Dynamic service and category tables
- Localization support for services section
- Mock data for services and categories
- Responsive UI components for services listing
- Menu navigation and styling updates

Enhances application's service management capabilities
2026-01-15 23:29:26 +01:00

27 lines
986 B
Text

@model PlanTempus.Application.Features.Services.Components.ServiceTableViewModel
<swp-services-header>
<swp-search-input>
<i class="ph ph-magnifying-glass"></i>
<input type="text" placeholder="@Model.SearchPlaceholder" />
</swp-search-input>
<swp-btn class="primary">
<i class="ph ph-plus"></i>
@Model.CreateButtonText
</swp-btn>
</swp-services-header>
<swp-card class="services-list">
<swp-data-table>
<swp-data-table-header>
<swp-data-table-cell>@Model.ColumnService</swp-data-table-cell>
<swp-data-table-cell>@Model.ColumnDuration</swp-data-table-cell>
<swp-data-table-cell>@Model.ColumnPrice</swp-data-table-cell>
<swp-data-table-cell></swp-data-table-cell>
</swp-data-table-header>
@foreach (var category in Model.Categories)
{
@await Component.InvokeAsync("ServiceCategoryGroup", category)
}
</swp-data-table>
</swp-card>