2023-05-31 18:33:45 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2023-07-05 19:17:36 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js" integrity="sha512-q/dWJ3kcmjBLU4Qc47E4A9kTB4m3wuTY7vkFJDTZKjTs8jhyGQnaUrxa0Ytd0ssMZhbNua9hE+E7Qv1j+DyZwA==" crossorigin="anonymous"></script>
|
2023-05-31 18:33: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)
|
2023-06-07 18:23:15 +00:00
|
|
|
window.location="http://matekasse.server.c3h/"
|
2023-05-31 18:33:45 +00:00
|
|
|
});
|
|
|
|
socket.on("finished", function(data){
|
|
|
|
alert(data)
|
2023-06-07 18:23:15 +00:00
|
|
|
window.location="http://matekasse.server.c3h/"
|
2023-05-31 18:33:45 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</html>
|