Skip to content

Commit

Permalink
Docs v1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
queuemail committed Jul 11, 2023
1 parent 8dc917c commit 77460a3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
12 changes: 12 additions & 0 deletions commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,15 @@ function onRecaptchaResponseExpiry() {
document.getElementById("msgsignUp").innerHTML = 'Captcha expired. Try again, please.';
}


function reloadCaptcha()
{
grecaptcha.render('idrecap', {
'sitekey' : '6LcIhKImAAAAADT1PcVk7CNyLn5goUuOKuUOj5Tb',
'callback' : onRecaptchaSuccess,
'expired-callback' : onRecaptchaResponseExpiry,
'error-callback' : onRecaptchaError
});

document.getElementById("msgrecap").style.display = 'none';
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

<nav>
<a href="/">Home</a>
<a target="_blank" style="font-weight:bold;color:#FF0000;" href="https://docs.queuemail.dev/#/xsignup">Sign Up</a>
<a style="font-weight:bold;color:#FF0000;" href="/#/xsignup">Sign Up</a>
</nav>

<div id="app">Loading...</div>
Expand Down
7 changes: 5 additions & 2 deletions xrequestnewpassword.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@
</p>

<p>
<div class="g-recaptcha" data-sitekey="6LcIhKImAAAAADT1PcVk7CNyLn5goUuOKuUOj5Tb" data-callback="onRecaptchaSuccess" data-expired-callback="onRecaptchaResponseExpiry" data-error-callback="onRecaptchaError"></div>
<div id="idrecap" class="g-recaptcha" data-sitekey="6LcIhKImAAAAADT1PcVk7CNyLn5goUuOKuUOj5Tb" data-callback="onRecaptchaSuccess" data-expired-callback="onRecaptchaResponseExpiry" data-error-callback="onRecaptchaError"></div>
<span id="msgrecap">(If recaptcha does not appear, please, <a style="cursor:pointer" onClick="reloadCaptcha();">click here</a>)</span>

</p>

<div id="msgsignUp" class="wpcf7-response-output" style="margin-top:20px;display:none;color:red !important" aria-hidden="true"></div>


<div style="width:100% important; text-align:right !important;">
<input id="wp-submit" type="button" onClick="requestNewPassword();" style="padding:10px !important; font-weight:bold !important; margin-top:10px !important" value="Request new password!" />
<input id="wp-submit" type="button" onClick="requestNewPassword();" style="cursor:pointer;padding:10px !important; font-weight:bold !important; margin-top:10px !important" value="Request new password!" />
</div>


</form>

<!--FIN RPP-->


Expand Down
9 changes: 6 additions & 3 deletions xsignup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,23 @@
</p>

<p>
<div class="g-recaptcha" data-sitekey="6LcIhKImAAAAADT1PcVk7CNyLn5goUuOKuUOj5Tb" data-callback="onRecaptchaSuccess" data-expired-callback="onRecaptchaResponseExpiry" data-error-callback="onRecaptchaError"></div>
</p>
<div id="idrecap" class="g-recaptcha" data-sitekey="6LcIhKImAAAAADT1PcVk7CNyLn5goUuOKuUOj5Tb" data-callback="onRecaptchaSuccess" data-expired-callback="onRecaptchaResponseExpiry" data-error-callback="onRecaptchaError">
</div>
<span id="msgrecap">(If recaptcha does not appear, please, <a style="cursor:pointer" onClick="reloadCaptcha();">click here</a>)</span>
</p>

<div id="msgsignUp" class="wpcf7-response-output" style="margin-top:20px;display:none;color:red !important" aria-hidden="true"></div>


<div style="width:100% important; text-align:right !important;">
<input id="wp-submit" type="button" onClick="signUp();" style="padding:10px !important; font-weight:bold !important; margin-top:10px !important" value="Sign up!" />
<input id="wp-submit" type="button" onClick="signUp();" style="cursor:pointer;padding:10px !important; font-weight:bold !important; margin-top:10px !important" value="Sign up!" />
</div>


</form>

If you are already registered and don't remeber your passwor, please [get a new password here](xrequestnewpassword.md).

<!--FIN RPP-->


Expand Down

0 comments on commit 77460a3

Please sign in to comment.