Comments (12)
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.
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.
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.
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.
Yep I have a method in mind. You can look forward to this in the next couple days all things going well
from wag.
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.
How to use css and more?
from wag.
Please read the documentation.
from wag.
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.
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.
Yep that's how csps work.
I'll look at adding a css and js folders in the template directory.
from wag.
Yeah, i now building wag myself and added the style files into the static folder.
from wag.
Related Issues (20)
- [Bug] Locking/Resetting MFA not deauthorising device HOT 1
- [Bug] Resetting MFA doesnt change MFA HOT 1
- [Bug] Unable to logout 8.0.0-beta2
- [Bug] Event Errors should not be bytes
- [Bug] Failing to initalise one MFA method disables all other methods
- [Bug] OIDC reports "unsupported protocol"
- BGP for Route Distribution HOT 4
- Websocket liveness check
- Wag check fails to report error
- Oidc set user groups fails if user has no memebership
- External State Management HOT 4
- OIDC `preferred_username` HOT 8
- Re-open issue
- Issues over mobile hotspot HOT 2
- Access to the ManagementUI HOT 11
- Register device has error HOT 1
- Membership information missing for newly created user
- Upgrade Version Guide HOT 2
- Cannot connect to server ui or 8080 for config HOT 4
- Problems with Beta version HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wag.