-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,056 additions
and
918 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.10-slim-bullseye | ||
FROM python:3.11-slim-bookworm | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 24 additions & 8 deletions
32
antennatracker/source/_static/parameters_versioning_script.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
<p>You can change and check the parameters for another version: <script type="text/javascript" src="../_static/jquery-3.2.1.min.js"> | ||
</script> | ||
|
||
<select class="selectpicker" onChange="window.document.location.href=this.options[this.selectedIndex].value;"></select> | ||
<p>You can change and check the parameters for another version: | ||
<select class="selectpicker" id="selectPicker"></select> | ||
</p> | ||
|
||
<script type="text/javascript"> | ||
jQuery.getJSON("../_static/parameters-AntennaTracker.json", {}, function(json) { | ||
$.each(json, function(key, value) { | ||
$('.selectpicker').append('<option value="' + json[key] + '">' + key + '</option>'); | ||
document.addEventListener("DOMContentLoaded", function() { | ||
fetch("../_static/parameters-AntennaTracker.json") | ||
.then(function(response) { return response.json(); }) | ||
.then(function(json) { | ||
appendToSelect(json); | ||
}); | ||
}); </script> </p> | ||
|
||
document.getElementById('selectPicker').addEventListener('change', function() { | ||
window.location.href = this.value; | ||
}); | ||
|
||
function appendToSelect(json) { | ||
var selectPicker = document.getElementById('selectPicker'); | ||
for (var key in json) { | ||
var opt = document.createElement('option'); | ||
opt.value = json[key]; | ||
opt.innerHTML = key; | ||
selectPicker.appendChild(opt); | ||
} | ||
} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
<p>You can change and check the parameters for another version: <script type="text/javascript" src="../_static/jquery-3.2.1.min.js"> | ||
</script> | ||
|
||
<select class="selectpicker" onChange="window.document.location.href=this.options[this.selectedIndex].value;"></select> | ||
<p>You can change and check the parameters for another version: | ||
<select class="selectpicker" id="selectPicker"></select> | ||
</p> | ||
|
||
<script type="text/javascript"> | ||
jQuery.getJSON("../_static/parameters-Blimp.json", {}, function(json) { | ||
$.each(json, function(key, value) { | ||
$('.selectpicker').append('<option value="' + json[key] + '">' + key + '</option>'); | ||
document.addEventListener("DOMContentLoaded", function() { | ||
fetch("../_static/parameters-Blimp.json") | ||
.then(function(response) { return response.json(); }) | ||
.then(function(json) { | ||
appendToSelect(json); | ||
}); | ||
}); </script> </p> | ||
|
||
document.getElementById('selectPicker').addEventListener('change', function() { | ||
window.location.href = this.value; | ||
}); | ||
|
||
function appendToSelect(json) { | ||
var selectPicker = document.getElementById('selectPicker'); | ||
for (var key in json) { | ||
var opt = document.createElement('option'); | ||
opt.value = json[key]; | ||
opt.innerHTML = key; | ||
selectPicker.appendChild(opt); | ||
} | ||
} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
<p>You can change and check the parameters for another version: <script type="text/javascript" src="../_static/jquery-3.2.1.min.js"> | ||
</script> | ||
|
||
<select class="selectpicker" onChange="window.document.location.href=this.options[this.selectedIndex].value;"></select> | ||
<p>You can change and check the parameters for another version: | ||
<select class="selectpicker" id="selectPicker"></select> | ||
</p> | ||
|
||
<script type="text/javascript"> | ||
jQuery.getJSON("../_static/parameters-Copter.json", {}, function(json) { | ||
$.each(json, function(key, value) { | ||
$('.selectpicker').append('<option value="' + json[key] + '">' + key + '</option>'); | ||
document.addEventListener("DOMContentLoaded", function() { | ||
fetch("../_static/parameters-Copter.json") | ||
.then(function(response) { return response.json(); }) | ||
.then(function(json) { | ||
appendToSelect(json); | ||
}); | ||
}); </script> </p> | ||
|
||
document.getElementById('selectPicker').addEventListener('change', function() { | ||
window.location.href = this.value; | ||
}); | ||
|
||
function appendToSelect(json) { | ||
var selectPicker = document.getElementById('selectPicker'); | ||
for (var key in json) { | ||
var opt = document.createElement('option'); | ||
opt.value = json[key]; | ||
opt.innerHTML = key; | ||
selectPicker.appendChild(opt); | ||
} | ||
} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.