GithubHelp home page GithubHelp logo

Possibility to customize MFA Portal about wag HOT 12 CLOSED

nhas avatar nhas commented on August 19, 2024
Possibility to customize MFA Portal

from wag.

Comments (12)

NHAS avatar NHAS commented on August 19, 2024 1

Im planning on wrapping this up into the 6.x.x release Im doing soon. Is allowing you to define your own CSS for it enough? Or would you like complete control (as thats a bit harder for me to make)

from wag.

NHAS avatar NHAS commented on August 19, 2024

How are you customising the template files?

At the moment I'm looking to not add new features for a while and make the design and feel of the various UI elements of wag more consistent. So I cant promise that this will be something Im going to do any time soon, or at all.

More context is always useful tho :)

from wag.

bluecraank avatar bluecraank commented on August 19, 2024

We have a specific design and would like to do the same with the MFA Portal. Therefore it would be great if you could specify in the config what the template files are to overwrite the HTML

from wag.

bluecraank avatar bluecraank commented on August 19, 2024

Hello,

i would prefer full control. You could create a template folder and check if there are any files for overwriting design, this should not be so hard to make

from wag.

NHAS avatar NHAS commented on August 19, 2024

Yep I have a method in mind. You can look forward to this in the next couple days all things going well

from wag.

NHAS avatar NHAS commented on August 19, 2024

I have added this in the latest pre-release. Please give it a shot and tell me if this suites, if it does I'll do a full release.

https://github.com/NHAS/wag/releases/tag/v6.1.2-pre-release

from wag.

bluecraank avatar bluecraank commented on August 19, 2024

How to use css and more?

from wag.

NHAS avatar NHAS commented on August 19, 2024

Please read the documentation.

from wag.

bluecraank avatar bluecraank commented on August 19, 2024

I did, at the moment u can not add javascript / css files to template folder. Using other sources for css/js is not allowed (style-src webserver restriction) So the only way is inline css?

from wag.

bluecraank avatar bluecraank commented on August 19, 2024

Oh even inline styles not working :(

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' fonts.googleapis.com". Either the 'unsafe-inline' keyword, a hash ('sha256-QK8bSv1dlnwrOBpQEtdh0AtJ1yALgA+MYljY7NkQMGU='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

from wag.

NHAS avatar NHAS commented on August 19, 2024

Yep that's how csps work.

I'll look at adding a css and js folders in the template directory.

from wag.

bluecraank avatar bluecraank commented on August 19, 2024

Yeah, i now building wag myself and added the style files into the static folder.

from wag.

Related Issues (20)

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.