2024-08-29 17:46:29 +00:00
|
|
|
{% ELDEF main JSON pres JSON userinfo JSON openedchat JSON initial_chatUpdResp %}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="ru">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-09-02 09:34:49 +00:00
|
|
|
<link rel="icon" type="image/png" href="/assets/img/favicon.png">
|
2024-09-01 22:11:28 +00:00
|
|
|
<link rel="stylesheet" href="/assets/css/common.css">
|
|
|
|
<link rel="stylesheet" href="/assets/css/common-popup.css">
|
|
|
|
<link rel="stylesheet" href="/assets/css/chat-members.css">
|
|
|
|
<title>Chat Members</title>
|
2024-08-29 17:46:29 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-09-01 22:11:28 +00:00
|
|
|
{% PUT chat.pass pres userinfo openedchat initial_chatUpdResp %}
|
|
|
|
|
|
|
|
<div id="user-summoning-win" class="popup-window">
|
|
|
|
<h1 class="popup-window-msg">Nickname for summoned user</h1>
|
|
|
|
<input class="one-line-input" id="summoned-user-nickname">
|
|
|
|
<input type="checkbox" id="summoned-user-is-read-only">
|
|
|
|
<label>Make read only</label>
|
|
|
|
<button class="popup-window-btn-yes" id="user-summoning-yes">Summon</button>
|
|
|
|
<button class="popup-window-btn-no" id="user-summoning-no">No, cancel</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="user-deletion-win" class="popup-window">
|
|
|
|
<!-- header will actually be rewritten before showing the window to include user nickname -->
|
|
|
|
<h1 id="user-deletion-win-title" class="popup-window-msg">Are you sure you want to ban user?</h1>
|
|
|
|
<button class="popup-window-btn-yes" id="user-deletion-yes">Yes, delete</button>
|
|
|
|
<button class="popup-window-btn-no" id="user-deletion-no">No, cancel</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="document-container">
|
|
|
|
<div id="navigation-panel" class="panel">
|
|
|
|
<a href="/list-rooms" id="go-to-chat-list" class="panel-thing">
|
|
|
|
<img alt="Go to list of chats" src="/assets/img/list-rooms.svg" width="32px">
|
|
|
|
</a>
|
|
|
|
<a href="/user/{% WRITE userinfo.nickname %}" id="go-to-my-profile" class="panel-thing">
|
|
|
|
<img alt="Go to my profile" src="/assets/img/user.svg" width="32px">
|
|
|
|
</a>
|
|
|
|
<p class="panel-thing panel-header-txt"> Members list of {% WRITE openedchat.name %} ({% WRITE openedchat.nickname %})</p>
|
|
|
|
<a href="/chat/{% WRITE openedchat.nickname %}" id="go-to-chat-settings" class="panel-thing">
|
|
|
|
<img alt="Back to chat" src="/assets/img/return.svg" width="32px">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="dynamic-block-list">
|
|
|
|
<img id="CM-btn-add" class="button-add centered-block-el" alt="New chat" src="/assets/img/add.svg">
|
|
|
|
<div class="dynamic-block-list-el-container" id="CM-list">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="/assets/js/common.js"></script>
|
|
|
|
<script src="/assets/js/common-popup.js"></script>
|
|
|
|
<script src="/assets/js/chat-members.js"></script>
|
2024-08-29 17:46:29 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{% ENDELDEF %}
|