Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- static/css/style.css +8 -0
- templates/chat.html +2 -4
- templates/moderation.html +3 -0
- templates/search.html +3 -0
- templates/settings.html +3 -0
- templates/user_profile.html +3 -0
static/css/style.css
CHANGED
|
@@ -836,6 +836,14 @@ input:focus {
|
|
| 836 |
width: 250px;
|
| 837 |
}
|
| 838 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 839 |
.sidebar-overlay {
|
| 840 |
display: none;
|
| 841 |
position: fixed;
|
|
|
|
| 836 |
width: 250px;
|
| 837 |
}
|
| 838 |
|
| 839 |
+
<<<<<<< HEAD
|
| 840 |
+
=======
|
| 841 |
+
.sidebar.open .logo-text,
|
| 842 |
+
.sidebar.open .nav-link span:not(.icon) {
|
| 843 |
+
display: inline;
|
| 844 |
+
}
|
| 845 |
+
|
| 846 |
+
>>>>>>> 0a2448e79f79a08253d8b42ee8fbb44ea87d4f33
|
| 847 |
.sidebar-overlay {
|
| 848 |
display: none;
|
| 849 |
position: fixed;
|
templates/chat.html
CHANGED
|
@@ -537,15 +537,13 @@
|
|
| 537 |
function formatDate(dateStr) {
|
| 538 |
if (!dateStr) return '';
|
| 539 |
const d = new Date(dateStr);
|
| 540 |
-
|
| 541 |
-
'July','August','September','October','November','December'];
|
| 542 |
-
return `${months[d.getMonth()]} ${d.getDate()}, ${d.getFullYear()}`;
|
| 543 |
}
|
| 544 |
|
| 545 |
function formatTime(dateStr) {
|
| 546 |
if (!dateStr) return '';
|
| 547 |
const d = new Date(dateStr);
|
| 548 |
-
return d.toLocaleTimeString('en-US', { hour: '2-digit', minute: '2-digit', hour12: false });
|
| 549 |
}
|
| 550 |
|
| 551 |
function escapeHtml(text) {
|
|
|
|
| 537 |
function formatDate(dateStr) {
|
| 538 |
if (!dateStr) return '';
|
| 539 |
const d = new Date(dateStr);
|
| 540 |
+
return d.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'Asia/Jerusalem' });
|
|
|
|
|
|
|
| 541 |
}
|
| 542 |
|
| 543 |
function formatTime(dateStr) {
|
| 544 |
if (!dateStr) return '';
|
| 545 |
const d = new Date(dateStr);
|
| 546 |
+
return d.toLocaleTimeString('en-US', { hour: '2-digit', minute: '2-digit', hour12: false, timeZone: 'Asia/Jerusalem' });
|
| 547 |
}
|
| 548 |
|
| 549 |
function escapeHtml(text) {
|
templates/moderation.html
CHANGED
|
@@ -457,5 +457,8 @@
|
|
| 457 |
return div.innerHTML;
|
| 458 |
}
|
| 459 |
</script>
|
|
|
|
|
|
|
|
|
|
| 460 |
</body>
|
| 461 |
</html>
|
|
|
|
| 457 |
return div.innerHTML;
|
| 458 |
}
|
| 459 |
</script>
|
| 460 |
+
<script>
|
| 461 |
+
function toggleMobileMenu(){var s=document.querySelector('.sidebar'),o=document.querySelector('.sidebar-overlay');s.classList.toggle('open');if(o)o.classList.toggle('active');}
|
| 462 |
+
</script>
|
| 463 |
</body>
|
| 464 |
</html>
|
templates/search.html
CHANGED
|
@@ -357,5 +357,8 @@
|
|
| 357 |
document.getElementById('search-input').focus();
|
| 358 |
});
|
| 359 |
</script>
|
|
|
|
|
|
|
|
|
|
| 360 |
</body>
|
| 361 |
</html>
|
|
|
|
| 357 |
document.getElementById('search-input').focus();
|
| 358 |
});
|
| 359 |
</script>
|
| 360 |
+
<script>
|
| 361 |
+
function toggleMobileMenu(){var s=document.querySelector('.sidebar'),o=document.querySelector('.sidebar-overlay');s.classList.toggle('open');if(o)o.classList.toggle('active');}
|
| 362 |
+
</script>
|
| 363 |
</body>
|
| 364 |
</html>
|
templates/settings.html
CHANGED
|
@@ -442,5 +442,8 @@ python indexer.py result.json --db telegram.db
|
|
| 442 |
resultStats.innerHTML = '';
|
| 443 |
}
|
| 444 |
</script>
|
|
|
|
|
|
|
|
|
|
| 445 |
</body>
|
| 446 |
</html>
|
|
|
|
| 442 |
resultStats.innerHTML = '';
|
| 443 |
}
|
| 444 |
</script>
|
| 445 |
+
<script>
|
| 446 |
+
function toggleMobileMenu(){var s=document.querySelector('.sidebar'),o=document.querySelector('.sidebar-overlay');s.classList.toggle('open');if(o)o.classList.toggle('active');}
|
| 447 |
+
</script>
|
| 448 |
</body>
|
| 449 |
</html>
|
templates/user_profile.html
CHANGED
|
@@ -719,5 +719,8 @@
|
|
| 719 |
});
|
| 720 |
}
|
| 721 |
</script>
|
|
|
|
|
|
|
|
|
|
| 722 |
</body>
|
| 723 |
</html>
|
|
|
|
| 719 |
});
|
| 720 |
}
|
| 721 |
</script>
|
| 722 |
+
<script>
|
| 723 |
+
function toggleMobileMenu(){var s=document.querySelector('.sidebar'),o=document.querySelector('.sidebar-overlay');s.classList.toggle('open');if(o)o.classList.toggle('active');}
|
| 724 |
+
</script>
|
| 725 |
</body>
|
| 726 |
</html>
|