lmccay opened a new pull request, #1180:
URL: https://github.com/apache/knox/pull/1180

   [KNOX-3283](https://issues.apache.org/jira/browse/KNOX-3283) - Login Page 
Branding and Themes Support
   
   ## What changes were proposed in this pull request?
   
   Let's introduce a mechanism that can be used for easier branding.
   By providing a Themes facility, we can allow admins to customize their 
deployment to have branded login pages, making it fit more seemlessly into 
their environment for their users.
   
   In this iteration, we will require a build to add a new theme but we can 
extend this later to have themes in the ext/ directory for extensions.
   
   For now, the default theme can be configured in a themes-config.js file as 
well as whether the theme is locked for the deployment. If the theme is not 
locked then a query param on the login page url "theme=modern|default" will 
allow you to select your theme.
   
   This can be extended later with a selection button on the page or dropdown.
   
   This change adds a themes directory stucture under styles within the 
knoxauth application.
   Within that directory are theme specific styling css, fonts, images, etc.
   
   There is a query param available to select which theme you would like and 
that will set it on local application storage in the browser to keep it on that 
theme. This is not surfaced as a UX element yet but may be later.
   
   The default theme and whether it can be changed may be configured as 
described above.
   
   ## How was this patch tested?
   
   Manual testing of the "default" and "modern" themes was done in Chrome on 
mac.
   
   
   ## UI changes
   Here is the default or classic login page:
   
   <img width="1122" height="1560" alt="image" 
src="https://github.com/user-attachments/assets/8e711c6c-7343-4f72-9685-465ea1251b2b";
 />
   
   and here is the new modern theme:
   
   <img width="1122" height="1560" alt="image" 
src="https://github.com/user-attachments/assets/d7cc979f-e754-4120-b448-f68fb1a9ea49";
 />
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to