71 lines
2.0 KiB
Plaintext
71 lines
2.0 KiB
Plaintext
@page "/sysadmin/cars"
|
|
@using BlazorAnimation
|
|
@using TIAM.Models.Dtos.Users
|
|
@using TIAM.Resources
|
|
@using TIAM.Services
|
|
@using TIAMSharedUI.Pages.Components
|
|
@using TIAMSharedUI.Shared
|
|
@using TIAMWebApp.Shared.Application.Interfaces
|
|
@using TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels
|
|
@using TIAMWebApp.Shared.Application.Models.PageModels
|
|
@using TIAMWebApp.Shared.Application.Utility
|
|
|
|
@using AyCode.Core.Helpers
|
|
@using AyCode.Core.Consts
|
|
@using TIAMSharedUI.Shared.Components.BaseComponents
|
|
@inherits UserBasePageComponent
|
|
@layout AdminLayout
|
|
@inject IStringLocalizer<TIAMResources> Localizer
|
|
@inject IWizardProcessor WizardProcessor
|
|
@inject IUserDataService UserDataService
|
|
<PageTitle>Car list</PageTitle>
|
|
|
|
<div class="text-center m-5">
|
|
<h1>Car list</h1>
|
|
<h2 style="font-size:small">Manage cars here!</h2>
|
|
</div>
|
|
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class=" col-12">
|
|
<Animation Effect="@Effect.FadeIn" Speed="@Speed.Fast" Delay="@TimeSpan.FromMilliseconds(250)">
|
|
<div class="card">
|
|
<div class="d-flex flex-column mb-4 pb-2">
|
|
|
|
<CarGridComponent
|
|
@ref="@Grid"
|
|
DetailExpandButtonDisplayMode="GridDetailExpandButtonDisplayMode.Auto"
|
|
GetAllTag="SignalRTags.GetAllCars">
|
|
</CarGridComponent>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</Animation>
|
|
</div>
|
|
|
|
<div class=" col-12 col-xl-6">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
@code {
|
|
private LoggerClient<ManageUserProductMappings> _logger;
|
|
//public UserModelDtoDetail UserModelDtoDetail = new();
|
|
|
|
CarGridComponent Grid { get; set; }
|
|
//object? MasterGridData { get; set; }
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
_logger = new LoggerClient<ManageUserProductMappings>(_logWriters.ToArray());
|
|
|
|
base.OnInitialized();
|
|
}
|
|
|
|
|
|
|
|
}
|