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
This commit is contained in:
parent
408e590922
commit
4cf30e1f27
20 changed files with 951 additions and 0 deletions
|
|
@ -0,0 +1,27 @@
|
|||
@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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue