diff --git a/web-assets/auth0/dev-tenant/universal-login.html b/web-assets/auth0/dev-tenant/universal-login.html index 10cf192..b05b627 100644 --- a/web-assets/auth0/dev-tenant/universal-login.html +++ b/web-assets/auth0/dev-tenant/universal-login.html @@ -5,7 +5,7 @@ Sign In with Topcoder - + @@ -64,7 +64,11 @@ + + - + \ No newline at end of file diff --git a/web-assets/auth0/prod-tenant/universal-login.html b/web-assets/auth0/prod-tenant/universal-login.html index 3c06779..cd12988 100644 --- a/web-assets/auth0/prod-tenant/universal-login.html +++ b/web-assets/auth0/prod-tenant/universal-login.html @@ -110,7 +110,7 @@ title: 'Topcoder Login', emailInputPlaceholder: 'Email', passwordInputPlaceholder: 'Password', - signUpTerms: 'I agree to the Privacy Policy of Topcoder.
By clicking "Sign up", you agree to the Terms of Topcoder.', + signUpTerms: 'Yes, I understand and agree to the Privacy Policy and Terms of Topcoder.', signUpTitle: 'Join Topcoder', signUpLabel: 'Sign Up', signUpSubmitLabel: 'Sign Up', @@ -118,7 +118,7 @@ loginLabel: 'Log In', loginSubmitLabel: 'Log In', loginWithLabel: '%s', - usernameInputPlaceholder: 'Username / Handle', + usernameInputPlaceholder: 'Create a Username / Handle', usernameOrEmailInputPlaceholder: 'Username / Handle', forgotPasswordAction: 'Forgot your password?' }; @@ -326,17 +326,10 @@ { type: "select", name: "country", - placeholder: "Choose your country", + placeholder: "Select your country (current location)", options: optionsObj, // The following properties are optional prefill: "us" - }, - { - name: 'how_did_hear', - placeholder: 'How did you hear about us?', - validator: function () { - return true; - } } ] } @@ -392,6 +385,23 @@ var mediaQuery = window.matchMedia('(min-width: 1156px)'); updateSignUp(regSource); mediaQuery.addListener(updateSignUp); + try { + const firstNameDiv = + document.getElementById("1-firstName").parentNode.parentNode; + const lastNameDiv = + document.getElementById("1-lastName").parentNode.parentNode; + const emailDiv = document.getElementById("1-email").parentNode.parentNode; + emailDiv.parentNode.insertBefore(firstNameDiv, emailDiv); + emailDiv.parentNode.insertBefore(lastNameDiv, emailDiv); + try { + document.getElementsByName("password")[0].placeholder = "Create a Password"; + //document.getElementById("1-country").value = "Select your country (current location)"; + } catch (e) { + console.log("Error occured in changing placeholder text", e); + } + } catch (e) { + console.log("Error occured in form re-ordering", e); + } }); lock.show(); diff --git a/web-assets/css/styles.css b/web-assets/css/styles.css index cfd1681..8dbf6d5 100644 --- a/web-assets/css/styles.css +++ b/web-assets/css/styles.css @@ -521,7 +521,7 @@ select::-ms-expand { font-family: Roboto; font-size: 14px; line-height: 22px; - width: 146px; + width: 250px; text-align: left; } diff --git a/web-assets/static-pages/signup.html b/web-assets/static-pages/signup.html index 02944bc..184cff8 100644 --- a/web-assets/static-pages/signup.html +++ b/web-assets/static-pages/signup.html @@ -63,7 +63,7 @@

- + />
- + @@ -110,9 +110,8 @@