diff --git a/Oqtane.Client/Modules/Controls/FileManager.razor b/Oqtane.Client/Modules/Controls/FileManager.razor index 35f04706..96196b06 100644 --- a/Oqtane.Client/Modules/Controls/FileManager.razor +++ b/Oqtane.Client/Modules/Controls/FileManager.razor @@ -98,9 +98,6 @@ private string _message = string.Empty; private string _image = string.Empty; private string _guid; - private int _folderId = -1; - private bool _uploadMultiple; - private int _fileId; [Parameter] public string Id { get; set; } // optional - for setting the id of the FileManager component for accessibility diff --git a/Oqtane.Client/Themes/ContainerBase.cs b/Oqtane.Client/Themes/ContainerBase.cs index d55b718f..af4ff355 100644 --- a/Oqtane.Client/Themes/ContainerBase.cs +++ b/Oqtane.Client/Themes/ContainerBase.cs @@ -17,7 +17,6 @@ namespace Oqtane.Themes [CascadingParameter] protected Module ModuleState { get; set; } - public virtual string Name { get; set; } public string ThemePath() { diff --git a/Oqtane.Client/Themes/IContainerControl.cs b/Oqtane.Client/Themes/IContainerControl.cs index e50f6859..a76959ff 100644 --- a/Oqtane.Client/Themes/IContainerControl.cs +++ b/Oqtane.Client/Themes/IContainerControl.cs @@ -2,6 +2,5 @@ { public interface IContainerControl { - string Name { get; } } } diff --git a/Oqtane.Client/Themes/OqtaneTheme/NoTitle.razor b/Oqtane.Client/Themes/OqtaneTheme/NoTitle.razor new file mode 100644 index 00000000..0d48bc64 --- /dev/null +++ b/Oqtane.Client/Themes/OqtaneTheme/NoTitle.razor @@ -0,0 +1,9 @@ +@namespace Oqtane.Themes.OqtaneTheme +@inherits ContainerBase +
Oqtane is an open source modular application framework built from the ground up using modern .NET Core technology. It leverages the revolutionary new Blazor component model to create a fully dynamic web development experience which can be executed on a client or server. Whether you are looking for a platform to accelerate your web development efforts, or simply interested in exploring the anatomy of a large-scale Blazor application, Oqtane provides a solid foundation based on proven enterprise architectural principles.
" + - "Join Our Community Clone Our Repo
" + + "Join Our Community Clone Our Repo
" + "Blazor is a single-page app framework that lets you build interactive web applications using C# instead of JavaScript. Client-side Blazor relies on WebAssembly, an open web standard that does not require plugins or code transpilation in order to run natively in a web browser. Server-side Blazor uses SignalR to host your application on a web server and provide a responsive and robust debugging experience. Blazor applications works in all modern web browsers, including mobile browsers.
" + "Blazor is a feature of ASP.NET Core 3, the popular cross platform web development framework from Microsoft that extends the .NET developer platform with tools and libraries for building web apps.
" }, @@ -132,16 +132,16 @@ namespace Oqtane.SiteTemplates } }); - if (System.IO.File.Exists(Path.Combine(_environment.WebRootPath, "images", "logo.png"))) + if (System.IO.File.Exists(Path.Combine(_environment.WebRootPath, "images", "logo-white.png"))) { string folderpath = Utilities.PathCombine(_environment.ContentRootPath, "Content", "Tenants", site.TenantId.ToString(), "Sites", site.SiteId.ToString(),"\\"); System.IO.Directory.CreateDirectory(folderpath); - if (!System.IO.File.Exists(Path.Combine(folderpath, "logo.png"))) + if (!System.IO.File.Exists(Path.Combine(folderpath, "logo-white.png"))) { - System.IO.File.Copy(Path.Combine(_environment.WebRootPath, "images", "logo.png"), Path.Combine(folderpath, "logo.png")); + System.IO.File.Copy(Path.Combine(_environment.WebRootPath, "images", "logo-white.png"), Path.Combine(folderpath, "logo-white.png")); } Folder folder = _folderRepository.GetFolder(site.SiteId, ""); - Oqtane.Models.File file = _fileRepository.AddFile(new Oqtane.Models.File { FolderId = folder.FolderId, Name = "logo.png", Extension = "png", Size = 8192, ImageHeight = 80, ImageWidth = 250 }); + Oqtane.Models.File file = _fileRepository.AddFile(new Oqtane.Models.File { FolderId = folder.FolderId, Name = "logo-white.png", Extension = "png", Size = 8192, ImageHeight = 80, ImageWidth = 250 }); site.LogoFileId = file.FileId; _siteRepository.UpdateSite(site); } diff --git a/Oqtane.Server/app_offline.bak b/Oqtane.Server/app_offline.bak index 94be8d84..d26d5e2b 100644 --- a/Oqtane.Server/app_offline.bak +++ b/Oqtane.Server/app_offline.bak @@ -10,7 +10,7 @@