From 7f10c7576991946f785689bae7c29e7b47e7d3a9 Mon Sep 17 00:00:00 2001 From: Daniel Balk <67603460+Daniel-Balk@users.noreply.github.com> Date: Tue, 4 Apr 2023 00:43:26 +0200 Subject: [PATCH] new support chat layout --- .../Shared/Views/Admin/Support/View.razor | 78 ++++++++++--------- Moonlight/Shared/Views/Support.razor | 38 +++++---- 2 files changed, 64 insertions(+), 52 deletions(-) diff --git a/Moonlight/Shared/Views/Admin/Support/View.razor b/Moonlight/Shared/Views/Admin/Support/View.razor index fcf77c6..3921a68 100644 --- a/Moonlight/Shared/Views/Admin/Support/View.razor +++ b/Moonlight/Shared/Views/Admin/Support/View.razor @@ -22,11 +22,11 @@ {
-
+
-
+
@foreach (var message in Messages) { if (message.IsSystem || message.IsSupport) @@ -99,10 +99,10 @@ @if (typingUsers.Any()) { -
-
-
-
+
+
+
+
@if (typingUsers.Length > 1) { @@ -118,52 +118,56 @@ } } - +
-
- -
- - + + + + + + +
+ + + + + + +
-
-

+
+

User information

-
- - Firstname: @(User.FirstName) - +
+ + Name: @(User.FirstName) @User.LastName +
-
- - Lastname: @(User.LastName) - +
+ + Email: @(User.Email) +
-
- - Email: @(User.Email) - -
-
- +
+ - +
diff --git a/Moonlight/Shared/Views/Support.razor b/Moonlight/Shared/Views/Support.razor index 994bc46..6a57312 100644 --- a/Moonlight/Shared/Views/Support.razor +++ b/Moonlight/Shared/Views/Support.razor @@ -13,7 +13,7 @@
-
+
@foreach (var message in Messages) { if (message.IsSystem || message.IsSupport) @@ -21,7 +21,7 @@
-
+
Logo
@@ -104,7 +104,7 @@ @if (typingUsers.Any()) { -
+
@@ -120,19 +120,27 @@ } -
-
- -
- - + + + + + + +
+ + + + + + +