index.htm 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <html>
  2. <head>
  3. <meta charset="utf-8">
  4. <meta http-equiv="x-ua-compatible" content="ie=edge">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link href='synrc.css' type='text/css' rel='stylesheet'>
  7. <title>Chat</title>
  8. </head>
  9. <body class="chat">
  10. <header>
  11. <a href="/app/login.htm"><img src="https://n2o.space/img/Synrc%20Neo.svg"></a>
  12. <h2 id=heading>room</h2>
  13. <button id=logout>logout</button>
  14. </header>
  15. <main>
  16. <form>
  17. <textarea id=message rows='4' autofocus placeholder="Just type what you think about this"></textarea>
  18. <button id=upload>Browse</button>
  19. <button id=send>chat</button>
  20. </form>
  21. <history id="history">
  22. </history>
  23. </main>
  24. <script src='https://ws.n2o.space/priv/utf8.js'></script>
  25. <script src='https://ws.n2o.space/priv/bert.js'></script>
  26. <script src='https://ws.n2o.space/priv/heart.js'></script>
  27. <script src='https://ws.n2o.space/priv/ieee754.js'></script>
  28. <script src='https://ws.n2o.space/priv/n2o.js'></script>
  29. <script>host = location.hostname === 'sample.n2o.space' ? 'ns.synrc.com' : location.hostname;
  30. port = 8001;</script>
  31. <script src='https://ws.n2o.space/priv/ftp.js'></script>
  32. <script src='https://ws.n2o.space/priv/nitro.js'></script>
  33. <script>$io.do = function(r) { console.log(r); };</script>
  34. <script>protos = [$bert]; N2O_start();</script>
  35. </body>
  36. </html>