Skip to content

Commit

Permalink
hide telemetry window
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak committed Apr 8, 2024
1 parent db736a4 commit 311b1cb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions DOSPORTAL/templates/records/record_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h3>Graphs:</h3>



<div>
<div id="telemetry-card">
<div class="card my-4">
<div class="card-header">
<h3>Telemetry data:</h3>
Expand Down Expand Up @@ -125,8 +125,6 @@ <h3>Energetic spectrogram:</h3>
<script>




function makeDataZoom(opt) {
return Object.assign(
{
Expand Down Expand Up @@ -266,7 +264,7 @@ <h3>Energetic spectrogram:</h3>

});
myChart.on('datazoom', function (event) {
update_chart();
// update_chart();
});
myChart.showLoading()

Expand Down Expand Up @@ -392,6 +390,7 @@ <h3>Energetic spectrogram:</h3>

$.get("./get_telemetry/", ).done(function (data) {

$("#telemetry-card").show();
console.log(data);
console.log(data.telemetry_values.temperature_0);

Expand Down Expand Up @@ -476,7 +475,7 @@ <h3>Energetic spectrogram:</h3>

telemChart.setOption(options);

});
}).fail(function(data){ $("#telemetry-card").hide(); });



Expand Down Expand Up @@ -522,4 +521,4 @@ <h3>Energetic spectrogram:</h3>
</script>


{% endblock %}
{% endblock %}

0 comments on commit 311b1cb

Please sign in to comment.