Last active
February 11, 2022 10:48
-
-
Save pabloopez/2247cb7b2f4ac27e12eb85f6d1f642c9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2>Oops... It seems this content is no longer available.</h2> | |
| <p>We appreciate your interest in this hands-on lab, and we are working hard to bring this content in a fresh new environment.</p> | |
| <p>Currently this content is not available as the vendor is no longer supporting their Katakoda virtual training lab solution.</p> | |
| <p id="msg">In the meantime, you can check our videos, or our currently migrated labs at $DOMAIN.</p> | |
| <p>Thank you for your understanding.</p> | |
| <p> | |
| <p style="color: red; font-weight: bold;">You will be redirected to the new labs in <span id="counter" style="font-size:56px;">15</span> second(s).</p> | |
| <script> | |
| let domainRedir = "https://" + window.location.host + "/working-labs"; | |
| let redirHTML = "<a href=\"" + domainRedir + "\">" + domainRedir + "</a>"; | |
| $("#msg")[0].innerHTML = $("#msg")[0].innerHTML.replace(/\$DOMAIN/,redirHTML); | |
| function countdown() { | |
| var i = document.getElementById('counter'); | |
| if (parseInt(i.innerHTML)<=0) { | |
| location.href = domainRedir; | |
| } | |
| if (parseInt(i.innerHTML)!=0) { | |
| i.innerHTML = parseInt(i.innerHTML)-1; | |
| } | |
| } | |
| setInterval(function(){ countdown(); },1000); | |
| </script> | |
| </p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment