Spaces:
Running
Running
File size: 32,009 Bytes
9796c0c |
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 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VoIP.ms Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#8b5cf6',
dark: '#0f172a',
light: '#f8fafc'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
color: #f8fafc;
min-height: 100vh;
}
.card {
background: rgba(30, 41, 59, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}
.tab-active {
background: rgba(99, 102, 241, 0.2);
border-left: 3px solid #6366f1;
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
.message-bubble {
max-width: 70%;
border-radius: 18px;
}
.message-bubble.sent {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
border-bottom-right-radius: 4px;
}
.message-bubble.received {
background: rgba(30, 41, 59, 0.7);
border-bottom-left-radius: 4px;
}
.glow {
text-shadow: 0 0 10px rgba(99, 102, 241, 0.7);
}
.fade-in {
animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
</style>
</head>
<body class="p-4 md:p-6">
<!-- Main Container -->
<div class="max-w-7xl mx-auto">
<!-- Header -->
<header class="flex flex-col md:flex-row justify-between items-center mb-8 gap-4">
<div class="flex items-center gap-3">
<div class="bg-gradient-to-br from-primary to-secondary p-3 rounded-xl">
<i class="fas fa-phone-alt text-white text-2xl"></i>
</div>
<div>
<h1 class="text-2xl md:text-3xl font-bold">VoIP.ms</h1>
<p class="text-gray-400 text-sm">Professional Communication Suite</p>
</div>
</div>
<div class="flex items-center gap-4">
<div class="flex items-center gap-2 bg-gray-800 px-4 py-2 rounded-lg">
<i class="fas fa-wallet text-primary"></i>
<span class="font-medium">$<span id="balance">{{ACCOUNT_BALANCE}}</span></span>
</div>
<div class="relative">
<button id="user-menu" class="flex items-center gap-2 bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg transition">
<div class="w-8 h-8 rounded-full bg-gradient-to-br from-primary to-secondary flex items-center justify-center">
<i class="fas fa-user text-white"></i>
</div>
<span class="hidden md:inline" id="userEmail">{{ACCOUNT_EMAIL}}</span>
<i class="fas fa-chevron-down text-xs"></i>
</button>
<div id="user-dropdown" class="absolute right-0 mt-2 w-48 bg-gray-800 rounded-lg shadow-lg py-2 hidden z-10">
<a href="#" class="block px-4 py-2 hover:bg-gray-700">Account Settings</a>
<a href="#" class="block px-4 py-2 hover:bg-gray-700">Billing</a>
<a href="#" class="block px-4 py-2 hover:bg-gray-700">Logout</a>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<div class="flex flex-col lg:flex-row gap-6">
<!-- Sidebar -->
<div class="w-full lg:w-64 flex-shrink-0">
<div class="card rounded-xl p-4">
<nav>
<ul class="space-y-1">
<li>
<button class="w-full text-left px-4 py-3 rounded-lg flex items-center gap-3 tab-active">
<i class="fas fa-tachometer-alt"></i>
<span>Dashboard</span>
</button>
</li>
<li>
<button class="w-full text-left px-4 py-3 rounded-lg flex items-center gap-3 hover:bg-gray-700 transition">
<i class="fas fa-phone"></i>
<span>Calls</span>
</button>
</li>
<li>
<button class="w-full text-left px-4 py-3 rounded-lg flex items-center gap-3 hover:bg-gray-700 transition">
<i class="fas fa-sms"></i>
<span>Messages</span>
</button>
</li>
<li>
<button class="w-full text-left px-4 py-3 rounded-lg flex items-center gap-3 hover:bg-gray-700 transition">
<i class="fas fa-sim-card"></i>
<span>DIDs</span>
</button>
</li>
<li>
<button class="w-full text-left px-4 py-3 rounded-lg flex items-center gap-3 hover:bg-gray-700 transition">
<i class="fas fa-cog"></i>
<span>Settings</span>
</button>
</li>
</ul>
</nav>
<div class="mt-6 pt-4 border-t border-gray-700">
<h3 class="px-4 text-gray-400 text-sm font-medium mb-2">YOUR DIDs</h3>
<ul class="space-y-1">
<li>
<button class="w-full text-left px-4 py-2 rounded-lg flex items-center gap-3 hover:bg-gray-700 transition">
<div class="w-3 h-3 rounded-full {{DID_STATUS_COLOR}}"></div>
<span>{{DID_NUMBER}}</span>
</button>
</li>
<li>
<button class="w-full text-left px-4 py-2 rounded-lg flex items-center gap-3 hover:bg-gray-700 transition">
<div class="w-3 h-3 rounded-full {{DID_STATUS_COLOR}}"></div>
<span>{{DID_NUMBER}}</span>
</button>
</li>
<li>
<button class="w-full text-left px-4 py-2 rounded-lg flex items-center gap-3 hover:bg-gray-700 transition">
<div class="w-3 h-3 rounded-full {{DID_STATUS_COLOR}}"></div>
<span>{{DID_NUMBER}}</span>
</button>
</li>
</ul>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="flex-grow">
<!-- Stats Overview -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
<div class="card rounded-xl p-5">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Total Calls</p>
<p class="text-2xl font-bold mt-1">142</p>
</div>
<div class="bg-indigo-500/20 p-3 rounded-lg">
<i class="fas fa-phone-volume text-indigo-400 text-xl"></i>
</div>
</div>
<div class="mt-4">
<div class="flex items-center {{CALLS_TREND_CLASS}}">
<i class="fas {{CALLS_TREND_ICON}}"></i>
<span class="ml-1">{{CALLS_TREND_VALUE}} from last month</span>
</div>
</div>
</div>
<div class="card rounded-xl p-5">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Messages</p>
<p class="text-2xl font-bold mt-1">248</p>
</div>
<div class="bg-purple-500/20 p-3 rounded-lg">
<i class="fas fa-sms text-purple-400 text-xl"></i>
</div>
</div>
<div class="mt-4">
<div class="flex items-center {{MESSAGES_TREND_CLASS}}">
<i class="fas {{MESSAGES_TREND_ICON}}"></i>
<span class="ml-1">{{MESSAGES_TREND_VALUE}} from last month</span>
</div>
</div>
</div>
<div class="card rounded-xl p-5">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Active DIDs</p>
<p class="text-2xl font-bold mt-1">3</p>
</div>
<div class="bg-blue-500/20 p-3 rounded-lg">
<i class="fas fa-sim-card text-blue-400 text-xl"></i>
</div>
</div>
<div class="mt-4">
<div class="flex items-center {{DIDS_TREND_CLASS}}">
<i class="fas {{DIDS_TREND_ICON}}"></i>
<span class="ml-1">{{DIDS_TREND_VALUE}} this month</span>
</div>
</div>
</div>
</div>
<!-- Main Content Tabs -->
<div class="card rounded-xl overflow-hidden">
<!-- Tab Headers -->
<div class="flex border-b border-gray-700">
<button class="px-6 py-4 font-medium border-b-2 border-primary">Messages</button>
<button class="px-6 py-4 font-medium text-gray-400 hover:text-white">Calls</button>
<button class="px-6 py-4 font-medium text-gray-400 hover:text-white">DID Management</button>
<button class="px-6 py-4 font-medium text-gray-400 hover:text-white">Settings</button>
</div>
<!-- Tab Content -->
<div class="p-6">
<!-- Messages Tab -->
<div>
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Messages</h2>
<div class="flex gap-2">
<button class="bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg flex items-center gap-2">
<i class="fas fa-sync-alt"></i>
<span>Refresh</span>
</button>
<button class="bg-gradient-to-r from-primary to-secondary hover:opacity-90 px-4 py-2 rounded-lg flex items-center gap-2">
<i class="fas fa-plus"></i>
<span>New Message</span>
</button>
</div>
</div>
<div class="flex flex-col md:flex-row gap-6">
<!-- Conversation List -->
<div class="w-full md:w-1/3">
<div class="relative mb-4">
<input type="text" placeholder="Search conversations..." class="w-full bg-gray-800 rounded-lg py-3 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary">
<i class="fas fa-search absolute left-3 top-3.5 text-gray-500"></i>
</div>
<div class="space-y-2 max-h-[500px] overflow-y-auto pr-2">
<div class="bg-gray-800 rounded-lg p-4 cursor-pointer hover:bg-gray-700 transition">
<div class="flex justify-between">
<h3 class="font-bold">John Smith</h3>
<span class="text-xs text-gray-400">2:45 PM</span>
</div>
<p class="text-gray-400 text-sm truncate">Thanks for the update! Looking forward to...</p>
</div>
<div class="bg-gray-800 rounded-lg p-4 cursor-pointer hover:bg-gray-700 transition">
<div class="flex justify-between">
<h3 class="font-bold">Marketing Team</h3>
<span class="text-xs text-gray-400">11:30 AM</span>
</div>
<p class="text-gray-400 text-sm truncate">Meeting rescheduled to tomorrow at 3 PM</p>
</div>
<div class="bg-gray-800 rounded-lg p-4 cursor-pointer hover:bg-gray-700 transition">
<div class="flex justify-between">
<h3 class="font-bold">Customer Support</h3>
<span class="text-xs text-gray-400">Yesterday</span>
</div>
<p class="text-gray-400 text-sm truncate">Your ticket #12345 has been resolved</p>
</div>
<div class="bg-gray-800 rounded-lg p-4 cursor-pointer hover:bg-gray-700 transition">
<div class="flex justify-between">
<h3 class="font-bold">Sarah Johnson</h3>
<span class="text-xs text-gray-400">Jun 12</span>
</div>
<p class="text-gray-400 text-sm truncate">Can we schedule a call next week?</p>
</div>
</div>
</div>
<!-- Chat Area -->
<div class="flex-grow flex flex-col">
<div class="flex items-center justify-between mb-4 pb-4 border-b border-gray-700">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-primary to-secondary flex items-center justify-center">
<span class="font-bold">JS</span>
</div>
<div>
<h3 class="font-bold">John Smith</h3>
<p class="text-sm text-green-500 flex items-center gap-1">
<span class="w-2 h-2 rounded-full bg-green-500"></span>
Online
</p>
</div>
</div>
<div class="flex gap-2">
<button class="w-10 h-10 rounded-full bg-gray-800 hover:bg-gray-700 flex items-center justify-center">
<i class="fas fa-phone"></i>
</button>
<button class="w-10 h-10 rounded-full bg-gray-800 hover:bg-gray-700 flex items-center justify-center">
<i class="fas fa-video"></i>
</button>
</div>
</div>
<!-- Messages -->
<div class="flex-grow overflow-y-auto mb-4 space-y-4 max-h-[400px] pr-2">
<div class="flex justify-end">
<div class="message-bubble sent p-4">
<p>Hi John, just wanted to check in on the project status.</p>
<div class="text-right text-xs text-indigo-200 mt-1">2:42 PM</div>
</div>
</div>
<div class="flex justify-start">
<div class="message-bubble received p-4">
<p>Hey! We're making good progress. Should be ready by Friday.</p>
<div class="text-left text-xs text-gray-400 mt-1">2:43 PM</div>
</div>
</div>
<div class="flex justify-end">
<div class="message-bubble sent p-4">
<p>That's great news! Can you send me the latest files when you get a chance?</p>
<div class="text-right text-xs text-indigo-200 mt-1">2:44 PM</div>
</div>
</div>
<div class="flex justify-start">
<div class="message-bubble received p-4">
<p>Sure thing! I'll email them over in the next hour.</p>
<div class="text-left text-xs text-gray-400 mt-1">2:45 PM</div>
</div>
</div>
</div>
<!-- Message Input -->
<div class="flex gap-2">
<input type="text" placeholder="Type a message..." class="flex-grow bg-gray-800 rounded-lg py-3 px-4 focus:outline-none focus:ring-2 focus:ring-primary">
<button class="bg-gradient-to-r from-primary to-secondary hover:opacity-90 w-12 h-12 rounded-lg flex items-center justify-center">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Calls Tab (Hidden by default) -->
<div class="hidden">
<!-- Call Management Content -->
</div>
<!-- DID Management Tab (Hidden by default) -->
<div class="hidden">
<!-- DID Management Content -->
</div>
<!-- Settings Tab (Hidden by default) -->
<div class="hidden">
<!-- Settings Content -->
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="card rounded-xl p-6 mt-6">
<h2 class="text-xl font-bold mb-4">Recent Activity</h2>
<div class="space-y-4">
<div class="flex items-start gap-4">
<div class="w-10 h-10 rounded-full bg-green-500/20 flex items-center justify-center">
<i class="fas fa-sms text-green-500"></i>
</div>
<div>
<p class="font-medium">New message from John Smith</p>
<p class="text-gray-400 text-sm">"Thanks for the update! Looking forward to..."</p>
<p class="text-gray-500 text-xs mt-1">2:45 PM</p>
</div>
</div>
<div class="flex items-start gap-4">
<div class="w-10 h-10 rounded-full bg-blue-500/20 flex items-center justify-center">
<i class="fas fa-phone text-blue-500"></i>
</div>
<div>
<p class="font-medium">Incoming call from (555) 123-4567</p>
<p class="text-gray-400 text-sm">Duration: 5 minutes 23 seconds</p>
<p class="text-gray-500 text-xs mt-1">1:30 PM</p>
</div>
</div>
<div class="flex items-start gap-4">
<div class="w-10 h-10 rounded-full bg-purple-500/20 flex items-center justify-center">
<i class="fas fa-cog text-purple-500"></i>
</div>
<div>
<p class="font-medium">CNAM updated for (555) 987-6543</p>
<p class="text-gray-400 text-sm">Changed to "Marketing Department"</p>
<p class="text-gray-500 text-xs mt-1">11:45 AM</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 𧬠<a href="https://enzostvs-deepsite.hf.space?remix=RobinsAIWorld/voipms" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |