mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-28 18:22:05 +00:00
Multi select upstream providers to send spots to #95
This commit is contained in:
+11
-23
@@ -71,6 +71,16 @@
|
||||
<input type="text" class="form-control storeable-text input-narrow" id="de-call"
|
||||
placeholder="N0CALL" required>
|
||||
</div>
|
||||
|
||||
<div id="upstream-area" class="mt-3" style="display:none;">
|
||||
<div class="form-label">Spot to:</div>
|
||||
<div class="form-check mb-1">
|
||||
<input class="form-check-input" type="checkbox" id="spothole-only" checked>
|
||||
<label class="form-check-label" for="spothole-only">Spothole only</label>
|
||||
</div>
|
||||
<div id="upstream-providers"></div>
|
||||
</div>
|
||||
|
||||
<div class="col-auto">
|
||||
<button type="submit" id="add-spot-submit" class="btn btn-primary mt-2em">
|
||||
<span id="add-spot-spinner" class="spinner-border spinner-border-sm me-1" aria-hidden="true"
|
||||
@@ -80,28 +90,6 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div id="upstream-area" class="mt-3" style="display:none;">
|
||||
<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">
|
||||
Send spot to <span id="upstream-provider-label"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-auto" id="upstream-provider-select-col" style="display:none;">
|
||||
<select id="upstream-provider-select" class="form-select form-select-sm"></select>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary" id="upstream-credentials-btn"
|
||||
onclick="showCredentialsModal();" style="display:none;">
|
||||
<i class="fa-solid fa-key"></i> Credentials
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="recaptcha-area" class="mt-3" style="display:none;">
|
||||
<div id="recaptcha-widget"></div>
|
||||
</div>
|
||||
@@ -142,7 +130,7 @@
|
||||
const ALLOW_UPSTREAM_SPOTTING = {% raw safe_json_dumps(web_ui_options["allow_upstream_spotting"]) %};
|
||||
</script>
|
||||
|
||||
<script src="/static/js/add-spot.js?v=1790514703"></script>
|
||||
<script src="/static/js/add-spot.js?v=1790516268"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-add-spot").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/js/alerts.js?v=1790514703"></script>
|
||||
<script src="/static/js/alerts.js?v=1790516268"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-alerts").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -82,8 +82,8 @@
|
||||
const BANDS = {% raw safe_json_dumps(options["bands"]) %};
|
||||
</script>
|
||||
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1790514703"></script>
|
||||
<script src="/static/js/bands.js?v=1790514703"></script>
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1790516268"></script>
|
||||
<script src="/static/js/bands.js?v=1790516268"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-bands").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
+5
-5
@@ -1,6 +1,6 @@
|
||||
{% extends "skeleton.html" %}
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/css/style.css?v=1790514702" type="text/css">
|
||||
<link rel="stylesheet" href="/static/css/style.css?v=1790516268" type="text/css">
|
||||
<link href="/static/vendor/css/bootstrap-5.3.8.min.css" rel="stylesheet">
|
||||
<link href="/static/vendor/css/fontawesome-6.7.2.min.css" rel="stylesheet">
|
||||
<link href="/static/vendor/css/solid-6.7.2.min.css" rel="stylesheet">
|
||||
@@ -16,10 +16,10 @@
|
||||
window.fetchEventSource = fetchEventSource;
|
||||
</script>
|
||||
|
||||
<script src="/static/js/utils.js?v=1790514702"></script>
|
||||
<script src="/static/js/ui-ham.js?v=1790514702"></script>
|
||||
<script src="/static/js/geo.js?v=1790514702"></script>
|
||||
<script src="/static/js/common.js?v=1790514702"></script>
|
||||
<script src="/static/js/utils.js?v=1790516268"></script>
|
||||
<script src="/static/js/ui-ham.js?v=1790516268"></script>
|
||||
<script src="/static/js/geo.js?v=1790516268"></script>
|
||||
<script src="/static/js/common.js?v=1790516268"></script>
|
||||
{% end %}
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
|
||||
@@ -284,7 +284,7 @@
|
||||
</div>
|
||||
|
||||
<script src="/static/vendor/js/chart-4.4.9.umd.min.js"></script>
|
||||
<script src="/static/js/conditions.js?v=1790514702"></script>
|
||||
<script src="/static/js/conditions.js?v=1790516268"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-conditions").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -9,11 +9,12 @@
|
||||
modelling software, and other online tools on which Spothole's data is based. The vast majority of these are not
|
||||
profit-seeking and are made purely for the love of the hobby and to help others in the community. Spothole is
|
||||
standing on the shoulders of giants, who deserve a huge amount of thanks for all the work they put in.</p>
|
||||
<p>The following people have specifically helped develop Spothole either by contributing code, requesting features,
|
||||
or helping squash bugs: Steven M1SDH, Dan S50U, Matt W1CDN, Norby LX1NO, Andrew VK3ARR, Mario DL4MFM, Mark M5TEA,
|
||||
Michael G7VJR, Rob G7LAS, Ed DD5LP, Raph F4LUB, Luc ON7KEC, Richard GD4OFB, Daniel PY2TDB, Alan VK1AO,
|
||||
Andrew WK1AD, Ullrich DF5WC, Wayne N3CDF, Jonathan G4IVV, Erik N2EPE, Sorin YO9TSN, Matt HB9HWI, Priit ES1TEB,
|
||||
Leigh KG7WED, Jouni OH3CUF, Onno VK6FLAB, and Bruce WA7BNM. (If I've forgotten you, let me know!)</p>
|
||||
<p>The following people have specifically helped develop Spothole either by contributing code, allowing access to
|
||||
their data, providing guidance, requesting features, or helping squash bugs: Steven M1SDH, Dan S50U, Matt W1CDN,
|
||||
Norby LX1NO, Andrew VK3ARR, Mario DL4MFM, Mark M5TEA, Michael G7VJR, Rob G7LAS, Ed DD5LP, Raph F4LUB,
|
||||
Luc ON7KEC, Richard GD4OFB, Daniel PY2TDB, Alan VK1AO, Andrew WK1AD, Ullrich DF5WC, Wayne N3CDF, Jonathan G4IVV,
|
||||
Erik N2EPE, Sorin YO9TSN, Matt HB9HWI, Priit ES1TEB, Leigh KG7WED, Jouni OH3CUF, Onno VK6FLAB, Bruce WA7BNM, and
|
||||
Larry F5PYI. (If I've forgotten you, let me know!)</p>
|
||||
<p>Spothole is also dependent on a number of Python libraries, such as pyhamtools, and many JavaScript
|
||||
libraries, as well as the Font Awesome icon set and flag icons from the Noto Color Emoji set, and MIT-licenced
|
||||
GeoJSON files for CQ and ITU zones from HA8TKS.</p>
|
||||
|
||||
+2
-2
@@ -115,8 +115,8 @@
|
||||
const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}";
|
||||
</script>
|
||||
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1790514702"></script>
|
||||
<script src="/static/js/map.js?v=1790514702"></script>
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1790516267"></script>
|
||||
<script src="/static/js/map.js?v=1790516267"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-map").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -127,8 +127,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1790514702"></script>
|
||||
<script src="/static/js/spots.js?v=1790514702"></script>
|
||||
<script src="/static/js/spotsbandsandmap.js?v=1790516267"></script>
|
||||
<script src="/static/js/spots.js?v=1790516267"></script>
|
||||
<script>$(document).ready(function () {
|
||||
$("#nav-link-spots").addClass("active");
|
||||
}); <!-- highlight active page in nav --></script>
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/js/status.js?v=1790514703"></script>
|
||||
<script src="/static/js/status.js?v=1790516268"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#nav-link-status").addClass("active");
|
||||
|
||||
Reference in New Issue
Block a user