-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
117 lines (104 loc) · 4.6 KB
/
Copy pathindex.html
File metadata and controls
117 lines (104 loc) · 4.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Roth AI</title>
<meta name="description" content="Roth - Local AI Assistant with Web Search">
<!-- External Stylesheet -->
<link rel="stylesheet" href="styles.css">
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="Assets/Roth-Logo.svg">
</head>
<body>
<!-- Loading Overlay -->
<div class="loading-overlay" id="loading-overlay">
<div class="loading-spinner"></div>
<p class="loading-text" id="loading-message">Initializing Roth AI...</p>
<div class="loading-progress">
<div class="loading-progress-bar" id="progress-bar" style="width: 0%"></div>
</div>
</div>
<!-- Onboarding Modal -->
<div class="modal-overlay hidden" id="onboarding-modal">
<div class="modal-content">
<h2 class="modal-title">🔍 Enable Web Search?</h2>
<p class="modal-text">
Roth can search the web to provide up-to-date information.
This requires installing a browser extension for search capabilities.
</p>
<div class="modal-buttons">
<button class="btn btn-primary" id="enable-search-btn">Enable Search</button>
<button class="btn btn-secondary" id="skip-search-btn">Continue Without</button>
</div>
</div>
</div>
<!-- Main App -->
<div class="app-wrapper">
<!-- Header -->
<header class="app-header">
<div class="header-brand">
<img src="Assets/Roth-Logo.svg" alt="Roth Logo" class="header-logo">
<h1 class="header-title">Roth</h1>
</div>
<div class="header-status" id="status-badge">
<span class="text-muted">Loading...</span>
</div>
</header>
<!-- Main Content -->
<main class="app-main">
<!-- Chat Panel (Left) -->
<section class="chat-panel">
<!-- Welcome Screen -->
<div class="welcome-container" id="welcome-screen">
<img src="Assets/Roth-Logo.svg" alt="Roth" class="welcome-logo">
<h2 class="welcome-title">Hi! How can I help you?</h2>
</div>
<!-- Chat Container -->
<div class="chat-container hidden" id="chat-container">
<!-- Messages will be inserted here -->
</div>
<!-- Input Area -->
<div class="input-container">
<div class="input-box">
<textarea class="input-textarea" id="user-input" placeholder="Type your message..."
rows="1"></textarea>
<button class="input-button" id="send-btn" title="Send message">
<img src="Assets/Send-Button.svg" alt="Send" id="send-icon">
</button>
</div>
</div>
</section>
<!-- Monitoring Panel (Right - Desktop Only) -->
<aside class="monitoring-panel" id="monitoring-panel">
<!-- Process Section -->
<div class="panel-section" id="process-section">
<div class="panel-header">
<img src="Assets/TickMarkIcon.svg" alt="" class="panel-header-icon">
<h2 class="panel-title">Process</h2>
</div>
<div class="panel-content" id="process-content">
<div class="panel-empty" id="process-empty">
No processes<br>Start a conversation...
</div>
</div>
</div>
<!-- Reasoning Section -->
<div class="panel-section" id="reasoning-section">
<div class="panel-header">
<img src="Assets/Brain-lightning.svg" alt="" class="panel-header-icon">
<h2 class="panel-title">Reasoning</h2>
</div>
<div class="panel-content" id="reasoning-content">
<div class="panel-empty" id="reasoning-empty">
I haven't thought about anything yet...<br>Ask me something to get started
</div>
</div>
</div>
</aside>
</main>
</div>
<!-- Scripts -->
<script type="module" src="dist/tinkering.js"></script>
</body>
</html>