index.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html lang="de">
  3. <head>
  4. <base target="_blank">
  5. <title>Chat</title>
  6. <meta charset="UTF-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <link rel="stylesheet" type="text/css" href="css/app.css" />
  9. <link rel="stylesheet" type="text/css" href="css/theme.css" />
  10. </head>
  11. <script src="/socket.io/socket.io.js" type="application/javascript"></script>
  12. <script src="https://code.jquery.com/jquery-1.11.1.js" type="application/javascript"></script>
  13. <script src="js/main.js" type="application/javascript"></script>
  14. <body>
  15. <div id="chat-host"></div>
  16. </body>
  17. <script id="chat-login-template" type="text/x-custom-template">
  18. <div class="login">
  19. <span class="loginError"></span>
  20. <form id="chat-login-form" action="">
  21. <div class="inputWrapper usernameWrapper">
  22. <label>Nickname:</label>
  23. <input class="username" autocomplete="off" />
  24. </div>
  25. <div class="inputWrapper passwordWrapper" style="display: none">
  26. <label>Passwort:</label>
  27. <input class="password" type="password" autocomplete="off" />
  28. </div>
  29. <button>Chat betreten</button>
  30. </form>
  31. </div>
  32. </script>
  33. <script id="chat-template" type="text/x-custom-template">
  34. <div class="main">
  35. <ul class="messages"></ul>
  36. <div class="userlistWrapper">
  37. <h2>Benutzer im Chat</h2>
  38. <ul class="userlist"></ul>
  39. </div>
  40. </div>
  41. </script>
  42. <script id="chat-admin-template" type="text/x-custom-template">
  43. <div class="main">
  44. <ul class="messages"></ul>
  45. <div class="userlistWrapper">
  46. <h2>Benutzer im Chat</h2>
  47. <ul class="userlist"></ul>
  48. <h2>Gesperrte IPs</h2>
  49. <ul class="bannedlist"></ul>
  50. </div>
  51. </div>
  52. </script>
  53. <script id="chat-message-form-template" type="text/x-custom-template">
  54. <form class="messageForm" action="">
  55. <textarea class="messageField" />
  56. <button>Abschicken</button>
  57. </form>
  58. </script>
  59. <script id="chat-kick-template" type="text/x-custom-template">
  60. <div class="login">
  61. <div class="loginError">Sie wurden aus dem Chat entfernt.</div>
  62. </div>
  63. </script>
  64. </html>