51 lines
2.0 KiB
HTML
51 lines
2.0 KiB
HTML
{% ELDEF main JSON pres JSON userinfo JSON initial_chatListUpdResp %}
|
|
<!DOCTYPE html>
|
|
<html lang="{% WRITE pres.lang %}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>List of chat rooms</title>
|
|
<link rel="stylesheet" href="/assets/css/common.css">
|
|
<link rel="stylesheet" href="/assets/css/common-popup.css">
|
|
<link rel="stylesheet" href="/assets/css/list-rooms.css">
|
|
</head>
|
|
<body>
|
|
<script>
|
|
let pres = {% PUT jsinsert pres %};
|
|
let userinfo = {% PUT jsinsert userinfo %};
|
|
let initial_chatListUpdResp = {% PUT jsinsert initial_chatListUpdResp %};
|
|
</script>
|
|
<div id="popup-overlay-veil"></div>
|
|
<div id="chat-creation-win" class="popup-window">
|
|
<h1>Input identifying information for your new chat</h1>
|
|
</div>
|
|
|
|
<div id="chat-renunciation-win" class="popup-window">
|
|
<!-- header will actually be rewritten before showing the window to include chat nickname -->
|
|
<h1 id="chat-renunciation-win-title">Are you sure you want to leave chat?</h1>
|
|
<button class="chat-renunciation-win-yes">Yes, leave</button>
|
|
<button class="chat-renunciation-win-no">No, cancel</button>
|
|
</div>
|
|
|
|
x
|
|
<div id="document-container">
|
|
<div id="navigation-panel" class="panel">
|
|
<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">
|
|
List of available rooms
|
|
</p>
|
|
</div>
|
|
|
|
<div class="dynamic-block-list">
|
|
<img id="CL-bacbe" class="button-add centered-block-el" alt="New chat" src="/assets/img/add.svg">
|
|
<div class="dynamic-block-list-el-container" id="CL-dblec">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="/assets/js/list-rooms.js"></script>
|
|
</body>
|
|
</html>
|
|
{% ENDELDEF %} |