From 4ea87ad11e466521913bf93ab02f522f574d5688 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 11:01:40 +0800 Subject: [PATCH 01/26] Update _LayoutAdmin.cshtml --- src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml b/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml index 8a4df284b..01070147a 100644 --- a/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml +++ b/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml @@ -129,7 +129,7 @@ -
+
@RenderBody()
From d6a61d38282902b395a6f6895c585ef1ac772102 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 11:11:24 +0800 Subject: [PATCH 02/26] update about page design --- src/Moonglade.Web/Pages/Admin/About.cshtml | 110 ++++++++---------- .../Pages/Admin/_DiagnosisHeader.cshtml | 11 -- .../Pages/Shared/_LayoutAdmin.cshtml | 8 +- src/Moonglade.Web/wwwroot/css/admin.css | 4 + 4 files changed, 61 insertions(+), 72 deletions(-) delete mode 100644 src/Moonglade.Web/Pages/Admin/_DiagnosisHeader.cshtml diff --git a/src/Moonglade.Web/Pages/Admin/About.cshtml b/src/Moonglade.Web/Pages/Admin/About.cshtml index 724c43cf0..d1673f9b8 100644 --- a/src/Moonglade.Web/Pages/Admin/About.cshtml +++ b/src/Moonglade.Web/Pages/Admin/About.cshtml @@ -8,19 +8,14 @@ var process = Process.GetCurrentProcess(); } - -
-
- - - - - - +

+ + @SharedLocalizer["Moonglade Configuration"] +

+ +
+
- - @SharedLocalizer["Moonglade Configuration"] -
@@ -47,59 +42,56 @@
@SharedLocalizer["Version"]
+ +

+ + @SharedLocalizer["Server Information"] +

-
- - - - - - +
+
- - @SharedLocalizer["Server Information"] -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@SharedLocalizer["System"]@Helper.TryGetFullOSVersion() @(Environment.Is64BitOperatingSystem ? "(64-bit)" : "(32-bit)")
@SharedLocalizer["Directory"]@Environment.CurrentDirectory
@SharedLocalizer["Machine Name"]@Environment.MachineName
@SharedLocalizer["User Name"]@Environment.UserDomainName\@Environment.UserName
@SharedLocalizer[".NET Version"]@Environment.Version
@SharedLocalizer["Worker Process"][@process.Id] @process.ProcessName @(Environment.Is64BitProcess ? "(64-bit)" : "(32-bit)")
@SharedLocalizer["Start Time"]@process.StartTime.ToUniversalTime() (UTC)
@SharedLocalizer["Memory"]@(process.WorkingSet64 / 1024 / 1024) MB
@SharedLocalizer["Docker Container"]@(Environment.GetEnvironmentVariable("DOTNET_RUNNING_IN_CONTAINER") == "true")
@SharedLocalizer["System"]@Helper.TryGetFullOSVersion() @(Environment.Is64BitOperatingSystem ? "(64-bit)" : "(32-bit)")
@SharedLocalizer["Directory"]@Environment.CurrentDirectory
@SharedLocalizer["Machine Name"]@Environment.MachineName
@SharedLocalizer["User Name"]@Environment.UserDomainName\@Environment.UserName
@SharedLocalizer[".NET Version"]@Environment.Version
@SharedLocalizer["Worker Process"][@process.Id] @process.ProcessName @(Environment.Is64BitProcess ? "(64-bit)" : "(32-bit)")
@SharedLocalizer["Start Time"]@process.StartTime.ToUniversalTime() (UTC)
@SharedLocalizer["Memory"]@(process.WorkingSet64 / 1024 / 1024) MB
@SharedLocalizer["Docker Container"]@(Environment.GetEnvironmentVariable("DOTNET_RUNNING_IN_CONTAINER") == "true")
- + Report an issue diff --git a/src/Moonglade.Web/Pages/Admin/_DiagnosisHeader.cshtml b/src/Moonglade.Web/Pages/Admin/_DiagnosisHeader.cshtml deleted file mode 100644 index 8392097d9..000000000 --- a/src/Moonglade.Web/Pages/Admin/_DiagnosisHeader.cshtml +++ /dev/null @@ -1,11 +0,0 @@ -@{ - var currentPage = ViewContext.RouteData.Values["page"]?.ToString(); -} - - \ No newline at end of file diff --git a/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml b/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml index 01070147a..97f7be2e5 100644 --- a/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml +++ b/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml @@ -129,8 +129,12 @@
-
- @RenderBody() +
+ @await RenderSectionAsync("admin-toolbar", false) + +
+ @RenderBody() +
diff --git a/src/Moonglade.Web/wwwroot/css/admin.css b/src/Moonglade.Web/wwwroot/css/admin.css index 812e9cf55..ce0840426 100644 --- a/src/Moonglade.Web/wwwroot/css/admin.css +++ b/src/Moonglade.Web/wwwroot/css/admin.css @@ -333,4 +333,8 @@ table.dataTable { .tox-promotion { display: none !important; +} + +.admin-h3 { + font-size: 20px; } \ No newline at end of file From cf004b47c0df4f1df52bc1ecae5e3133faef8847 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 11:50:53 +0800 Subject: [PATCH 03/26] new settings header design --- src/Moonglade.Web/Pages/Settings/Advanced.cshtml | 5 ++++- src/Moonglade.Web/Pages/Settings/Content.cshtml | 4 ++++ src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml | 5 ++++- src/Moonglade.Web/Pages/Settings/General.cshtml | 4 +++- src/Moonglade.Web/Pages/Settings/Image.cshtml | 5 ++++- src/Moonglade.Web/Pages/Settings/Notification.cshtml | 6 +++++- src/Moonglade.Web/Pages/Settings/Subscription.cshtml | 5 ++++- src/Moonglade.Web/Pages/Settings/_SettingsHeader.cshtml | 4 ++-- src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml | 2 +- 9 files changed, 31 insertions(+), 9 deletions(-) diff --git a/src/Moonglade.Web/Pages/Settings/Advanced.cshtml b/src/Moonglade.Web/Pages/Settings/Advanced.cshtml index 88596c57b..b5064f3d0 100644 --- a/src/Moonglade.Web/Pages/Settings/Advanced.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Advanced.cshtml @@ -105,7 +105,10 @@ } - +@section admintoolbar{ + +} +
diff --git a/src/Moonglade.Web/Pages/Settings/Content.cshtml b/src/Moonglade.Web/Pages/Settings/Content.cshtml index 0df57547a..b774105db 100644 --- a/src/Moonglade.Web/Pages/Settings/Content.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Content.cshtml @@ -22,7 +22,11 @@ @{ var settings = BlogConfig.ContentSettings; } + +@section admintoolbar{ +} +
diff --git a/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml b/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml index 43fc26a3b..bc4c34cb2 100644 --- a/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml +++ b/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml @@ -60,7 +60,10 @@ } - +@section admintoolbar{ + +} +
diff --git a/src/Moonglade.Web/Pages/Settings/General.cshtml b/src/Moonglade.Web/Pages/Settings/General.cshtml index 728bff114..4424ea862 100644 --- a/src/Moonglade.Web/Pages/Settings/General.cshtml +++ b/src/Moonglade.Web/Pages/Settings/General.cshtml @@ -88,7 +88,9 @@ } - +@section admintoolbar{ + +}
diff --git a/src/Moonglade.Web/Pages/Settings/Image.cshtml b/src/Moonglade.Web/Pages/Settings/Image.cshtml index 0bbeb9449..4af9362a5 100644 --- a/src/Moonglade.Web/Pages/Settings/Image.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Image.cshtml @@ -11,7 +11,10 @@ var settings = BlogConfig.ImageSettings; } - +@section admintoolbar{ + +} +
diff --git a/src/Moonglade.Web/Pages/Settings/Notification.cshtml b/src/Moonglade.Web/Pages/Settings/Notification.cshtml index 67509de64..0489bac3f 100644 --- a/src/Moonglade.Web/Pages/Settings/Notification.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Notification.cshtml @@ -26,7 +26,11 @@ @{ var settings = BlogConfig.NotificationSettings; } - + +@section admintoolbar{ + +} +
diff --git a/src/Moonglade.Web/Pages/Settings/Subscription.cshtml b/src/Moonglade.Web/Pages/Settings/Subscription.cshtml index f9846a6a7..ca79d3e42 100644 --- a/src/Moonglade.Web/Pages/Settings/Subscription.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Subscription.cshtml @@ -11,7 +11,10 @@ var settings = BlogConfig.FeedSettings; } - +@section admintoolbar{ + +} +
diff --git a/src/Moonglade.Web/Pages/Settings/_SettingsHeader.cshtml b/src/Moonglade.Web/Pages/Settings/_SettingsHeader.cshtml index 2fd00bed0..ba7999249 100644 --- a/src/Moonglade.Web/Pages/Settings/_SettingsHeader.cshtml +++ b/src/Moonglade.Web/Pages/Settings/_SettingsHeader.cshtml @@ -2,7 +2,7 @@ var currentPage = ViewContext.RouteData.Values["Page"]?.ToString(); } -
+ \ No newline at end of file +
diff --git a/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml b/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml index 97f7be2e5..397556850 100644 --- a/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml +++ b/src/Moonglade.Web/Pages/Shared/_LayoutAdmin.cshtml @@ -130,7 +130,7 @@
- @await RenderSectionAsync("admin-toolbar", false) + @await RenderSectionAsync("admintoolbar", false)
@RenderBody() From 6dfe81ca16ee27d0b576f6ac69444754cc2e9d16 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:20:11 +0800 Subject: [PATCH 04/26] Update General.cshtml --- .../Pages/Settings/General.cshtml | 821 +++++++++--------- 1 file changed, 411 insertions(+), 410 deletions(-) diff --git a/src/Moonglade.Web/Pages/Settings/General.cshtml b/src/Moonglade.Web/Pages/Settings/General.cshtml index 4424ea862..ce8837c95 100644 --- a/src/Moonglade.Web/Pages/Settings/General.cshtml +++ b/src/Moonglade.Web/Pages/Settings/General.cshtml @@ -5,36 +5,36 @@ @inject IMediator Mediator @{ - var tzList = ZoneResolver.ListTimeZones().Select(t => new SelectListItem - { - Text = t.DisplayName, - Value = t.Id - }); - - var themes = await Mediator.Send(new GetAllThemeSegmentQuery()); - var tmList = themes - .Select(t => new SelectListItem - { - Text = t.Name, - Value = t.Id.ToString() - }); - - - var cultureItems = LocOptions.Value.SupportedUICultures - .Select(c => new { Value = c.Name, c.NativeName }); - - var langList = cultureItems - .Select(t => new SelectListItem - { - Text = t.NativeName, - Value = t.Value.ToLower() - }); + var tzList = ZoneResolver.ListTimeZones().Select(t => new SelectListItem + { + Text = t.DisplayName, + Value = t.Id + }); + + var themes = await Mediator.Send(new GetAllThemeSegmentQuery()); + var tmList = themes + .Select(t => new SelectListItem + { + Text = t.Name, + Value = t.Id.ToString() + }); + + + var cultureItems = LocOptions.Value.SupportedUICultures + .Select(c => new { Value = c.Name, c.NativeName }); + + var langList = cultureItems + .Select(t => new SelectListItem + { + Text = t.NativeName, + Value = t.Value.ToLower() + }); } @section scripts{ - - - + + @@ -15,34 +15,36 @@ } -
+
-
+
-
-
- -
-
- -
@SharedLocalizer["The number of entries to include in RSS feed."]
-
-
- +
+
+
+ +
+
+ +
@SharedLocalizer["The number of entries to include in RSS feed."]
+
+
+ +
-
-
-
- -
-
- -
-
-
- - +
+
+ +
+
+ +
+
+
+ + +
From 94f00ac36680982767e0681a29e35fbaefd52f14 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:27:20 +0800 Subject: [PATCH 08/26] Update CustomStyleSheet.cshtml --- src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml b/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml index bc4c34cb2..e6811b2fc 100644 --- a/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml +++ b/src/Moonglade.Web/Pages/Settings/CustomStyleSheet.cshtml @@ -64,15 +64,15 @@ } -
+
-
+
-
+
From 2bd016dcd11f37cbeaac8d1affeeaabc6c368164 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:29:38 +0800 Subject: [PATCH 09/26] Update General.cshtml --- src/Moonglade.Web/Pages/Settings/General.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Moonglade.Web/Pages/Settings/General.cshtml b/src/Moonglade.Web/Pages/Settings/General.cshtml index ce8837c95..9431958fa 100644 --- a/src/Moonglade.Web/Pages/Settings/General.cshtml +++ b/src/Moonglade.Web/Pages/Settings/General.cshtml @@ -94,7 +94,7 @@
-
+
@SharedLocalizer["Blog Identity"]
From cbc72b4763ccec48274f9dd824791eddebd5c630 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:29:40 +0800 Subject: [PATCH 10/26] Update Notification.cshtml --- .../Pages/Settings/Notification.cshtml | 144 +++++++++--------- 1 file changed, 74 insertions(+), 70 deletions(-) diff --git a/src/Moonglade.Web/Pages/Settings/Notification.cshtml b/src/Moonglade.Web/Pages/Settings/Notification.cshtml index 0489bac3f..898470387 100644 --- a/src/Moonglade.Web/Pages/Settings/Notification.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Notification.cshtml @@ -31,95 +31,99 @@ } -
+
-
@SharedLocalizer["Email Options"]
+
+
@SharedLocalizer["Email Options"]
-
-
- -
-
- -
Please follow instructions here to setup email API.
-
-
- +
+
+ +
+
+ +
Please follow instructions here to setup email API.
+
+
+ +
-
-
-
- -
-
- -
-
- +
+
+ +
+
+ +
+
+ +
-
-
-
- -
-
- @SharedLocalizer["Send Test Email"] -
-
- - Send - +
+
+ +
+
+ @SharedLocalizer["Send Test Email"] +
+
-
@SharedLocalizer["Notification Options"]
+
+
@SharedLocalizer["Notification Options"]
-
-
- -
-
- -
-
-
- - +
+
+ +
+
+ +
+
+
+ + +
-
-
-
- -
-
- -
-
-
- - +
+
+ +
+
+ +
+
+
+ + +
-
-
-
- -
-
- -
-
-
- - +
+
+ +
+
+ +
+
+
+ + +
From 2dfe7271a9b68a473f82ce7f77b7c4b5e350ef50 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:32:18 +0800 Subject: [PATCH 11/26] Update Advanced.cshtml --- .../Pages/Settings/Advanced.cshtml | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/Moonglade.Web/Pages/Settings/Advanced.cshtml b/src/Moonglade.Web/Pages/Settings/Advanced.cshtml index b5064f3d0..1a1627439 100644 --- a/src/Moonglade.Web/Pages/Settings/Advanced.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Advanced.cshtml @@ -93,7 +93,7 @@ }); }); - window.generateMetaWeblogPassword = function() { + window.generateMetaWeblogPassword = function () { callApi('/api/settings/password/generate', 'GET', {}, async (resp) => { var data = await resp.json(); $('#settings_MetaWeblogPassword').val(data.password); @@ -106,14 +106,14 @@ } @section admintoolbar{ - + } -
+
-
+
-
+
@SharedLocalizer["Advanced Settings"]
@@ -160,7 +160,7 @@
- +
@@ -176,7 +176,7 @@
- +
@@ -192,7 +192,7 @@
-
+
@@ -206,15 +206,16 @@
- -
+
+
+
@Html.DisplayNameFor(m => settings.RobotsTxtContent)
-
+
MetaWeblog
@@ -255,7 +256,7 @@
-
+
@SharedLocalizer["Options"]
From 23eed137da248adc9af04707aadf9395eb39edd9 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:34:32 +0800 Subject: [PATCH 12/26] Update Category.cshtml --- src/Moonglade.Web/Pages/Admin/Category.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Moonglade.Web/Pages/Admin/Category.cshtml b/src/Moonglade.Web/Pages/Admin/Category.cshtml index 0f9ef093e..19b46727e 100644 --- a/src/Moonglade.Web/Pages/Admin/Category.cshtml +++ b/src/Moonglade.Web/Pages/Admin/Category.cshtml @@ -76,7 +76,7 @@ } -
+
@SharedLocalizer["New"] @@ -90,7 +90,7 @@ @Html.AntiForgeryToken() -
+
@foreach (var cat in Model.Categories.OrderBy(m => m.DisplayName)) {
From d86562fc6d3d774d90a55b040d70104e3874d642 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:35:10 +0800 Subject: [PATCH 13/26] Update BlogPage.cshtml --- src/Moonglade.Web/Pages/Admin/BlogPage.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml b/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml index 086bade32..ab415df62 100644 --- a/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml +++ b/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml @@ -25,7 +25,7 @@ } -
+
@SharedLocalizer["New"] @@ -39,7 +39,7 @@ @if (pageSegments.Any()) { -
+
@Html.AntiForgeryToken()
From 9feccd1ccc63cfd4a8eac1c3d07d57482e91cdbf Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:38:38 +0800 Subject: [PATCH 14/26] add section --- src/Moonglade.Web/Pages/Admin/BlogPage.cshtml | 24 ++++++++++--------- src/Moonglade.Web/Pages/Admin/Category.cshtml | 24 ++++++++++--------- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml b/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml index ab415df62..27e7a9d58 100644 --- a/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml +++ b/src/Moonglade.Web/Pages/Admin/BlogPage.cshtml @@ -25,17 +25,19 @@ } - +@section admintoolbar{ + +} @if (pageSegments.Any()) { diff --git a/src/Moonglade.Web/Pages/Admin/Category.cshtml b/src/Moonglade.Web/Pages/Admin/Category.cshtml index 19b46727e..1af1a9828 100644 --- a/src/Moonglade.Web/Pages/Admin/Category.cshtml +++ b/src/Moonglade.Web/Pages/Admin/Category.cshtml @@ -76,17 +76,19 @@ } - +@section admintoolbar{ + +} @Html.AntiForgeryToken() From 79ef656f4a9a16674cffe3da6b213aa95f65c962 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 4 Sep 2023 12:39:50 +0800 Subject: [PATCH 15/26] new post admin header --- src/Moonglade.Web/Pages/Admin/Draft.cshtml | 4 ++- src/Moonglade.Web/Pages/Admin/Post.cshtml | 25 +++++++++++-------- .../Pages/Admin/RecycleBin.cshtml | 5 +++- .../Pages/Admin/_PostManageHeader.cshtml | 2 +- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/src/Moonglade.Web/Pages/Admin/Draft.cshtml b/src/Moonglade.Web/Pages/Admin/Draft.cshtml index 6cd2d3ab9..5870019fd 100644 --- a/src/Moonglade.Web/Pages/Admin/Draft.cshtml +++ b/src/Moonglade.Web/Pages/Admin/Draft.cshtml @@ -31,7 +31,9 @@ } - +@section admintoolbar{ + +}
@if (posts.Any()) diff --git a/src/Moonglade.Web/Pages/Admin/Post.cshtml b/src/Moonglade.Web/Pages/Admin/Post.cshtml index 09b177548..c42b6ea4f 100644 --- a/src/Moonglade.Web/Pages/Admin/Post.cshtml +++ b/src/Moonglade.Web/Pages/Admin/Post.cshtml @@ -9,14 +9,14 @@ } - +@section admintoolbar{ + +} + @Html.AntiForgeryToken()
@@ -42,7 +45,7 @@ @if (Model.PostSegments.Count == 0) { - + } else { @@ -79,16 +82,16 @@
-
+
} @Html.PagedListPager(Model.PostSegments, page => $"?pageIndex={page}&searchTerm={Model.SearchTerm}", new () - { - LiElementClasses = new[] {"page-item"}, - PageClasses = new[] {"page-link"}, - UlElementClasses = new[] {"pagination justify-content-end"}, - DisplayEllipsesWhenNotShowingAllPageNumbers = false - }) + { + LiElementClasses = new[] {"page-item"}, + PageClasses = new[] {"page-link"}, + UlElementClasses = new[] {"pagination justify-content-end"}, + DisplayEllipsesWhenNotShowingAllPageNumbers = false + }) }
\ No newline at end of file diff --git a/src/Moonglade.Web/Pages/Admin/RecycleBin.cshtml b/src/Moonglade.Web/Pages/Admin/RecycleBin.cshtml index 21973b584..23ae6ceff 100644 --- a/src/Moonglade.Web/Pages/Admin/RecycleBin.cshtml +++ b/src/Moonglade.Web/Pages/Admin/RecycleBin.cshtml @@ -52,7 +52,10 @@ } @Html.AntiForgeryToken() - + +@section admintoolbar{ + +}
diff --git a/src/Moonglade.Web/Pages/Admin/_PostManageHeader.cshtml b/src/Moonglade.Web/Pages/Admin/_PostManageHeader.cshtml index cd128edca..604b472bf 100644 --- a/src/Moonglade.Web/Pages/Admin/_PostManageHeader.cshtml +++ b/src/Moonglade.Web/Pages/Admin/_PostManageHeader.cshtml @@ -2,7 +2,7 @@ var currentPage = ViewContext.RouteData.Values["Page"]?.ToString(); } -
+