Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +4 -15
index.html
CHANGED
|
@@ -440,10 +440,9 @@
|
|
| 440 |
<header>
|
| 441 |
<div class="container header-content">
|
| 442 |
<div class="logo">
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
|
| 446 |
-
</div>
|
| 447 |
<div class="session-info">
|
| 448 |
<div class="security-badge">
|
| 449 |
<i class="fas fa-lock"></i>
|
|
@@ -496,7 +495,7 @@
|
|
| 496 |
<i class="fas fa-history"></i> Session History
|
| 497 |
</div>
|
| 498 |
<div class="card-body" id="historyList">
|
| 499 |
-
<p style="color: var(--gray); text-align: center;">
|
| 500 |
</div>
|
| 501 |
</div>
|
| 502 |
|
|
@@ -693,16 +692,6 @@
|
|
| 693 |
}
|
| 694 |
}
|
| 695 |
|
| 696 |
-
// Format history date
|
| 697 |
-
function formatHistoryDate(timestamp) {
|
| 698 |
-
try {
|
| 699 |
-
const date = new Date(timestamp);
|
| 700 |
-
return date.toLocaleString();
|
| 701 |
-
} catch {
|
| 702 |
-
return "Unknown time";
|
| 703 |
-
}
|
| 704 |
-
}
|
| 705 |
-
|
| 706 |
// Truncate text for history display
|
| 707 |
function truncateText(text, maxLength) {
|
| 708 |
if (!text) return "";
|
|
|
|
| 440 |
<header>
|
| 441 |
<div class="container header-content">
|
| 442 |
<div class="logo">
|
| 443 |
+
<img src="static/logo.jpg" alt="Logo" style="height: 85px; width: auto;">
|
| 444 |
+
<h1>Irish Legal AI Assistant</h1>
|
| 445 |
+
</div>
|
|
|
|
| 446 |
<div class="session-info">
|
| 447 |
<div class="security-badge">
|
| 448 |
<i class="fas fa-lock"></i>
|
|
|
|
| 495 |
<i class="fas fa-history"></i> Session History
|
| 496 |
</div>
|
| 497 |
<div class="card-body" id="historyList">
|
| 498 |
+
<p style="color: var(--gray); text-align: center;">No history yet</p>
|
| 499 |
</div>
|
| 500 |
</div>
|
| 501 |
|
|
|
|
| 692 |
}
|
| 693 |
}
|
| 694 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 695 |
// Truncate text for history display
|
| 696 |
function truncateText(text, maxLength) {
|
| 697 |
if (!text) return "";
|