Spaces:
Running
Running
Update static/index.html
Browse files- static/index.html +80 -2
static/index.html
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 10 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 11 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 12 |
-
<link rel="stylesheet" href="/static/style.css">
|
| 13 |
</head>
|
| 14 |
<body>
|
| 15 |
<div id="auth-screen" class="screen active">
|
|
@@ -165,10 +165,16 @@
|
|
| 165 |
</div>
|
| 166 |
</div>
|
| 167 |
<div class="header-section header-right">
|
|
|
|
|
|
|
|
|
|
| 168 |
<button id="online-btn" class="btn-icon" aria-label="Online users" title="Online users">
|
| 169 |
<i class="fas fa-users"></i>
|
| 170 |
<span id="online-badge" class="badge hidden">0</span>
|
| 171 |
</button>
|
|
|
|
|
|
|
|
|
|
| 172 |
<button id="settings-btn" class="btn-icon" aria-label="Settings" title="Settings">
|
| 173 |
<i class="fas fa-cog"></i>
|
| 174 |
</button>
|
|
@@ -346,6 +352,14 @@
|
|
| 346 |
<span id="pw-msg" class="form-hint"></span>
|
| 347 |
</section>
|
| 348 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 349 |
<section class="settings-section">
|
| 350 |
<h3>Appearance</h3>
|
| 351 |
<div class="form-group">
|
|
@@ -546,6 +560,70 @@
|
|
| 546 |
</div>
|
| 547 |
</div>
|
| 548 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 549 |
<!-- Read receipts modal -->
|
| 550 |
<div id="receipts-modal" class="modal hidden">
|
| 551 |
<div class="modal-backdrop" data-close="receipts-modal"></div>
|
|
@@ -621,6 +699,6 @@
|
|
| 621 |
|
| 622 |
<div id="toast-container" class="toast-container"></div>
|
| 623 |
|
| 624 |
-
<script src="/static/script.js"></script>
|
| 625 |
</body>
|
| 626 |
</html>
|
|
|
|
| 9 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 10 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 11 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 12 |
+
<link rel="stylesheet" href="/static/style.css?v=2">
|
| 13 |
</head>
|
| 14 |
<body>
|
| 15 |
<div id="auth-screen" class="screen active">
|
|
|
|
| 165 |
</div>
|
| 166 |
</div>
|
| 167 |
<div class="header-section header-right">
|
| 168 |
+
<button id="group-btn" class="btn-icon" aria-label="New group chat" title="New group chat">
|
| 169 |
+
<i class="fas fa-people-group"></i>
|
| 170 |
+
</button>
|
| 171 |
<button id="online-btn" class="btn-icon" aria-label="Online users" title="Online users">
|
| 172 |
<i class="fas fa-users"></i>
|
| 173 |
<span id="online-badge" class="badge hidden">0</span>
|
| 174 |
</button>
|
| 175 |
+
<button id="conv-options-btn" class="btn-icon" aria-label="Chat options" title="Chat options">
|
| 176 |
+
<i class="fas fa-ellipsis-h"></i>
|
| 177 |
+
</button>
|
| 178 |
<button id="settings-btn" class="btn-icon" aria-label="Settings" title="Settings">
|
| 179 |
<i class="fas fa-cog"></i>
|
| 180 |
</button>
|
|
|
|
| 352 |
<span id="pw-msg" class="form-hint"></span>
|
| 353 |
</section>
|
| 354 |
|
| 355 |
+
<section class="settings-section">
|
| 356 |
+
<h3>Privacy</h3>
|
| 357 |
+
<button id="refresh-blocks-btn" class="btn btn-secondary btn-sm">
|
| 358 |
+
<i class="fas fa-ban"></i> Refresh Blocked Users
|
| 359 |
+
</button>
|
| 360 |
+
<div id="blocked-users-list" class="blocked-users-list"></div>
|
| 361 |
+
</section>
|
| 362 |
+
|
| 363 |
<section class="settings-section">
|
| 364 |
<h3>Appearance</h3>
|
| 365 |
<div class="form-group">
|
|
|
|
| 560 |
</div>
|
| 561 |
</div>
|
| 562 |
|
| 563 |
+
<!-- Group creation modal -->
|
| 564 |
+
<div id="group-modal" class="modal hidden">
|
| 565 |
+
<div class="modal-backdrop" data-close="group-modal"></div>
|
| 566 |
+
<div class="modal-container modal-md">
|
| 567 |
+
<div class="modal-header">
|
| 568 |
+
<h2><i class="fas fa-people-group"></i> New Group Chat</h2>
|
| 569 |
+
<button class="btn-icon" data-close="group-modal">
|
| 570 |
+
<i class="fas fa-times"></i>
|
| 571 |
+
</button>
|
| 572 |
+
</div>
|
| 573 |
+
<div class="modal-body">
|
| 574 |
+
<div class="form-group">
|
| 575 |
+
<label for="group-name-input">Group name</label>
|
| 576 |
+
<div class="input-wrapper">
|
| 577 |
+
<input type="text" id="group-name-input" class="form-input" maxlength="60"
|
| 578 |
+
placeholder="e.g. Weekend Plans">
|
| 579 |
+
</div>
|
| 580 |
+
</div>
|
| 581 |
+
<div class="form-group">
|
| 582 |
+
<label for="group-user-search">Add people</label>
|
| 583 |
+
<div class="input-wrapper">
|
| 584 |
+
<input type="text" id="group-user-search" class="form-input"
|
| 585 |
+
placeholder="Search by name…">
|
| 586 |
+
</div>
|
| 587 |
+
</div>
|
| 588 |
+
<div id="group-user-results" class="conv-modal-list"></div>
|
| 589 |
+
<div id="group-selected-list" class="group-selected-list"></div>
|
| 590 |
+
</div>
|
| 591 |
+
<div class="modal-footer">
|
| 592 |
+
<button class="btn btn-ghost" data-close="group-modal">Cancel</button>
|
| 593 |
+
<button id="create-group-btn" class="btn btn-primary">
|
| 594 |
+
<i class="fas fa-plus"></i> Create Group
|
| 595 |
+
</button>
|
| 596 |
+
</div>
|
| 597 |
+
</div>
|
| 598 |
+
</div>
|
| 599 |
+
|
| 600 |
+
<!-- Conversation options modal -->
|
| 601 |
+
<div id="conv-options-modal" class="modal hidden">
|
| 602 |
+
<div class="modal-backdrop" data-close="conv-options-modal"></div>
|
| 603 |
+
<div class="modal-container modal-sm">
|
| 604 |
+
<div class="modal-header">
|
| 605 |
+
<h2 id="conv-options-title"><i class="fas fa-ellipsis-h"></i> Chat Options</h2>
|
| 606 |
+
<button class="btn-icon" data-close="conv-options-modal">
|
| 607 |
+
<i class="fas fa-times"></i>
|
| 608 |
+
</button>
|
| 609 |
+
</div>
|
| 610 |
+
<div class="modal-body conv-options-body">
|
| 611 |
+
<button id="rename-conv-btn" class="btn btn-secondary btn-block">
|
| 612 |
+
<i class="fas fa-pen"></i> Rename Chat
|
| 613 |
+
</button>
|
| 614 |
+
<button id="add-group-members-btn" class="btn btn-secondary btn-block">
|
| 615 |
+
<i class="fas fa-user-plus"></i> Add Members
|
| 616 |
+
</button>
|
| 617 |
+
<button id="block-conv-user-btn" class="btn btn-danger btn-block">
|
| 618 |
+
<i class="fas fa-ban"></i> Block Person
|
| 619 |
+
</button>
|
| 620 |
+
<button id="leave-conv-btn" class="btn btn-danger btn-block">
|
| 621 |
+
<i class="fas fa-sign-out-alt"></i> Leave/Delete Group
|
| 622 |
+
</button>
|
| 623 |
+
</div>
|
| 624 |
+
</div>
|
| 625 |
+
</div>
|
| 626 |
+
|
| 627 |
<!-- Read receipts modal -->
|
| 628 |
<div id="receipts-modal" class="modal hidden">
|
| 629 |
<div class="modal-backdrop" data-close="receipts-modal"></div>
|
|
|
|
| 699 |
|
| 700 |
<div id="toast-container" class="toast-container"></div>
|
| 701 |
|
| 702 |
+
<script src="/static/script.js?v=2"></script>
|
| 703 |
</body>
|
| 704 |
</html>
|