ASDSO Dam Safety Toolbox

Log out: Difference between revisions

From ASDSO Dam Safety Toolbox
Jump to: navigation, search
No edit summary
No edit summary
Line 31: Line 31:
   <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>Note that some pages may continue to be displayed as if you are still logged in, until you clear your browser cache.</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>
   <div id="logoutSuccess" style="visibility: hidden;">
   <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>
     <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>
    <p>Note that some pages may continue to be displayed as if you are still logged in, until you clear your browser cache.</p>
   </div>
   </div>


Line 44: Line 42:
       if (!previousUrl || previousUrl !== "") {
       if (!previousUrl || previousUrl !== "") {
         document.getElementById("redirectUrl").href = previousUrl;
         document.getElementById("redirectUrl").href = previousUrl;
         var pageTitle = previousUrl.split("https://damtoolbox.org/wiki/").pop().replaceAll('_',' ');
         var pageTitle = previousUrl.split("https://damtoolbox.org/wiki/").pop().replaceAll('_',' ');
         document.getElementById("redirectUrl").text = pageTitle;
         document.getElementById("redirectUrl").text = pageTitle;

Revision as of 20:42, 17 April 2023

Do you want to log out?