diff --git a/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Plugins.cs b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Plugins.cs
index 6008922e..7d054eaa 100644
--- a/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Plugins.cs
+++ b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Plugins.cs
@@ -10,9 +10,9 @@ public static partial class WebRoutes
///
public static class Plugins
{
- public const string INDEX = "{culture}/plugins";
- public const string GET_PLUGINS = "{culture}/plugins/api-get-plugins";
- public const string GET_PLUGIN_SETTINGS = "{culture}/plugins/api-get-plugin-settings/{pluginId}";
- public const string UPDATE_PLUGIN_SETTINGS = "{culture}/plugins/api-update-plugin-settings";
+ public const string INDEX = "{culture}/admin/manage-plugins";
+ public const string GET_PLUGINS = "{culture}/admin/manage-plugins/api-get-plugins";
+ public const string GET_PLUGIN_SETTINGS = "{culture}/admin/manage-plugins/api-get-plugin-settings/{pluginId}";
+ public const string UPDATE_PLUGIN_SETTINGS = "{culture}/admin/manage-plugins/api-update-plugin-settings";
}
}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPluginSettings/GetPluginSettingsEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPluginSettings/GetPluginSettingsEndpoint.cs
index 9d0be7f7..b0496a50 100644
--- a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPluginSettings/GetPluginSettingsEndpoint.cs
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPluginSettings/GetPluginSettingsEndpoint.cs
@@ -15,7 +15,7 @@ using System.Threading.Tasks;
namespace Lumina.Presentation.Web.Core.Endpoints.Plugins.GetPluginSettings;
///
-/// API endpoint for the /{culture}/plugins/api-get-plugin-settings/{pluginId} route.
+/// API endpoint for the /{culture}/admin/manage-plugins/api-get-plugin-settings/{pluginId} route.
///
public class GetPluginSettingsEndpoint : BaseEndpoint
{
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPlugins/GetPluginsEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPlugins/GetPluginsEndpoint.cs
index 56e66099..c8b4c386 100644
--- a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPlugins/GetPluginsEndpoint.cs
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/GetPlugins/GetPluginsEndpoint.cs
@@ -14,7 +14,7 @@ using System.Threading.Tasks;
namespace Lumina.Presentation.Web.Core.Endpoints.Plugins.GetPlugins;
///
-/// API endpoint for the /{culture}/plugins/api-get-plugins route.
+/// API endpoint for the /{culture}/admin/manage-plugins/api-get-plugins route.
///
public class GetPluginsEndpoint : BaseEndpoint
{
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/Index/PluginsIndexViewEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/Index/PluginsIndexViewEndpoint.cs
index b75707f4..63968658 100644
--- a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/Index/PluginsIndexViewEndpoint.cs
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/Index/PluginsIndexViewEndpoint.cs
@@ -16,7 +16,7 @@ using System.Threading.Tasks;
namespace Lumina.Presentation.Web.Core.Endpoints.Plugins.Index;
///
-/// API endpoint for the /{culture}/plugins route.
+/// API endpoint for the /{culture}/admin/manage-plugins route.
///
public class PluginsIndexViewEndpoint : BaseEndpoint
{
@@ -57,6 +57,6 @@ public class PluginsIndexViewEndpoint : BaseEndpoint
if (plugin.LoadStatus == Lumina.Presentation.Web.Common.Enums.Plugins.PluginLoadStatus.Loaded)
settingsByPluginId[plugin.Id] = await _apiHttpClient.GetAsync(ApiRoutes.Plugins.GET_PLUGIN_SETTINGS.Replace("{pluginId}", plugin.Id.ToString()), cancellationToken).ConfigureAwait(false);
Dictionary viewData = new() { ["pluginSettings"] = settingsByPluginId };
- return View("/Core/Views/Plugins/Index.cshtml", plugins, viewData);
+ return View("/Core/Views/Admin/Plugins.cshtml", plugins, viewData);
}
}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/UpdatePluginSettings/UpdatePluginSettingsEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/UpdatePluginSettings/UpdatePluginSettingsEndpoint.cs
index 0cd1aba1..3931a8ff 100644
--- a/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/UpdatePluginSettings/UpdatePluginSettingsEndpoint.cs
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Plugins/UpdatePluginSettings/UpdatePluginSettingsEndpoint.cs
@@ -14,7 +14,7 @@ using System.Threading.Tasks;
namespace Lumina.Presentation.Web.Core.Endpoints.Plugins.UpdatePluginSettings;
///
-/// API endpoint for the /{culture}/plugins/api-update-plugin-settings route.
+/// API endpoint for the /{culture}/admin/manage-plugins/api-update-plugin-settings route.
///
public class UpdatePluginSettingsEndpoint : BaseEndpoint
{
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.de-DE.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.de-DE.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.de-DE.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.en-US.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.en-US.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.en-US.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.en-US.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.es-ES.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.es-ES.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.es-ES.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.fr-FR.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.fr-FR.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.fr-FR.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.it-IT.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.it-IT.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.it-IT.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.ja-JP.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.ja-JP.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.ja-JP.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.ro-RO.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.ro-RO.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.ro-RO.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.ru-RU.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.ru-RU.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.ru-RU.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.ru-RU.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.zh-CN.resx
similarity index 100%
rename from src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.zh-CN.resx
rename to src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Plugins.zh-CN.resx
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.Designer.cs b/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.Designer.cs
deleted file mode 100644
index 03dfce55..00000000
--- a/src/Lumina.Presentation.Web/Core/Resources/Views/Plugins/Index.Designer.cs
+++ /dev/null
@@ -1,180 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace Lumina.Presentation.Web.Core.Resources.Views.Plugins {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- public class Index {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Index() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- public static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Lumina.Presentation.Web.Core.Resources.Views.Plugins.Index", typeof(Index).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- public static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
-
- ///
- /// Looks up a localized string similar to Author.
- ///
- public static string Author {
- get {
- return ResourceManager.GetString("Author", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Description.
- ///
- public static string Description {
- get {
- return ResourceManager.GetString("Description", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to load.
- ///
- public static string FailedToLoad {
- get {
- return ResourceManager.GetString("FailedToLoad", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Loaded.
- ///
- public static string Loaded {
- get {
- return ResourceManager.GetString("Loaded", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Load error.
- ///
- public static string LoadError {
- get {
- return ResourceManager.GetString("LoadError", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Load status.
- ///
- public static string LoadStatus {
- get {
- return ResourceManager.GetString("LoadStatus", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Name.
- ///
- public static string Name {
- get {
- return ResourceManager.GetString("Name", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No plugins have been detected..
- ///
- public static string NoPlugins {
- get {
- return ResourceManager.GetString("NoPlugins", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Plugins.
- ///
- public static string Plugins {
- get {
- return ResourceManager.GetString("Plugins", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Save.
- ///
- public static string Save {
- get {
- return ResourceManager.GetString("Save", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Settings.
- ///
- public static string Settings {
- get {
- return ResourceManager.GetString("Settings", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Settings saved.
- ///
- public static string SettingsSaved {
- get {
- return ResourceManager.GetString("SettingsSaved", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Version.
- ///
- public static string Version {
- get {
- return ResourceManager.GetString("Version", resourceCulture);
- }
- }
- }
-}
diff --git a/src/Lumina.Presentation.Web/Core/Views/Plugins/Index.cshtml b/src/Lumina.Presentation.Web/Core/Views/Admin/Plugins.cshtml
similarity index 99%
rename from src/Lumina.Presentation.Web/Core/Views/Plugins/Index.cshtml
rename to src/Lumina.Presentation.Web/Core/Views/Admin/Plugins.cshtml
index 734f9ff4..bc74f5d1 100644
--- a/src/Lumina.Presentation.Web/Core/Views/Plugins/Index.cshtml
+++ b/src/Lumina.Presentation.Web/Core/Views/Admin/Plugins.cshtml
@@ -1,5 +1,5 @@
@*
-/plugins
+/admin/manage-plugins
*@
@using Lumina.Presentation.Web.Common.DTO.Plugins
diff --git a/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj b/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj
index 34a7ce11..6b86fafb 100644
--- a/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj
+++ b/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj
@@ -35,6 +35,11 @@
+
+ True
+ True
+ Plugins.resx
+
True
True
@@ -60,11 +65,6 @@
True
Item.resx
-
- True
- True
- Index.resx
-
@@ -331,35 +331,35 @@
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
- Index.Designer.cs
+ Plugins.Designer.cs
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator
-
+
PublicResXFileCodeGenerator