diff --git a/public/buyersform/theme.js b/public/buyersform/theme.js index 23a2d0f..a81a057 100644 --- a/public/buyersform/theme.js +++ b/public/buyersform/theme.js @@ -6,40 +6,12 @@ if (privacyPolicy) { privacyPolicy.innerHTML = 'By signing up you agree to the BuyersForm Privacy Policy' } -// function createLabel(details) { -// const label = document.createElement("label"); -// label.className = "custom-input-label"; - -// if (details.innerHtml) { -// label.innerHTML = details.innerHtml; -// } - -// if (details.textContent) { -// label.textContent = details.textContent; -// } -// label.for = details.for; - -// return label; -// } if (loginpage) { // inject labels on login page; const signUpLink = document.querySelector("#new-to-app + a"); signUpLink.textContent = "Sign up"; - - // const emailWrapper = document.querySelector( - // 'div.form-group:has(input[id="username"])' - // ); - // const emailLabel = createLabel({ for: "username", textContent: "Email" }); - // // emailWrapper.prepend(emailLabel); - - // // <--- Password --> - // const passwordWrapper = document.querySelector( - // 'div.form-group:has(input[id="password"])' - // ); - // const passwordLabel = createLabel({ for: "password", textContent: "Password" }); - // // passwordWrapper.prepend(passwordLabel); } if (verifyPage.textContent.includes("Email verification")) { diff --git a/public/edenfiftyone/theme.js b/public/edenfiftyone/theme.js index 65cc2c6..24841c2 100644 --- a/public/edenfiftyone/theme.js +++ b/public/edenfiftyone/theme.js @@ -1,6 +1,13 @@ const privacyPolicy = document.getElementById('privacy-policy'); +const loginpage = document.querySelector("#kc-form-login"); +const verifyPage = document.querySelector("#kc-page-title"); +const signupPage = document.querySelector("#kc-register-form"); if (privacyPolicy) { - privacyPolicy.innerHTML = 'No blah blah.' + privacyPolicy.innerHTML = 'By signing up you agree to the EdenFiftyOne Privacy Policy' +} + +if (signUpPage){ + document.title = 'Sign Up to EdenFiftyOne' }