Skip to content

Create UCD themed login template #6 #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 18, 2025
Merged

Create UCD themed login template #6 #12

merged 6 commits into from
Jul 18, 2025

Conversation

UcDust
Copy link
Collaborator

@UcDust UcDust commented Jul 8, 2025

No description provided.

@UcDust UcDust self-assigned this Jul 8, 2025
@UcDust UcDust marked this pull request as draft July 8, 2025 16:01
@spelkey-ucd spelkey-ucd requested a review from Copilot July 17, 2025 14:55
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a UCD-branded login theme by adding theme settings, CSS, translations, and multiple FreeMarker templates to Keycloak.

  • Added a new ucd-theme with parent base configuration.
  • Created custom CSS for centered login/reset forms and styled headings/buttons.
  • Introduced translated messages and FTL templates for various login flows (sign-in, reset, OTP, errors, etc.).

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
themes/ucd-theme/login/theme.properties Defined parent theme and stylesheet for login theme
themes/ucd-theme/login/resources/css/ucd-login.css Added layout and style rules for login elements
themes/ucd-theme/login/messages/messages_en.properties Provided English translations for all UI text
themes/ucd-theme/login/login.ftl Main login page template with CAS and external flows
themes/ucd-theme/login/header.ftl Page wrapper <head> and stylesheet include
Comments suppressed due to low confidence (2)

themes/ucd-theme/login/login.ftl:32

  • Duplicate "name" attribute on the password input; remove the redundant one to avoid HTML validation errors.
          <input id="password" name="password" type="password" name="password" placeholder="Enter Password"/>

themes/ucd-theme/login/login-update-password.ftl:65

  • Extra closing tag leads to an unbalanced HTML structure; remove this redundant tag.
    </form>

@UcDust UcDust marked this pull request as ready for review July 17, 2025 21:27
@UcDust UcDust marked this pull request as draft July 17, 2025 21:32
@UcDust UcDust marked this pull request as ready for review July 17, 2025 21:36
@spelkey-ucd spelkey-ucd changed the base branch from main to sandbox July 18, 2025 15:33
@spelkey-ucd spelkey-ucd merged commit 1b56860 into sandbox Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants