iris/_examples/websocket/native-messages/templates/client.html
Gerasimos (Makis) Maropoulos 33028f900d update the nantive-messages(only) example to the latest websocket (minimum changes, the idea is the same) and misc
Former-commit-id: 9598319bc13e8a383114c37f4da84f337ab47b22
2019-06-25 22:10:10 +03:00

19 lines
429 B
HTML

<html>
<head>
<title>{{ .Title}}</title>
</head>
<body style="padding:10px;">
<input type="text" id="messageTxt" />
<button type="button" id="sendBtn">Send</button>
<div id="messages" style="width: 375px;margin:10 0 0 0px;border-top: 1px solid black;">
</div>
<script type="text/javascript">
var HOST = {{.Host }}
</script>
<script src="js/chat.js" type="text/javascript"></script>
</body>
</html>