x
x
x
x
Only portrait mode is currently supported - please rotate your device.
...
HTML |
---|
<style> #page .rw_content_spaces_white2.rw_content_menu_solid #main{ background: unset !important; } .edit-password-container { display: flex; justify-content: center; margin-top: 40px; padding-top: 40px; } iframe#edit-password-iframe {border: unset;} .edit-password-container {flex-direction: column;} .edit-password-container button { height: 49px; border-radius: 3px; background-color: var(--primary-color); /* padding: 20px 40px; */ font-family: Arimo; font-size: 12px; font-weight: bold; font-stretch: normal; font-style: normal; border: unset; line-height: 2; letter-spacing: 1.19px; text-align: center; color: black; margin-left: 20px; margin-bottom: 50px; text-decoration: unset; width: 160px; } .edit-password-container #edit-prof-iframe { width: 100%; height: 73vh; display: none; border: none; } .edit-password-container { display: flex; justify-content: center; } .edit-password-container #edit-password-iframe { width: 90%; height: 100vh; display: none; margin:auto; } </style> <div class="edit-password-container"> <iframe id="edit-password-iframe" src="/users/changemypassword.action" onload="ready()"> </iframe> </div> <script> let counter = 0; //$("#edit-password-iframe").on("load", function() { function ready(){ console.log("LOADED!") counter++; let head = $("#edit-password-iframe").contents().find("head"); if(counter === 2){ window.location = '/display/MSPS/Password+Reset+Successful'; } let css = `<style> div#rw_theme_header { display: none !important; } div#rw_menu_bar_icon { display: none; } div#rw_menu_bar_content { display: none; } .rw_content_menu_solid #rw_menu_bar_wrapper #rw_menu_bar_button { display: none; } .rw_content_menu_solid #rw_menu_bar_wrapper { display: none !important; } div#profileHeader { display: none !important; } div#main-header { display: none; } .aui-navgroup-primary { display: none !important; } input#cancel { display: none; } h2.fullSite { font-family: 'MS Gloria II Std'; font-size: 24px; font-weight: normal; margin-bottom: 20px; line-height: 1.52; color: #333333; margin-bottom: 40px; } input#confirm { width: 150px; height: 50px; border-radius: 8px; border: solid 2px #187aba; background: #187aba !important; font-family: Karla; font-size: 16px; font-weight: bold; color: #ffffff; outline: none; cursor: pointer; } form.aui legend, form.aui .field-group>label, form.aui .field-group>aui-label { font-family: "Karla","Open Sans", sans-serif; margin: unset; text-align: left; display: flex; /* padding: unset; */ width: max-content; margin-bottom: 10px; } .field-group { display: flex; flex-direction: column; padding: unset !important; margin-bottom: 20px !important; } div#hubspot-messages-iframe-container{ display: none!important; } </style>`; $(head).append(css); $("#edit-password-iframe").show() } //}); </script> |
OneValley