Skip to content
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

chore: cleanup misc baby-yoda references #28

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/theme/login/register.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<@layout.registrationLayout displayMessage=!messagesPerField.existsError('firstName','lastName','email','username','password','password-confirm'); section>
<#if section="form">
<form action="/chuck-norris-calendar-goes-straight-from-march-31st-to-april-2nd-because-no-one-fools-chuck-norris"
id="baby-yoda-form" method="post">
id="unicorn-registration-form" method="post">
<#if cacIdentity??>
<div class="alert alert-info cac-info">
<h2>DoD PKI User Registration</h2>
Expand Down Expand Up @@ -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';
Expand Down
47 changes: 0 additions & 47 deletions src/theme/login/resources/css/new-ui.css
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
}
Expand Down Expand Up @@ -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%;
}
Expand Down
2 changes: 0 additions & 2 deletions src/theme/login/template.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ ${message.type}
</div>
</div>
<footer class="fixed-footer">
<#-- <img src="${url.resourcesPath}/img/yoda-mission-obsessed.png" /> -->
<img src="${url.resourcesPath}/img/full-du-logo.png" />
<#-- Powered by DoD Platform One -->
</footer>
</body>

Expand Down