Spaces:
Running
Running
File size: 17,176 Bytes
2e6a52c ec988d8 |
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 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TigressTech AI Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
<script>const { animate } = anime;</script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.message-bubble {
border-radius: 18px;
transition: all 0.3s ease;
}
.message-bubble:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="flex flex-col min-h-screen">
<!-- Header -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="bg-white rounded-full p-2 shadow-md">
<i data-feather="cpu" class="text-indigo-600 w-8 h-8"></i>
</div>
<h1 class="text-2xl font-bold">TigressTech AI Dashboard</h1>
</div>
<div class="flex items-center space-x-4">
<div class="bg-white/20 rounded-full px-4 py-1 flex items-center">
<span class="h-3 w-3 bg-green-400 rounded-full mr-2 pulse"></span>
<span>Connected</span>
</div>
<button class="bg-white/20 hover:bg-white/30 rounded-full p-2 transition">
<i data-feather="settings"></i>
</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="flex-1 container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Column -->
<div class="lg:col-span-2 space-y-8">
<!-- Conversation Panel -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="bg-gray-50 px-6 py-4 border-b flex items-center justify-between">
<h2 class="text-lg font-semibold text-gray-800">
<i data-feather="message-square" class="inline mr-2"></i>
Recent Conversations
</h2>
<button class="text-indigo-600 hover:text-indigo-800">
<i data-feather="refresh-cw" class="w-5 h-5"></i>
</button>
</div>
<div class="p-6 h-96 overflow-y-auto" id="conversation-container">
<!-- Messages will be loaded here -->
<div class="space-y-4">
<div class="flex justify-end">
<div class="message-bubble bg-indigo-100 text-gray-800 px-4 py-3 max-w-xs lg:max-w-md">
<p class="font-medium">User:</p>
<p>How do I reset my password?</p>
<p class="text-xs text-gray-500 mt-1">2 min ago</p>
</div>
</div>
<div class="flex justify-start">
<div class="message-bubble bg-white border border-gray-200 px-4 py-3 max-w-xs lg:max-w-md">
<p class="font-medium">Tigra:</p>
<p>You can reset your password by going to Settings > Account > Reset Password. Let me know if you need further assistance!</p>
<p class="text-xs text-gray-500 mt-1">1 min ago</p>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-6 py-4 border-t">
<div class="flex">
<input type="text" placeholder="Type a message..." class="flex-1 border rounded-l-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<button class="bg-indigo-600 text-white px-4 py-2 rounded-r-lg hover:bg-indigo-700 transition">
<i data-feather="send" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- System Status -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="bg-gray-50 px-6 py-4 border-b">
<h2 class="text-lg font-semibold text-gray-800">
<i data-feather="activity" class="inline mr-2"></i>
System Status
</h2>
</div>
<div class="p-6">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-gray-50 rounded-lg p-4 border border-gray-200">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">Matrix Status</p>
<p class="text-2xl font-bold text-green-600">Online</p>
</div>
<div class="bg-green-100 p-3 rounded-full">
<i data-feather="check-circle" class="text-green-600 w-6 h-6"></i>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-lg p-4 border border-gray-200">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">LLM Status</p>
<p class="text-2xl font-bold text-green-600">Active</p>
</div>
<div class="bg-green-100 p-3 rounded-full">
<i data-feather="cpu" class="text-green-600 w-6 h-6"></i>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-lg p-4 border border-gray-200">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-gray-500">RAG Status</p>
<p class="text-2xl font-bold text-green-600">Ready</p>
</div>
<div class="bg-green-100 p-3 rounded-full">
<i data-feather="database" class="text-green-600 w-6 h-6"></i>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Right Column -->
<div class="space-y-8">
<!-- Quick Stats -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="bg-gray-50 px-6 py-4 border-b">
<h2 class="text-lg font-semibold text-gray-800">
<i data-feather="bar-chart-2" class="inline mr-2"></i>
Quick Stats
</h2>
</div>
<div class="p-6">
<div class="space-y-6">
<div>
<p class="text-sm text-gray-500">Messages Today</p>
<p class="text-3xl font-bold">42</p>
</div>
<div>
<p class="text-sm text-gray-500">Active Rooms</p>
<p class="text-3xl font-bold">8</p>
</div>
<div>
<p class="text-sm text-gray-500">Response Time</p>
<p class="text-3xl font-bold">1.2s</p>
</div>
</div>
</div>
</div>
<!-- Query Types -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="bg-gray-50 px-6 py-4 border-b">
<h2 class="text-lg font-semibold text-gray-800">
<i data-feather="filter" class="inline mr-2"></i>
Query Types
</h2>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="bg-indigo-100 p-2 rounded-full mr-3">
<i data-feather="help-circle" class="text-indigo-600 w-5 h-5"></i>
</div>
<span>General</span>
</div>
<span class="bg-gray-100 px-3 py-1 rounded-full text-sm">65%</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="bg-purple-100 p-2 rounded-full mr-3">
<i data-feather="tool" class="text-purple-600 w-5 h-5"></i>
</div>
<span>Technical</span>
</div>
<span class="bg-gray-100 px-3 py-1 rounded-full text-sm">20%</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="bg-pink-100 p-2 rounded-full mr-3">
<i data-feather="shopping-bag" class="text-pink-600 w-5 h-5"></i>
</div>
<span>Sales</span>
</div>
<span class="bg-gray-100 px-3 py-1 rounded-full text-sm">10%</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i data-feather="alert-triangle" class="text-yellow-600 w-5 h-5"></i>
</div>
<span>Complaints</span>
</div>
<span class="bg-gray-100 px-3 py-1 rounded-full text-sm">5%</span>
</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="bg-gray-50 px-6 py-4 border-b">
<h2 class="text-lg font-semibold text-gray-800">
<i data-feather="clock" class="inline mr-2"></i>
Recent Activity
</h2>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-full mr-3">
<i data-feather="message-square" class="text-green-600 w-5 h-5"></i>
</div>
<div>
<p class="font-medium">New message processed</p>
<p class="text-sm text-gray-500">2 minutes ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-blue-100 p-2 rounded-full mr-3">
<i data-feather="database" class="text-blue-600 w-5 h-5"></i>
</div>
<div>
<p class="font-medium">RAG context retrieved</p>
<p class="text-sm text-gray-500">5 minutes ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-100 p-2 rounded-full mr-3">
<i data-feather="cpu" class="text-purple-600 w-5 h-5"></i>
</div>
<div>
<p class="font-medium">LLM response generated</p>
<p class="text-sm text-gray-500">8 minutes ago</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-100 border-t py-6">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-2 mb-4 md:mb-0">
<i data-feather="code" class="text-indigo-600"></i>
<span class="text-gray-700">TigressTech AI v1.0.0</span>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-600 hover:text-indigo-600 transition">
<i data-feather="github"></i>
</a>
<a href="#" class="text-gray-600 hover:text-indigo-600 transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-600 hover:text-indigo-600 transition">
<i data-feather="mail"></i>
</a>
</div>
</div>
</div>
</footer>
</div>
<script>
feather.replace();
// Simple animation for message bubbles
document.addEventListener('DOMContentLoaded', function() {
anime({
targets: '.message-bubble',
opacity: [0, 1],
translateY: [20, 0],
duration: 800,
delay: anime.stagger(100)
});
});
</script>
</body>
</html>
|