Activities of "ageiter"

Answer

Everything looks exactly the same for me.

But I found out that only the CSS files from the wwwroot are on the server. The ones under the folder "Themes" are not there.

When I set "Copy to Output Directory" to "Copy always", then they are exported. But according to your screenshot you didn't have to do that either... would you know what else it could be?

Answer

Thanks for the quick feedback.

Looks exactly the same as mine (just with difference top-menu).

But it probably only runs on your computer (via Visual Studio)? Then you will probably have the same problems with the deployment...

Unfortunately I get the following error message with my site on Azure: Refused to apply style from 'https://myproject.azurewebsites.net/Error?httpStatusCode=404' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Answer

Do you know how to integrate the CSS files in the folder Themes/LeptonX/Global/top-menu/css into the bundle?

It looks good on my machine, but when I deploy to Azure, the CSS files are missing.

Answer

Thanks for the feedback.

For me the name appears correctly when I am on the profile page (which is made with MVC). But on the normal application pages (Blazor) it looks like yours.

Answer

I finally got it working. Path must be like this: wwwroot/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/

Found out that the name is displayed correctly when you are on the profile page.

Answer

Unfortunately, the custom theme does not work for me yet. I copied the files "bootstrap-light.css" and "light.css" from the LeptonX theme and added them to the following two paths with new names: wwwroot\top-menu\css\bootstrap-custom.css wwwroot\top-menu\css\custom.css

Themes\LeptonX\Global\top-menu\css\bootstrap-custom.css Themes\LeptonX\Global\top-menu\css\custom.css

Are these paths wrong? @christophe.baille, can you take me again screenshots of the solution tree with you?

The name thing doesn't work for me either....

Hello,

Sorry for the late response

There is no way to override bootstrap colors with CSS variables right now. But this is in our roadmap.

Is there any way that I could replace the whole file? Then I can replace all colors in there with search + replace. If so, where can I find the source file?

Oh, sorry I missed that you're using Blazor-Server single project. So, you should make that MVC configuration in your Blazor.Server project module file.

Thanks, I should have figured it out myself... works!

The breadcrumb are unfortunately not displayed there. But it's not a problem for me at the moment.

Go to you .AtuhServer or .HttpApi.Host project and find Module class of that project.

  • Configure that project's layout in ConfigureServices method:
    Configure<LeptonXThemeMvcOptions>(options => 
    { 
        options.ApplicationLayout = LeptonXMvcLayouts.TopMenu; 
    }); 
    

I do not have these projects in the Blazor Server non-tiered solution. But I suppose I have to do this in the .HttpApi project.

In this case; Account & Security logs pages are on AuthServer project which is an different MVC project. You have to configure your AuthServer as TopMenu too.

How can I do that? Where do I have to configure this?

Showing 191 to 200 of 208 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13