Button eichen eingefügt
This commit is contained in:
parent
64f93b1a76
commit
253a7ed28f
@ -6,6 +6,18 @@
|
|||||||
<!-- Latest compiled and minified JavaScript -->
|
<!-- Latest compiled and minified JavaScript -->
|
||||||
<script src="/static/js/jquery-3.6.0.min.js"></script>
|
<script src="/static/js/jquery-3.6.0.min.js"></script>
|
||||||
<script src="/static/js/bootstrap.min.js"></script>
|
<script src="/static/js/bootstrap.min.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
|
$('#KameraEichen').on('click', function(e) {
|
||||||
|
e.preventDefault()
|
||||||
|
$.getJSON('/eichen',
|
||||||
|
function(data) {
|
||||||
|
//do nothing
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -28,5 +40,6 @@
|
|||||||
ist gerade <strong>aus</strong></h3>
|
ist gerade <strong>aus</strong></h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
<button id="KameraEichen" class="btn btn-block btn-lg btn-default">Kamera Eichen</button>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user