x
x
x
x
Only portrait mode is currently supported - please rotate your device.
Show If | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
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> $("#edit-password-iframe").on("load", function() { let counter = 0; function ready(){ console.log("LOADED!") counter++; let head = $("#edit-password-iframe").contents().find("head"); var iframe = document.getElementById("edit-password-iframe"); var elmnt = iframe.contentWindow.document.querySelector("input#confirm"); elmnt.onclick = function() {history.back();} 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#confirminput#cancel { display: none; } h2.fullSite { borderfont-radiusfamily: 3px 'MS Gloria II Std'; backgroundfont-color:var(--primary-color); /* padding: 20px 40px; */size: 24px; font-weight: normal; margin-bottom: 20px; line-height: 1.52; color: #333333; margin-bottom: 40px; } input#confirm { width: 150px; height: 50px; fontborder-familyradius: Arimo8px; font-size: 12pxborder: solid 2px #187aba; paddingbackground: 0#187aba 10px!important; font-weightfamily: boldKarla; /* font-stretchsize: normal16px; */ /* font-styleweight: normalbold; */ color: #ffffff; borderoutline: unsetnone; line-heightcursor: 2pointer; } form.aui legend, form.aui letter-spacing: 1.19px.field-group>label, form.aui .field-group>aui-label { font-family: "Karla","Open Sans", sans-serif; /*margin: unset; text-align: centerleft; */ colordisplay: blackflex; /* margin-leftpadding: 20pxunset; */ /* width: max-content; margin-bottom: 50px; */ 10px; } .field-group { display: flex; /* text-decorationflex-direction: column; padding: unset !important; */ margin-bottom: 20px !important; } input#cancel div#hubspot-messages-iframe-container{ display: none!important; } </style>`; $(head).append(css); $("#edit-password-iframe").show() } }); </script> |
OneValley