x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


HTML
<script>
const handleDeadlinePassedState = () => {
	$("form[name='signupform']").html(`<div id='deadline-passed-signup'><h4>The deadline for the Morgan Stanley Innovation Awards has passed.</h4> <p>Please contact us at <a href='mailto:morganstanley@theonevalley.com'>morganstanley@theonevalley.com</a> if you have any questions.</p></div>`);
}
</script>
HTML
<link rel="stylesheet" href="https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/stylesheets/MS+SBA/signup.css">
<style>
*{
	font-weight: normal!important;
}
.login-link{
	text-align: left!important;
}
#login{
	padding: 30px 65px!important;
}
 div.bigImageContainer{
 	background: url('https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/images/MSIA/field.png')!important;
    background-size: cover!important;
    background-position: right!important;
}

.learn-more-section{
	left: 0!important;
	right: 20%!important;
}

div.signContainer > span {
    width: 100%;
}
div.formContainer {
	width: 100%;
}
.conditions .conditions-message {
    font-size: 14px;
    font-weight: 600;
	line-height: 1.6;
}
input#checkbox {
	margin-top: 5px;
}
.conditions {
	margin-bottom: 15px !important;
}

</style>

...

Hide If
groupconfluence-administrators


Show If
special@authenticated


group
Show If
groupmsia-users


HTML
<script>
window.location.replace("/display/MSIH");
</script>
Show If
msia-users,msia-admins
HTML
<script>
window.location.replace("/display/SBAH");
</script>





Custom section
ClasssignContainer


Custom section
ClassformContainer


Signup form msia
Destination/display/MSIH
LoginLinkhttps://mcil.theonevalley.com/display/InnovationAwards/Login
EndpointUrl/rest/scriptrunner/latest/custom/signUpMSIA
WelcomeMessageWelcome to the Alliance for Children’s Mental Health Innovation Awards

HTML
<div id="login">
    <p class="login-link"><a href="/display/InnovationAwards/Login">Already have an account?</a></p>
</div>



Custom section
ClassbigImageContainer


HTML
<div class="learn-more-section">
    <p>The Morgan Stanley Alliance for Children's Mental Health Innovation Awards initiative aims to identifyseed andfund fundtransformative mental healthcare solutions for children and young adultspeople across the United StatesU.S. ThisIt programhelps specifically addressesaddress the lack of both private and public investment in children’sthis mentalspace, healthconnect andinnovative ofideas effectivewith wayscapital, toand connectbuild innovativecapacity ideasfor with capitalnonprofits.</p><a href="https://www.morganstanley.com/about-us/giving-back/childrens-mental-health-awards" style="font-weight:bold;">Learn More</a>
</div>




HTML
<style>
#deadline-passed-signup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    background-color: var(--main-background);
    margin-bottom: 100px;
    padding: 20px;
    margin-top: 10px;
}
#deadline-passed-signup h4 {
    font-size: 18px;
    font-weight: bold !important;
}
</style>

<script>
const END_DATE_TIME = Date.parse("7/18/2023 17:00:00 EDT");
const DEADLINE_PASSED_STATE_VAR = END_DATE_TIME < Date.now();

const handleDeadlinePassedState = () => {
	$("form[name='signupform']").html(`<div id='deadline-passed-signup'><h4>The deadline for the Morgan Stanley Innovation Awards has passed.</h4> <p>Please contact us at <a href='mailto:morganstanley@theonevalley.com'>morganstanley@theonevalley.com</a> if you have any questions.</p></div>`);
}

if (DEADLINE_PASSED_STATE_VAR == true) {
	//handleDeadlinePassedState();
}
$("a[href='http://support.theonevalley.com/en/articles/2546657-privacy-policy']").attr("target", "_blank");
$("a[href='http://support.theonevalley.com/en/articles/2546657-privacy-policy']").attr("href", "https://21125213.hs-sites.com/knowledge/privacy-policy")
$("a[href='http://support.theonevalley.com/en/articles/2546656-terms-and-conditions']").attr("target", "_blank");
$("a[href='http://support.theonevalley.com/en/articles/2546656-terms-and-conditions']").attr("href", "https://21125213.hs-sites.com/knowledge/terms-and-conditions")
</script>