From ce86cff81803de886b18acab6484bf8df92e6050 Mon Sep 17 00:00:00 2001 From: damon Date: Tue, 16 Jan 2024 18:56:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=8F=91=E5=B8=83=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E9=85=8D=E7=BD=AE=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Starfish.Webapp/Layout/MainLayout.razor | 12 +- Source/Starfish.Webapp/Pages/Apps/Index.razor | 18 +- .../Pages/Logging/Detail.razor | 5 + .../Starfish.Webapp/Pages/Logging/Index.razor | 4 +- .../Starfish.Webapp/Pages/Setting/Edit.razor | 137 +++++++++ .../Pages/Setting/EditDialogArgs.cs | 16 ++ .../Pages/Setting/EditValue.razor | 81 ++++++ .../Starfish.Webapp/Pages/Setting/Index.razor | 261 +++++++++++++++++- .../Pages/Setting/Publish.razor | 75 +++++ .../Pages/Setting/SyncRedis.razor | 123 +++++++++ .../Starfish.Webapp/Pages/Team/Detail.razor | 2 +- Source/Starfish.Webapp/Pages/Team/Index.razor | 16 +- Source/Starfish.Webapp/Pages/User/Index.razor | 4 +- Source/Starfish.Webapp/wwwroot/css/app.css | 10 +- 14 files changed, 733 insertions(+), 31 deletions(-) create mode 100644 Source/Starfish.Webapp/Pages/Logging/Detail.razor create mode 100644 Source/Starfish.Webapp/Pages/Setting/Edit.razor create mode 100644 Source/Starfish.Webapp/Pages/Setting/EditDialogArgs.cs create mode 100644 Source/Starfish.Webapp/Pages/Setting/EditValue.razor create mode 100644 Source/Starfish.Webapp/Pages/Setting/Publish.razor create mode 100644 Source/Starfish.Webapp/Pages/Setting/SyncRedis.razor diff --git a/Source/Starfish.Webapp/Layout/MainLayout.razor b/Source/Starfish.Webapp/Layout/MainLayout.razor index 090f1f2..e3885e0 100644 --- a/Source/Starfish.Webapp/Layout/MainLayout.razor +++ b/Source/Starfish.Webapp/Layout/MainLayout.razor @@ -50,6 +50,10 @@ { } + else if(ex is HttpRequestException e && e.StatusCode == System.Net.HttpStatusCode.Unauthorized) + { + + } else {
@ex.Message
@@ -61,14 +65,10 @@
- - Nerosoft © 2024. All rights reserved. - + Nerosoft © @(DateTime.Today.Year). All rights reserved.
diff --git a/Source/Starfish.Webapp/Pages/Apps/Index.razor b/Source/Starfish.Webapp/Pages/Apps/Index.razor index b1b5baa..6d0395c 100644 --- a/Source/Starfish.Webapp/Pages/Apps/Index.razor +++ b/Source/Starfish.Webapp/Pages/Apps/Index.razor @@ -14,7 +14,7 @@ -
+