mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-26 23:13:32 +00:00
Merge pull request #323 from lbryio/verify_tweak
hide captcha once completed
This commit is contained in:
commit
b81191c7c5
1 changed files with 9 additions and 3 deletions
|
@ -18,9 +18,11 @@
|
||||||
document.getElementById("magic-link-text").textContent = payload;
|
document.getElementById("magic-link-text").textContent = payload;
|
||||||
document.getElementById("magic-link-text-windows").value = payload;
|
document.getElementById("magic-link-text-windows").value = payload;
|
||||||
document.getElementById("success").style.display = "block";
|
document.getElementById("success").style.display = "block";
|
||||||
|
document.getElementById("captcha-block").style.display = "none";
|
||||||
};
|
};
|
||||||
var expiredCallback = function() {
|
var expiredCallback = function() {
|
||||||
document.getElementById("success").style.display = "none";
|
document.getElementById("success").style.display = "none";
|
||||||
|
document.getElementById("captcha-block").style.display = "block";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -28,11 +30,15 @@
|
||||||
<div style="display: flex; align-items: center; flex-direction: column;" class="text-center">
|
<div style="display: flex; align-items: center; flex-direction: column;" class="text-center">
|
||||||
<img src="/img/lbry-dark-1600x528.png" style="max-height: 80px; margin-top: 50px;" alt="LBRY"/>
|
<img src="/img/lbry-dark-1600x528.png" style="max-height: 80px; margin-top: 50px;" alt="LBRY"/>
|
||||||
<h1>Almost Done!</h1>
|
<h1>Almost Done!</h1>
|
||||||
<p>Click the captcha to continue...</p>
|
<div id="captcha-block">
|
||||||
<div class="g-recaptcha" data-sitekey="6LcG_z0UAAAAAKBPDBhiJU_jI9cRNRiJwcUHq95u" data-callback="verifyCallback" data-expired-callback="expiredCallback"></div>
|
<p>Click the captcha to continue...</p>
|
||||||
<div style="display: none; margin-top: 10px;" id="success">
|
<br/>
|
||||||
|
<div class="g-recaptcha" data-sitekey="6LcG_z0UAAAAAKBPDBhiJU_jI9cRNRiJwcUHq95u" data-callback="verifyCallback" data-expired-callback="expiredCallback"></div>
|
||||||
|
</div>
|
||||||
|
<div style=" display: none; margin-top: 10px;" id="success">
|
||||||
<div id="non-windows">
|
<div id="non-windows">
|
||||||
<p>Now click the magic link below to verify your identity in app...</p>
|
<p>Now click the magic link below to verify your identity in app...</p>
|
||||||
|
<br/>
|
||||||
<a class="btn-primary btn-large spacer1" onclick="location.href=magicLink">Magic Link</a>
|
<a class="btn-primary btn-large spacer1" onclick="location.href=magicLink">Magic Link</a>
|
||||||
<p><i>Does the magic link not work? Not on the same device as the app? Paste this text into the verification screen instead.</i></p>
|
<p><i>Does the magic link not work? Not on the same device as the app? Paste this text into the verification screen instead.</i></p>
|
||||||
<code class="multiline-code" id="magic-link-text"></code>
|
<code class="multiline-code" id="magic-link-text"></code>
|
||||||
|
|
Loading…
Add table
Reference in a new issue