x
x
x
x
Only portrait mode is currently supported - please rotate your device.
...
HTML |
---|
<style> body.login div#rw_main{ background: white!important; } .forgot-iframe-container { display: flex; justify-content: center; } .forgot-iframe-container #forgot-password-iframe { width: 100%; height: 100vh; display: none; } div#custom-footer { display: none; } div#rw_theme_header { display: none !important; } @media only screen and (max-width: 600px) { div#postiontoggle { display: none; } .add-margin-mobile { margin-top: unset !important; } } </style> <div class="forgot-iframe-container"> <iframe id="forgot-password-iframe" title="" src="/forgotuserpassword.action"> </iframe> </div> <script> let iframeLoadCounter = 0; $("#forgot-password-iframe").on("load", function() { let head = $("#forgot-password-iframe").contents().find("head"); var iframe = document.getElementById("forgot-password-iframe"); var elmnt = iframe.contentWindow.document.querySelector("input.aui-button.aui-style.aui-button-primary"); // elmnt.onclick = function() {window.location.href = "/display/MSASBAAN/Password+Reset+Successful";} if(iframeLoadCounter == 1){ window.location.href = "/display/MSASBAAN/Password+Reset+Successful"; } let css = `<style> body.login .rw_background_top div.rw_login_logo {display: none;} #full-height-container, #page, body, html { height: auto !important; } html { background: #fafafa; } div#custom-footer { display: none; } body.login div#rw_wrapper { background: white; } div#login-container { font-family: 'Arimo'; } input.aui-button.aui-style.aui-button-primary { border-radius: 8px !important; background-color: var(--primary-color) !important; font-family: Arimo !important; font-size: 12px !important; font-weight: bold !important; border: unset !important; line-height: 2 !important; letter-spacing: 1.19px !important; color: white !important; } a.aui-button.aui-style.aui-button-link { display: none; } body.login form fieldset div.field-group label { font-family: Arimo; } body.login div#rw_main { padding: 100px; } </style>`; $(head).append(css); $('#forgot-password-iframe').show() iframeLoadCounter++; }); </script> |
...
OneValley