Adminia - is a fully-featured, multi-purpose, and responsive Bootstrap 4 admin template that builds on top of the popular framework ASP.NET Core 3.1 MVC. It offers a clean codebase and detailed documentation which allow you to develop your web application faster and cost-effectively.
The tones of well-designed and developed layouts, components, elements, widgets, and application pages allow you to create any Saas-based application, custom admin panel, e-commerce panel, CMS, or dashboard application.
Once you have download the package and extract it, you can see Adminia_aspnetcore folder, which has all the code for Asp.net Core MVC template as below:
Folder & File structure overview for Adminia - ASP.NET Core 3.1 MVC.
In _ViewStart.cshtml we have set default layout as _LayoutAdminia.cshtml which is common for all our views, exclude login, regestration.
In _LayoutAdminia.cshtml
we have used partial views i.e _NavSidebar.cshtml
, _NavTopBar.cshtml
, _ThemeGlobalStyles.cshtml
, _ThemeGlobalScripts.cshtml
.
For Login, Registration, and error we use a different layout page i.e _LayoutAuth.cshtml
.light-theme
on body tag.
Adding Javascript files are divided into 2 sections. All global level script files are added in partial view _ThemeGlobalScripts.cshtml
, and for the page-level script we use @RenderSection("Scripts", required: false)
.
Adding CSS files are divided into 2 sections. All global level CSS files are added in partial view _ThemeGlobalStyles.cshtml
, and for page-level script we use @RenderSection("Styles", required: false)
.
Copyright © 2021 Codepedia.info