Compare commits

..

No commits in common. "50c0a32b71226273ef8818c35f2a02f3df1134ab" and "9af295d5babad10329b6ad7d7911e7547cbc730c" have entirely different histories.

3 changed files with 40 additions and 20 deletions

View File

@ -44,9 +44,7 @@
SearchMode="@ListSearchMode.AutoSearch"
SearchFilterCondition="@ListSearchFilterCondition.Contains"
ListRenderMode="ListRenderMode.Virtual"
TextFieldName="Name"
CssClass="form-field">
</DxComboBox>
TextFieldName="Name"></DxComboBox>
<div class="row py-3">

View File

@ -1,16 +1,44 @@
@page "/user/messages/{userId:guid}"
<div class="card-body card-admin-body py-2 px-4">
<div class="card-body card-admin-body py-2 px-4">
<div class="d-flex flex-column mb-4 pb-2">
<div class="media text-muted pt-3">
<!--img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="" class="mr-2 rounded" width="32" height="32"-->
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
<strong class="d-block text-gray-dark">username</strong>
Donec id elit non mi porta gravida at eget metus...
</p>
</div>
<div class="media text-muted pt-3">
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
<strong class="d-block text-gray-dark">username</strong>
Donec id elit non mi porta gravida at eget metus...
</p>
</div>
<div class="media text-muted pt-3">
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
<strong class="d-block text-gray-dark">username</strong>
Donec id elit non mi porta gravida at eget metus...
</p>
</div>
<div class="media text-muted pt-3">
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
<strong class="d-block text-gray-dark">username</strong>
Donec id elit non mi porta gravida at eget metus...
</p>
</div>
</div>
</div>
@code {
[Parameter] public Guid? userId { get; set; }
}

View File

@ -77,11 +77,7 @@
</Items>
</DxMenuItem-->
@* <DxMenuItem NavigateUrl="user/messages" Text="Messages" IconCssClass="fa-solid fa-envelope" /> *@
@{
string url3 = $"user/messages/{userId}";
<DxMenuItem NavigateUrl="@url3" IconCssClass="fa-solid fa-envelope" />
}
<DxMenuItem NavigateUrl="user/messages" IconCssClass="fa-solid fa-envelope" />
<DxMenuItem CssClass="notoggle" Position="ItemPosition.End">
<TextTemplate>
<div class="fa-solid fa-user" />
@ -124,7 +120,6 @@
private bool userHasHotels = false;
private string? userEmail;
private string? userFullName;
private Guid? userId;
private Guid driverPermissionId;
@ -156,7 +151,6 @@
}
if (SessionService.User != null)
{
userId = SessionService.User.UserId;
driverPermissionId = SessionService.DriverPersmissionId;
userEmail = SessionService.User.Email;
if (SessionService.User.UserModelDto.ProfileDto.FullName != null)