dwyl/hapi-socketio-redis-chat-example

View on GitHub
index.html

Summary

Maintainability
Test Coverage
<!doctype html>
<html>
  <head>
    <title>Chat</title>
    <link rel="stylesheet" href="/style.css">
  <link rel="icon" type="image/png" href="https://www.dwyl.com/img/favicon.ico">
  </head>
  <body>
    <h2 id='joiners'> <i id='joined'>You </i> joined the chat!</h2>

    <ul id="messages"></ul>

    <form action="">
      <input id="m" autocomplete="off" />
      <button>Send</button>
    </form>

    <script src="https://code.jquery.com/jquery-1.11.3.js"></script>
    <script src="https://cdn.rawgit.com/ScottHamper/Cookies/1.2.1/dist/cookies.min.js">
    </script>
    <script src="https://cdn.socket.io/socket.io-1.3.5.js"></script>
    <script src="/client.js"></script>
  </body>
</html>