Giter Club home page Giter Club logo

lsw.abp.aspnetcore.mvc.ui.theme.stisla's Introduction

Lsw.Abp.AspNetCore.Mvc.UI.Theme.Stisla

abp framework mvc ui theme package,It uses bootstrap, so it is compatible with abp tag helper.

NuGet NuGet

Getting Started

Create a new project using abp CLI

  • abp new BookStore

Install Lsw.Abp.AspNetCore.Mvc.UI.Theme.Stisla nuget package to .web project:

  • Install-Package Lsw.Abp.AspNetCore.Mvc.UI.Theme.Stisla

Open the module class of the .web project and change AbpAspNetCoreMvcUiBasicThemeModule to AbpAspNetCoreMvcUiStislaThemeModule

Replace BasicThemeBundles.Styles.Global with StislaThemeBundles.Styles.Global

All done. Run the project and enjoy coding.

More

Stisla Is a bootstrap-based admin template,see stisla document for more information.

lsw.abp.aspnetcore.mvc.ui.theme.stisla's People

Contributors

gdlcf88 avatar leen2175 avatar realliangshiwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lsw.abp.aspnetcore.mvc.ui.theme.stisla's Issues

Unfortunately not compatible with ABP v 4.3

Upon installing then running:

System.Reflection.ReflectionTypeLoadException
HResult=0x80131602
Message=Unable to load one or more of the requested types.
Could not load type 'Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleContributor' from assembly 'Volo.Abp.AspNetCore.Mvc.UI.Bundling, Version=4.3.0.0, Culture=neutral, PublicKeyToken=null'.
Could not load type 'Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleContributor' from assembly 'Volo.Abp.AspNetCore.Mvc.UI.Bundling, Version=4.3.0.0, Culture=neutral, PublicKeyToken=null'.
Source=System.Private.CoreLib
StackTrace:
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()

An unhandled exception has occurred while executing the request.

    [DependsOn(
        typeof(BookStoreHttpApiModule),
        typeof(BookStoreApplicationModule),
        typeof(BookStoreEntityFrameworkCoreDbMigrationsModule),
        typeof(AbpAutofacModule),
        typeof(AbpIdentityWebModule),
        typeof(AbpAccountWebIdentityServerModule),
        typeof(AbpAspNetCoreMvcUiStislaThemeModule),       
        // typeof(AbpAspNetCoreMvcUiBasicThemeModule),
        typeof(AbpAspNetCoreAuthenticationJwtBearerModule),
        typeof(AbpTenantManagementWebModule),
        typeof(AbpAspNetCoreSerilogModule)
        )]
    public class BookStoreWebModule : AbpModule

publish the project , and run the command in the powershell:

  dotnet .\Acme.BookStore.Web.dll

throwing an exception:

[09:43:13 ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.Minify.NUglify.NUglifyException: There are some errors on uglifying the given source code!
__bundles/Stisla.Global.C82104EA56ED2F79F6358CDB50B0BA77.css(2790,24): run-time error CSS1019: Unexpected token, found '}'
__bundles/Stisla.Global.C82104EA56ED2F79F6358CDB50B0BA77.css(2797,1): run-time error CSS1019: Unexpected token, found '@-webkit-keyframes'
__bundles/Stisla.Global.C82104EA56ED2F79F6358CDB50B0BA77.css(2798,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
   at Volo.Abp.Minify.NUglify.NUglifyMinifierBase.CheckErrors(UglifyResult result)
   at Volo.Abp.Minify.NUglify.NUglifyMinifierBase.Minify(String source, String fileName)
   at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.AddFileToBundle(IBundlerContext context, StringBuilder bundleContentBuilder, String fileName)

Using the original UI typeof(AbpAspNetCoreMvcUiBasicThemeModule), is no problem

Hide Dashboard Menu Item

Hi,
Thank you for this nice abp theme. Please how do I hide the Dashboard Menu Item and only show it when I log in? I am new to abp framework and struggling to do this.

Please help.

Regards,
George

RTL support

You're so good at what you do, But I wander if there's any plan to add more support to RTL languages and re-organize elements like side nav-bar and some ?

StandardBundles may need to be preserved.

image

I configure the global bundles in my own module, if Stisla does not use the global bundles, my custom configurations will be invalid.

https://github.com/liangshiw/Lsw.Abp.AspNetCore.Mvc.UI.Theme.Stisla/blob/bf9c0a2744f772321a72550dc0fd963b83529f87/src/AbpAspNetCoreMvcUIStislaThemeModule.cs#L53-L72

Maybe configure StandardBundles.Styles.Global and StandardBundles.Scripts.Global is a good way:

    public class StislaThemeGlobalScriptContributor : BundleContributor
    {
        public override void ConfigureBundle(BundleConfigurationContext context)
        {
            context.Files.Remove( ... );
            // Add more.
        }
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.