2024-02-21 21:02:07 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block customscript %}
|
2023-07-28 21:30:45 +00:00
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
var socket = io();
|
|
|
|
var change = {{change}}
|
|
|
|
socket.on('connect', function() {
|
|
|
|
socket.emit('addtag', {data: user});
|
|
|
|
});
|
|
|
|
socket.on("besetzt", function(){
|
|
|
|
document.write('<p>besetzt</p>')
|
|
|
|
socket.emit('addtag', {data: user})
|
|
|
|
});
|
|
|
|
socket.on("wait", function(){
|
|
|
|
document.write('<p>wait</p>')
|
|
|
|
});
|
|
|
|
socket.on("error", function(data) {
|
|
|
|
alert(data)
|
|
|
|
window.location="http://matekasse.server.c3h/"
|
|
|
|
});
|
|
|
|
socket.on("finished", function(data){
|
|
|
|
alert(data)
|
|
|
|
window.location="http://matekasse.server.c3h/"
|
|
|
|
});
|
|
|
|
</script>
|
2024-02-21 21:02:07 +00:00
|
|
|
{% endblock %}
|