From 2fee534f1152e84158b57eaee45259704c26f404 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Wed, 5 Aug 2026 13:58:27 +0330 Subject: [PATCH] improve UI/UX of the User Area #496 --- GanjooRazor/Areas/User/Pages/History.cshtml | 209 +++++++----------- .../Areas/User/Pages/MyBookmarks.cshtml | 191 ++++++---------- .../Areas/User/Pages/MyComments.cshtml | 126 ++++------- .../User/Pages/Shared/_EmptyState.cshtml | 6 +- 4 files changed, 191 insertions(+), 341 deletions(-) diff --git a/GanjooRazor/Areas/User/Pages/History.cshtml b/GanjooRazor/Areas/User/Pages/History.cshtml index c873a52d..2f9eb678 100644 --- a/GanjooRazor/Areas/User/Pages/History.cshtml +++ b/GanjooRazor/Areas/User/Pages/History.cshtml @@ -1,59 +1,57 @@ -@page +@page @model GanjooRazor.Areas.User.Pages.HistoryModel @using DNTPersianUtils.Core @{ Layout = "_UserPanelLayout"; ViewData["Title"] = "ادامهٔ مطالعه"; await GanjooRazor.Utils.GanjoorSessionChecker.ApplyPermissionsToViewData(Request, Response, ViewData); - string color = "gray"; } -

@ViewData["Title"]

+
+

@ViewData["Title"]

+
@if (Model.LastError != "") { -

@Model.LastError

+
@Model.LastError
} else { -

- @foreach (var paginationLink in Model.PaginationLinks) - { - if (!string.IsNullOrEmpty(paginationLink.Url)) - { - @paginationLink.Name - } - else - { - @paginationLink.Name - } - } -

-