Log out: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
text-decoration: none;" /> | text-decoration: none;" /> | ||
</form> --> | </form> --> | ||
</div> | |||
<div id="logoutSuccess" style="visibility: hidden;"> | |||
<p><strong>You are now logged out and will be redirected to the <a href="https://asdso.mpxstage.com">Main site</a> in a few seconds.</strong></p> | |||
</div> | </div> | ||
<div id="logoutSuccess_NotUsing" style="visibility: hidden;"> | <div id="logoutSuccess_NotUsing" style="visibility: hidden;"> | ||
<p><strong>You are now logged out.</strong></p> | <p><strong>You are now logged out.</strong></p> | ||
<p>Return to <a id="redirectUrl" href="/wiki/Main_Page">Main Page</a></p> | <p>Return to <a id="redirectUrl" href="/wiki/Main_Page">Main Page</a></p> | ||
</div> | </div> | ||
Line 60: | Line 60: | ||
// Show confirmation | // Show confirmation | ||
var x = document.getElementById("confirmLogout"); | var x = document.getElementById("confirmLogout"); | ||
x.style. | x.style.display = "none"; | ||
var y = document.getElementById("logoutSuccess"); | var y = document.getElementById("logoutSuccess"); | ||
y.style.visibility = "visible"; | y.style.visibility = "visible"; |