Advertisement
Guest User

Untitled

a guest
Mar 31st, 2025
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 KB | None | 0 0
  1. {% load static %}
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset='utf-8'>
  6. <meta http-equiv='X-UA-Compatible' content='IE=edge'>
  7. <title>SchoolWeb Converse</title>
  8. <link rel="icon" type="image/x-icon" href="{% static 'img/widget/logo.png' %}">
  9. <meta name='viewport' content='width=device-width, initial-scale=1'>
  10. <link href="{% static 'css/main.css' %}" rel="stylesheet">
  11. <link href="{% static 'css/room.css' %}" rel="stylesheet">
  12. <script>
  13. sessionStorage.setItem('display_name', '{{ user.first_name }}');
  14. </script>
  15. </head>
  16. <body>
  17.  
  18. <header id="nav">
  19. <div class="nav--list">
  20. <button id="members__button">
  21. <svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M24 18v1h-24v-1h24zm0-6v1h-24v-1h24zm0-6v1h-24v-1h24z" fill="#ede0e0"><path d="M24 19h-24v-1h24v1zm0-6h-24v-1h24v1zm0-6h-24v-1h24v1z"/></svg>
  22. </button>
  23. <a href="{{ request.META.HTTP_REFERER }}">
  24. <h3 id="logo">
  25. <img src="{% static 'img/widget/logo.png' %}" alt="Site Logo">
  26. <span>Converse</span>
  27. </h3>
  28. </a>
  29. </div>
  30.  
  31. <div id="nav__links">
  32. <a href="https://webwhiteboard.com/" class="whiteboard" target="_blank">Tablica</a>
  33. <button id="chat__button"><svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" fill="#ede0e0" clip-rule="evenodd"><path d="M24 20h-3v4l-5.333-4h-7.667v-4h2v2h6.333l2.667 2v-2h3v-8.001h-2v-2h4v12.001zm-15.667-6l-5.333 4v-4h-3v-14.001l18 .001v14h-9.667zm-6.333-2h3v2l2.667-2h8.333v-10l-14-.001v10.001z"/></svg></button>
  34. </div>
  35. </header>
  36.  
  37. <main class="container">
  38. <div id="room__container">
  39. <section id="members__container">
  40.  
  41. <div id="members__header">
  42. <p>Uczestnicy</p>
  43. <strong id="members__count">0</strong>
  44. </div>
  45.  
  46. <div id="member__list">
  47.  
  48. </div>
  49.  
  50. </section>
  51. <section id="stream__container">
  52.  
  53. <div id="stream__box"></div>
  54.  
  55. <div id="streams__container"></div>
  56.  
  57. <div class="stream__actions">
  58. <button id="camera-btn" class="active">
  59. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 4h-3v-1h3v1zm10.93 0l.812 1.219c.743 1.115 1.987 1.781 3.328 1.781h1.93v13h-20v-13h3.93c1.341 0 2.585-.666 3.328-1.781l.812-1.219h5.86zm1.07-2h-8l-1.406 2.109c-.371.557-.995.891-1.664.891h-5.93v17h24v-17h-3.93c-.669 0-1.293-.334-1.664-.891l-1.406-2.109zm-11 8c0-.552-.447-1-1-1s-1 .448-1 1 .447 1 1 1 1-.448 1-1zm7 0c1.654 0 3 1.346 3 3s-1.346 3-3 3-3-1.346-3-3 1.346-3 3-3zm0-2c-2.761 0-5 2.239-5 5s2.239 5 5 5 5-2.239 5-5-2.239-5-5-5z"/></svg>
  60. </button>
  61. <button id="mic-btn" class="active">
  62. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2c1.103 0 2 .897 2 2v7c0 1.103-.897 2-2 2s-2-.897-2-2v-7c0-1.103.897-2 2-2zm0-2c-2.209 0-4 1.791-4 4v7c0 2.209 1.791 4 4 4s4-1.791 4-4v-7c0-2.209-1.791-4-4-4zm8 9v2c0 4.418-3.582 8-8 8s-8-3.582-8-8v-2h2v2c0 3.309 2.691 6 6 6s6-2.691 6-6v-2h2zm-7 13v-2h-2v2h-4v2h10v-2h-4z"/></svg>
  63. </button>
  64. <button id="screen-btn">
  65. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 1v17h24v-17h-24zm22 15h-20v-13h20v13zm-6.599 4l2.599 3h-12l2.599-3h6.802z"/></svg>
  66. </button>
  67. <button id="leave-btn" style="background-color: #FF5050;">
  68. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 10v-5l8 7-8 7v-5h-8v-4h8zm-16-8v20h14v-2h-12v-16h12v-2h-14z"/></svg>
  69. </button>
  70. </div>
  71. </section>
  72.  
  73. <section id="messages__container">
  74.  
  75. <div id="messages">
  76.  
  77. </div>
  78.  
  79. <form id="message__form">
  80. <input type="text" name="message" placeholder="Napisz wiadomość" />
  81. </form>
  82.  
  83. </section>
  84. </div>
  85. </main>
  86.  
  87. </body>
  88. <script type="text/javascript" src="{% static 'js/AgoraRTC_N-4.22.1.js' %}"></script>
  89. <script type="text/javascript" src="{% static 'js/agora-rtm-sdk-1.5.1.js' %}"></script>
  90. <script src="{% static 'js/room2.js' %}"></script>
  91. <script src="{% static 'js/room2_rtm.js' %}"></script>
  92. <script src="{% static 'js/room2_rtc.js' %}"></script>
  93. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement