|
@ -1,7 +1,7 @@ |
|
|
<!DOCTYPE HTML> |
|
|
<!DOCTYPE HTML> |
|
|
<html> |
|
|
<html> |
|
|
<head> |
|
|
<head> |
|
|
<title>Flask-SocketIO Test</title> |
|
|
<title>python-socketio test</title> |
|
|
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.4.min.js"></script> |
|
|
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.4.min.js"></script> |
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.slim.js"></script> |
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.slim.js"></script> |
|
|
<script type="text/javascript" charset="utf-8"> |
|
|
<script type="text/javascript" charset="utf-8"> |
|
@ -55,7 +55,7 @@ |
|
|
</script> |
|
|
</script> |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
<h1>Flask-SocketIO Test</h1> |
|
|
<h1>python-socketio test</h1> |
|
|
<h2>Send:</h2> |
|
|
<h2>Send:</h2> |
|
|
<form id="emit" method="POST" action='#'> |
|
|
<form id="emit" method="POST" action='#'> |
|
|
<input type="text" name="emit_data" id="emit_data" placeholder="Message"> |
|
|
<input type="text" name="emit_data" id="emit_data" placeholder="Message"> |
|
|