diff --git a/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Admin.cs b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Admin.cs index 618d0b55..88a84d5d 100644 --- a/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Admin.cs +++ b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Admin.cs @@ -12,6 +12,7 @@ public static partial class WebRoutes { public const string MANAGE_ROLES = "{culture}/admin/manage-roles"; public const string MANAGE_PERMISSIONS = "{culture}/admin/manage-permissions"; + public const string MANAGE_THEMES = "{culture}/admin/manage-themes"; public const string GET_PERMISSIONS_BY_ROLE_ID = "{culture}/admin/api-get-permissions-by-role-id/{roleId}"; public const string GET_PERMISSIONS_BY_USER_ID = "{culture}/admin/api-get-permissions-by-user-id/{userId}"; public const string GET_ROLE_BY_USER_ID = "{culture}/admin/api-get-role-by-user-id/{userId}"; diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Themes/ThemesIndexViewEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Themes/ThemesIndexViewEndpoint.cs new file mode 100644 index 00000000..32679465 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Themes/ThemesIndexViewEndpoint.cs @@ -0,0 +1,63 @@ +#region ========================================================================= USING ===================================================================================== +using FastEndpoints; +using Lumina.Presentation.Web.Common.Authorization; +using Lumina.Presentation.Web.Common.DTO.Themes; +using Lumina.Presentation.Web.Common.Routes; +using Lumina.Presentation.Web.Core.Endpoints.Common; +using Lumina.Presentation.Web.Core.Themes; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +#endregion + +namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Themes; + +/// +/// API endpoint for the /{culture}/admin/manage-themes route. +/// +public class ThemesIndexViewEndpoint : BaseEndpoint +{ + private readonly ThemeService _themeService; + + /// + /// Initializes a new instance of the class. + /// + /// Injected service for the theme operations of the remote API. + public ThemesIndexViewEndpoint(ThemeService themeService) + { + _themeService = themeService; + } + + /// + /// Configures the endpoint. + /// + public override void Configure() + { + base.Configure(); + Verbs(Http.GET); + Routes(WebRoutes.Admin.MANAGE_THEMES); + DontAutoTag(); + Options(options => options.WithTags("Admin")); + Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE); + } + + /// + /// Displays the themes management view. + /// + /// The request object. + /// Cancellation token that can be used to stop the execution. + public override async Task ExecuteAsync(EmptyRequest request, CancellationToken cancellationToken) + { + IReadOnlyList themes = await _themeService.GetThemesAsync(cancellationToken).ConfigureAwait(false); + ThemeInfoDto currentTheme = await _themeService.GetCurrentThemeAsync(cancellationToken).ConfigureAwait(false); + + Dictionary viewData = new() + { + ["themes"] = themes, + ["currentThemeId"] = currentTheme.Id + }; + return View("/Core/Views/Admin/Themes.cshtml", viewData: viewData); + } +} diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.de-DE.resx new file mode 100644 index 00000000..516665ea --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.de-DE.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Themen + + + Es sind keine Themen installiert. + + + Name + + + Version + + + Autor + + + Aktionen + + + Aktivieren + + + Löschen + + + Herunterladen + + + Hochladen + + + Das Themenarchiv konnte nicht hochgeladen werden. + + + Möchten Sie das angegebene Thema wirklich löschen? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.en-US.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.en-US.resx new file mode 100644 index 00000000..991cc6c5 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.en-US.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Themes + + + No themes are installed. + + + Name + + + Version + + + Author + + + Actions + + + Activate + + + Delete + + + Download + + + Upload + + + The theme archive could not be uploaded. + + + Are you sure you want to delete the specified theme? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.es-ES.resx new file mode 100644 index 00000000..02b45645 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.es-ES.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Temas + + + No hay temas instalados. + + + Nombre + + + Versión + + + Autor + + + Acciones + + + Activar + + + Eliminar + + + Descargar + + + Subir + + + No se pudo subir el archivo del tema. + + + ¿Está seguro de que desea eliminar el tema especificado? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.fr-FR.resx new file mode 100644 index 00000000..88542f72 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.fr-FR.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Thèmes + + + Aucun thème installé. + + + Nom + + + Version + + + Auteur + + + Actions + + + Activer + + + Supprimer + + + Télécharger + + + Téléverser + + + Impossible de téléverser l'archive du thème. + + + Voulez-vous vraiment supprimer le thème spécifié ? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.it-IT.resx new file mode 100644 index 00000000..e06fdb86 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.it-IT.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Temi + + + Nessun tema installato. + + + Nome + + + Versione + + + Autore + + + Azioni + + + Attiva + + + Elimina + + + Scarica + + + Carica + + + Impossibile caricare l'archivio del tema. + + + Sei sicuro di voler eliminare il tema specificato? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ja-JP.resx new file mode 100644 index 00000000..fa0b889f --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ja-JP.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + テーマ + + + インストールされたテーマがありません。 + + + 名前 + + + バージョン + + + 作者 + + + 操作 + + + 有効化 + + + 削除 + + + ダウンロード + + + アップロード + + + テーマアーカイブをアップロードできませんでした。 + + + 指定されたテーマを削除しますか? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.resx new file mode 100644 index 00000000..991cc6c5 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Themes + + + No themes are installed. + + + Name + + + Version + + + Author + + + Actions + + + Activate + + + Delete + + + Download + + + Upload + + + The theme archive could not be uploaded. + + + Are you sure you want to delete the specified theme? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ro-RO.resx new file mode 100644 index 00000000..6b43770f --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ro-RO.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Teme + + + Nu sunt instalate teme. + + + Nume + + + Versiune + + + Autor + + + Acțiuni + + + Activează + + + Șterge + + + Descarcă + + + Încarcă + + + Arhiva temei nu a putut fi încărcată. + + + Sigur doriți să ștergeți tema specificată? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ru-RU.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ru-RU.resx new file mode 100644 index 00000000..a4efd826 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.ru-RU.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Темы + + + Не установлено ни одной темы. + + + Имя + + + Версия + + + Автор + + + Действия + + + Активировать + + + Удалить + + + Скачать + + + Загрузить + + + Не удалось загрузить архив темы. + + + Вы уверены, что хотите удалить указанную тему? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.zh-CN.resx new file mode 100644 index 00000000..1dd9fb48 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Themes.zh-CN.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 主题 + + + 未安装主题。 + + + 名称 + + + 版本 + + + 作者 + + + 操作 + + + 激活 + + + 删除 + + + 下载 + + + 上传 + + + 无法上传主题文件。 + + + 确定要删除指定的主题吗? + + \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.de-DE.resx index 03c1b8ff..f3ebdbb9 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.de-DE.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.de-DE.resx @@ -192,6 +192,9 @@ Berechtigungen verwalten + + Themen + Werkzeuge diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.en-US.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.en-US.resx index 97405612..b5fe9ac8 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.en-US.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.en-US.resx @@ -192,6 +192,9 @@ Manage permissions + + Themes + Tools diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.es-ES.resx index f4a8dc79..3f9f977d 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.es-ES.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.es-ES.resx @@ -192,6 +192,9 @@ Administrar permisos + + Temas + Herramientas diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.fr-FR.resx index 7b2508f7..0435e966 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.fr-FR.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.fr-FR.resx @@ -192,6 +192,9 @@ Gérer les permissions + + Thèmes + Outils diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.it-IT.resx index da66d075..17e96520 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.it-IT.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.it-IT.resx @@ -192,6 +192,9 @@ Gestire i permessi + + Temi + Strumenti diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ja-JP.resx index aa2febca..3c981f56 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ja-JP.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ja-JP.resx @@ -192,6 +192,9 @@ 権限を管理する + + テーマ + ツール diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.resx index 97405612..b5fe9ac8 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.resx @@ -192,6 +192,9 @@ Manage permissions + + Themes + Tools diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ro-RO.resx index 37ac6ac7..1a2524c1 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ro-RO.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ro-RO.resx @@ -192,6 +192,9 @@ Gestionare permisiuni + + Teme + Unelte diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ru-RU.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ru-RU.resx index 07c3cce4..016fd3d8 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ru-RU.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ru-RU.resx @@ -192,6 +192,9 @@ Управление разрешениями + + Темы + Инструменты diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.zh-CN.resx index f9ca0bee..93af2571 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.zh-CN.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.zh-CN.resx @@ -192,6 +192,9 @@ 管理权限 + + 主题 + 工具 diff --git a/src/Lumina.Presentation.Web/Core/Themes/ThemeNavBuilder.cs b/src/Lumina.Presentation.Web/Core/Themes/ThemeNavBuilder.cs index eed43d75..22df9021 100644 --- a/src/Lumina.Presentation.Web/Core/Themes/ThemeNavBuilder.cs +++ b/src/Lumina.Presentation.Web/Core/Themes/ThemeNavBuilder.cs @@ -133,7 +133,8 @@ public sealed class ThemeNavBuilder [ new ThemeNavEntryDto(Localize("ManageRoles"), _urlService.GetAbsoluteUrl(WebRoutes.Admin.MANAGE_ROLES), "nav-link", []), new ThemeNavEntryDto(Localize("ManagePermissions"), _urlService.GetAbsoluteUrl(WebRoutes.Admin.MANAGE_PERMISSIONS), "nav-link", []), - new ThemeNavEntryDto(Localize("Plugins"), _urlService.GetAbsoluteUrl(WebRoutes.Plugins.INDEX), "nav-link", []) + new ThemeNavEntryDto(Localize("Plugins"), _urlService.GetAbsoluteUrl(WebRoutes.Plugins.INDEX), "nav-link", []), + new ThemeNavEntryDto(Localize("Themes"), _urlService.GetAbsoluteUrl(WebRoutes.Admin.MANAGE_THEMES), "nav-link", []) ]); } diff --git a/src/Lumina.Presentation.Web/Core/Views/Admin/Themes.cshtml b/src/Lumina.Presentation.Web/Core/Views/Admin/Themes.cshtml new file mode 100644 index 00000000..f8f7b834 --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Views/Admin/Themes.cshtml @@ -0,0 +1,166 @@ +@* +/admin/manage-themes/ +*@ + +@using Lumina.Presentation.Web.Common.DTO.Themes +@using Lumina.Presentation.Web.Common.Services +@using Microsoft.AspNetCore.Mvc.Localization + +@{ + var themes = ViewData["themes"] as IReadOnlyList; + var currentThemeId = ViewData["currentThemeId"] as string; + // generate a unique id for the scripts section of this view, so it can be dynamically loaded/unloaded by the global AJAX navigator handler + var scriptId = ScriptIdentifierHelper.GenerateScriptId(); + int bundledThemeCount = 0; + if (themes is not null) + foreach (ThemeInfoDto theme in themes) + if (theme.IsBundled) + bundledThemeCount++; +} + +@inject IViewLocalizer _localizer +@inject IUrlService _urlService + +@Html.AntiForgeryToken() + + + + + + + @_localizer["Themes"] + + + @_localizer["Upload"] + + + + @if (themes is null || themes.Count == 0) + { + @_localizer["NoThemes"] + } + else + { + + + + @_localizer["Name"] + @_localizer["Version"] + @_localizer["Author"] + @_localizer["Actions"] + + + + @foreach (ThemeInfoDto theme in themes) + { + bool isCurrent = theme.Id == currentThemeId; + bool isLastRemaining = themes.Count <= 1 || (theme.IsBundled && bundledThemeCount == 1); + + @theme.Name + @theme.Version + @theme.Author + + @_localizer["Activate"] + @_localizer["Download"] + @_localizer["Delete"] + + + } + + + } + + + + +@section Scripts { + +} diff --git a/src/Lumina.Presentation.Web/Core/Views/Shared/_NavMenu.cshtml b/src/Lumina.Presentation.Web/Core/Views/Shared/_NavMenu.cshtml index cd8b1705..9ffa41fd 100644 --- a/src/Lumina.Presentation.Web/Core/Views/Shared/_NavMenu.cshtml +++ b/src/Lumina.Presentation.Web/Core/Views/Shared/_NavMenu.cshtml @@ -52,6 +52,7 @@ @_localizer["ManageRoles"] @_localizer["ManagePermissions"] @_localizer["Plugins"] + @_localizer["Themes"] } @@ -157,6 +158,7 @@ @_localizer["ManageRoles"] @_localizer["ManagePermissions"] @_localizer["Plugins"] + @_localizer["Themes"] }
@_localizer["NoThemes"]