index.htm 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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?v=202' 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>host = location.hostname === 'sample.n2o.space' ? 'ns.synrc.com' : location.hostname;
  25. port = 8001;</script>
  26. <script src='/n2o/bert.js'></script>
  27. <script src='/n2o/client.js'></script>
  28. <script src='/n2o/nitrogen.js'></script>
  29. <script src='/n2o/bullet.js'></script>
  30. <script src='/n2o/utf8.js'></script>
  31. <script src='/n2o/template.js'></script>
  32. <script src='/n2o/n2o.js'></script>
  33. <script src='/n2o/validation.js'></script>
  34. <script src='/n2o/ftp.js'></script>
  35. <script>protos = [$client,$bert]; N2O_start();</script>
  36. </body>
  37. </html>