First stab at submitting spots upstream. POTA is working, all other providers still to do. #95

This commit is contained in:
Ian Renton
2026-06-12 09:14:21 +01:00
parent 930d5357fe
commit 1afb407ca5
29 changed files with 640 additions and 92 deletions

View File

@@ -54,13 +54,12 @@
</form>
<div id="upstream-area" class="mt-3" style="display:none;">
<hr/>
<div class="row g-2 align-items-center">
<div class="col-auto">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="submit-upstream">
<label class="form-check-label" for="submit-upstream">
Also submit to <span id="upstream-provider-label"></span>
Send spot to <span id="upstream-provider-label"></span>
</label>
</div>
</div>
@@ -75,8 +74,8 @@
</div>
</div>
<div id="hcaptcha-area" class="mt-3" style="display:none;">
<div id="hcaptcha-widget"></div>
<div id="recaptcha-area" class="mt-3" style="display:none;">
<div id="recaptcha-widget"></div>
</div>
<div id="result-good"></div>
@@ -108,8 +107,10 @@
</div>
</div>
<script src="/js/common.js?v=1781245126"></script>
<script src="/js/add-spot.js?v=1781245126"></script>
<script>window._recaptchaSiteKey = {% raw json_encode(web_ui_options.get('recaptcha-site-key', '')) %};
window._allowUpstreamSpotting = {% raw json_encode(web_ui_options.get('allow-upstream-spotting', True)) %};</script>
<script src="/js/common.js?v=1781252061"></script>
<script src="/js/add-spot.js?v=1781252061"></script>
<script>$(document).ready(function() { $("#nav-link-add-spot").addClass("active"); }); <!-- highlight active page in nav --></script>
{% end %}