changes.mady.by.user Zahra Amin
Saved on Jul 13, 2021
<script>
window.location.replace("/display/MSA/Login");</script>
<style> div.bigImageContainer { width: 50%; background-image: url('https://passport-media.s3-us-west-1.amazonaws.com/Morgan+Stanley/msSignUp.jpg'); background-position: center; /* Center the image */ background-repeat: no-repeat; /* Do not repeat the image */ background-size: cover; box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.1); margin-left: 10px; } div.signContainer { width: 90vw; height: 90%; margin: 60px auto; } .rw_content { background: var(--main-background); } div.formContainer { box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.1); margin-right: 10px; width: 50%; } </style>
<script> // Endpoint checks if authenticated user is part of smith group otherwise add and send email jQuery.ajax({ url: "/rest/scriptrunner/latest/custom/autoMemberShipMorganStanley", headers: { 'X-Atlassian-Token' : 'nocheck', 'Content-type' : 'application/json' }, type: "POST", dataType: 'text', data: JSON.stringify({ "email": AJS.params.remoteUser, }), success: function(text){ //console.log("Response: "+ text) window.location.replace("/site/sdc"); }, error: function(err){ //alert(err) window.location.replace("https://passport.theonevalley.com/"); } }); </script>
.
<style> div#custom-footer { display: none; } .main-container { min-height: calc(100vh - 50px); background-repeat: no-repeat; background-size: cover; background-position: center; } div#toggle { display: none; } input#signupButton { background-color: var(--primary-color) !important; } </style>
...