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
<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"> </iframe>
</div>


<script>
$("#edit-password-iframe").on("load", function() {
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();}


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#confirm {
    border-radius: 3px;
    background-color:var(--primary-color);
    /* padding: 20px 40px; */
    font-family: Arimo;
    font-size: 12px;
    padding: 0 10px;
    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; */
}




input#cancel {
    display: none;
}
</style>`;
$(head).append(css);

$("#edit-password-iframe").show()

});
</script>

...