Button eichen eingefügt
This commit is contained in:
		@@ -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>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user