better metrics selection
This commit is contained in:
@@ -13,6 +13,15 @@
|
||||
{% leaflet_css %}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('form').submit(function(e) {
|
||||
$(':disabled').each(function(e) {
|
||||
$(this).removeAttr('disabled');
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
@@ -158,7 +167,7 @@
|
||||
{% endfor %}
|
||||
// gauge.set(catch_now);
|
||||
var newLatLng = new L.LatLng(lat, lon);
|
||||
console.log(newLatLng);
|
||||
// console.log(newLatLng);
|
||||
marker.setLatLng(newLatLng);
|
||||
}
|
||||
if(videotime !== oldTime) {
|
||||
@@ -275,8 +284,10 @@
|
||||
<script>
|
||||
// lock
|
||||
var lock = document.getElementById("lock");
|
||||
var output = document.getElementById("id_delay");
|
||||
{% if locked %}
|
||||
lock.checked = true;
|
||||
output.disabled = true;
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -310,7 +321,7 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
console.log('changing');
|
||||
// console.log('changing');
|
||||
output.value = this.value-Math.round(player.getCurrentTime());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user