Allow spotting upstream to cluster. #39

This commit is contained in:
Ian Renton
2026-09-27 11:09:20 +01:00
parent 1a48d178ca
commit 27bd8a6b44
28 changed files with 192 additions and 81 deletions
+10 -8
View File
@@ -3,13 +3,15 @@
<div id="add-spot-intro-box" class="permanently-dismissible-box mt-3">
<div class="alert alert-primary alert-dismissible fade show" role="alert">
<!-- TODO Remove when feature available -->
<i class="fa-solid fa-circle-info"></i> <strong>Adding spots to Spothole</strong><br/>This page is implemented
as a proof of concept for adding spots to the Spothole system. Currently, spots added in this way are only
visible within Spothole and are not sent "upstream" to DX clusters or xOTA spotting sites. The functionality
might be extended to include this in future if there is demand for it. If you'd like this to be added, please
give a thumbs-up on <a href="https://git.ianrenton.com/ian/spothole/issues/39" target="_new" class="alert-link">issue
#39</a> or get in touch via email.
<i class="fa-solid fa-circle-info"></i> <strong>Adding spots to Spothole</strong><br/>
{% if web_ui_options["allow_upstream_spotting"] %}
Spots added here are visible within Spothole. You can also choose to send your spot "upstream" to the DX
cluster, in which case it is posted using the callsign you enter in "Your Call". Sending spots upstream to other
spotting sites such as POTA and SOTA is currently a work in progress.
{% else %}
Spots added here are only visible within Spothole. This server does not allow spots to be sent "upstream" to DX
clusters or other spotting sites such as POTA and SOTA.
{% end %}
<button type="button" id="add-spot-intro-box-dismiss" class="btn-close" data-bs-dismiss="alert"
aria-label="Close"></button>
</div>
@@ -136,7 +138,7 @@
const ALLOW_UPSTREAM_SPOTTING = {% raw safe_json_dumps(web_ui_options["allow_upstream_spotting"]) %};
</script>
<script src="/static/js/add-spot.js?v=1790443101"></script>
<script src="/static/js/add-spot.js?v=1790503760"></script>
<script>$(document).ready(function () {
$("#nav-link-add-spot").addClass("active");
}); <!-- highlight active page in nav --></script>