From 898505b76a80734488edf09a3769b1ac42470072 Mon Sep 17 00:00:00 2001 From: Chance <139784371+UnicornChance@users.noreply.github.com> Date: Tue, 12 Mar 2024 10:21:11 -0600 Subject: [PATCH] chore: cleanup misc baby-yoda references (#28) --- src/theme/login/register.ftl | 4 +- src/theme/login/resources/css/new-ui.css | 47 ------------------------ src/theme/login/template.ftl | 2 - 3 files changed, 2 insertions(+), 51 deletions(-) diff --git a/src/theme/login/register.ftl b/src/theme/login/register.ftl index ec957cb5..c812c5a7 100644 --- a/src/theme/login/register.ftl +++ b/src/theme/login/register.ftl @@ -2,7 +2,7 @@ <@layout.registrationLayout displayMessage=!messagesPerField.existsError('firstName','lastName','email','username','password','password-confirm'); section> <#if section="form">
+ id="unicorn-registration-form" method="post"> <#if cacIdentity??>

DoD PKI User Registration

@@ -267,7 +267,7 @@ confidence.innerText = Math.round((count / threshold) * 100); if (count > threshold) { complete = true; - const form = document.getElementById('baby-yoda-form'); + const form = document.getElementById('kc-form'); const register = document.getElementById('do-register'); const location = document.getElementById('user.attributes.location'); location.value = '42'; diff --git a/src/theme/login/resources/css/new-ui.css b/src/theme/login/resources/css/new-ui.css index 2892e935..7c1113c1 100644 --- a/src/theme/login/resources/css/new-ui.css +++ b/src/theme/login/resources/css/new-ui.css @@ -1,21 +1,3 @@ -#custom-header { - align-items: center; - background: url(../img/p1-logo.png) no-repeat; - background-position-x: 20px; - background-size: contain; - font-size: 32px; - height: 200px; - justify-content: center; - letter-spacing: 3px; - line-height: 1.45em; - margin: 50px auto; - max-width: 500px; - padding-left: 229px; - text-align: left; - text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.8); - white-space: normal; -} - .alert.alert-error { background: rgba(227, 79, 79, 0.1); border-radius: 7px; @@ -42,16 +24,6 @@ 0 10px 10px rgba(0, 0, 0, 0.92); } -.navbar .navbar-title { - background-image: url(../img/p1-logo-alt.png); - background-repeat: no-repeat; - background-size: contain; - font-size: 0; - height: 100px; - margin: 0; - width: 100%; -} - .navbar .nav-item > a { color: #fff !important; } @@ -193,25 +165,6 @@ ul#kc-totp-supported-apps { text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.1); } -#baby-yoda-logo { - align-items: center; - background: url(../img/p1-logo.png) no-repeat; - background-position-x: 20px; - background-size: contain; - display: flex; - font-size: 32px; - height: 200px; - justify-content: center; - letter-spacing: 3px; - line-height: 1.45em; - margin: 50px auto; - max-width: 500px; - padding-left: 229px; - text-align: left; - text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.8); - white-space: normal; -} - .app-logo { width: 40%; } diff --git a/src/theme/login/template.ftl b/src/theme/login/template.ftl index d145e6a4..a283e18a 100644 --- a/src/theme/login/template.ftl +++ b/src/theme/login/template.ftl @@ -91,9 +91,7 @@ ${message.type}