This commit is contained in:
mmrbnjd
2025-08-18 20:45:58 +03:30
parent 109b769ecd
commit 69a75731ce

View File

@@ -24,49 +24,51 @@
WidthUnit="Unit.Px" />
<main>
<div class="d-flex align-items-center justify-content-end">
<Badge Color="BadgeColor.Primary" Style="margin-left:20px">
<NavLink href="@{
hrefuserpanel
}">لینک گفتگو کاربر با شما</NavLink>
</Badge>
<Badge Color="BadgeColor.Info" Style="margin-left:20px">
<NavLink href="@{
hrefai
}">لینک گفتگو کاربر با دستیار هوش مصنوعی</NavLink>
</Badge>
<div class="text-white text-end d-flex flex-column justify-content-center align-items-end mx-2">
<div style="color: black;" class="fw-bold">@Fullname</div>
<h6 style="color: black;">@TitleRole</h6>
</div>
@if (img != null && img.Length > 0)
{
<Image Src=@GetImageSource() Class="rounded" Alt="placeholder" @onclick="EditCurrentUser"
Style="height: 30px;cursor:pointer;margin-left:10px" />
<Badge Color="BadgeColor.Light" Style="margin-left:20px">
<p>شناسه شرکت : @CompanyID</p>
</Badge>
}
else
{
<Icon Name="IconName.People" Size="IconSize.x3" Style="height: 30px;cursor:pointer;margin-left:10px" @onclick="EditCurrentUser" />
}
<div class="text-white text-end d-flex flex-column justify-content-center align-items-end mx-2">
<div style="color: black;" class="fw-bold">@Fullname</div>
<h6 style="color: black;">@TitleRole</h6>
</div>
@if (img != null && img.Length > 0)
{
<Image Src=@GetImageSource() Class="rounded" Alt="placeholder" @onclick="EditCurrentUser"
Style="height: 30px;cursor:pointer;margin-left:10px" />
}
else
{
<Icon Name="IconName.People" Size="IconSize.x3" Style="height: 30px;cursor:pointer;margin-left:10px" @onclick="EditCurrentUser" />
}
<Button Color="ButtonColor.Danger" Size="ButtonSize.Small"
@onclick=OnCliclLogout Style="margin-left:10px">
<Icon Name="IconName.DoorOpen" /> خروج
</Button>
<Button Color="ButtonColor.Danger" Size="ButtonSize.Small"
@onclick=OnCliclLogout Style="margin-left:10px">
<Icon Name="IconName.DoorOpen" /> خروج
</Button>
</div>
<article class="content px-4">
<div class="align-items-center justify-content-start" style="margin-right:10px">
<Badge Color="BadgeColor.Primary" Style="margin-left:20px">
<NavLink href="@{hrefuserpanel}">لینک گفتگو کاربر با شما</NavLink>
</Badge>
<Badge Color="BadgeColor.Info" Style="margin-left:20px">
<NavLink href="@{hrefai}">لینک گفتگو کاربر با دستیار هوش مصنوعی</NavLink>
</Badge>
<Badge Color="BadgeColor.Light" Style="margin-left:20px">
<p>شناسه شرکت : @CompanyID</p>
</Badge>
</div>
<article class="content px-4">
<div class="py-2">
@if (isonline)
{