Files
BackOffice/src/BackOffice/Common/BaseComponents/BasePageComponent.razor
2025-10-08 12:38:07 +03:30

36 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<MudStack Row="true" AlignItems="AlignItems.Center" Class="pa-2 pr-4 rounded" Style="height:85vh;">
<MudItem xs="2">
<MudPaper Height="85vh" Style="overflow:hidden; position:relative;" Outlined="true" Class="rounded-lg">
<MudStack Class="pa-5" Style="height:100%;">
<MudStack Row="true" AlignItems="AlignItems.Center">
<MudText Typo="Typo.subtitle2">فیلتر ها</MudText>
<MudSpacer />
@if (IsFilterd)
{
<MudButton Color="Color.Error" Variant="Variant.Text" Size="Size.Small" OnClick="@(async () => await OnClearFilterClick.InvokeAsync())">خذف فیلتر</MudButton>
}
</MudStack>
<MudItem Style="height:100%;">
<MudStack StretchItems="StretchItems.None" Class="filter-item" Style="height:100%;">
<MudStack>
@Filters
</MudStack>
<MudButton Variant="Variant.Filled" Color="Color.Primary" Size="Size.Small" FullWidth="true" Class="mt-auto" OnClick="@(async () => await OnSubmitClick.InvokeAsync())">جستجو</MudButton>
</MudStack>
</MudItem>
</MudStack>
</MudPaper>
</MudItem>
<MudItem xs="10">
<MudPaper Height="85vh" Style="overflow:hidden; position:relative;" Outlined="true" Class="rounded-lg">
@Content
</MudPaper>
</MudItem>
</MudStack>