[
https://issues.apache.org/jira/browse/KNOX-3283?focusedWorklogId=1010477&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1010477
]
ASF GitHub Bot logged work on KNOX-3283:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Mar/26 23:45
Start Date: 19/Mar/26 23:45
Worklog Time Spent: 10m
Work Description: 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"
/>
Issue Time Tracking
-------------------
Worklog Id: (was: 1010477)
Remaining Estimate: 0h
Time Spent: 10m
> Login Page Branding and Themes
> ------------------------------
>
> Key: KNOX-3283
> URL: https://issues.apache.org/jira/browse/KNOX-3283
> Project: Apache Knox
> Issue Type: Improvement
> Components: KnoxSSO
> Reporter: Larry McCay
> Assignee: Larry McCay
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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 message was sent by Atlassian Jira
(v8.20.10#820010)