Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<title>Streaming</title>
<link href="/index.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.1.5/sockjs.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/stomp.js/2.3.3/stomp.min.js"></script>
<script src="/index.js"></script>
</head>
<body>
<noscript>
<h2 style="color: #ff0000">
Seems your browser doesn't support Javascript! Websocket relies on Javascript being enabled. Please enable Javascript and reload this page!
</h2>
</noscript>
<div class="row chat_window">
<form class="col s12">
<div class="row">
<div class="file-path-wrapper col s4">
<input type="text" id="message" class="form-control" placeholder="Pretend this is a fancy email stuff...">
</div>
<div class="file-path-wrapper col s3">
<button id="send" class="btn btn-default" type="submit">Send</button>
</div>
</div>
<div class="row conversation">
<table class="striped">
<tbody id="emails">
</tbody>
</table>
</div>
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment