Download index.html from devlucem/cryptoflow-quantum-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 11.1 kB
-
https://huggingface.co/spaces/devlucem/cryptoflow-quantum-dashboard/resolve/main/index.html
- Command line
-
hf download hf://spaces/devlucem/cryptoflow-quantum-dashboard/index.html
-
curl -L -o index.html https://huggingface.co/spaces/devlucem/cryptoflow-quantum-dashboard/resolve/main/index.html
11.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>CryptoFlow Analytics Dashboard</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Dashboard Header --> | |
| <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8"> | |
| <div> | |
| <h1 class="text-3xl font-bold text-gray-800">Transaction Analytics</h1> | |
| <p class="text-gray-600 mt-2">Visualizing crypto transaction data across networks</p> | |
| </div> | |
| <div class="mt-4 md:mt-0 flex space-x-2"> | |
| <div class="relative"> | |
| <select class="time-period-select appearance-none bg-white border border-gray-300 rounded-lg px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Last 30 Days</option> | |
| <option>Last 60 Days</option> | |
| <option>Last 90 Days</option> | |
| <option>All Time</option> | |
| </select> | |
| <i data-feather="chevron-down" class="absolute right-3 top-2.5 text-gray-500"></i> | |
| </div> | |
| <button class="export-btn bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg flex items-center"> | |
| <i data-feather="download" class="mr-2 w-4 h-4"></i> Export | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8"> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Total Transactions</p> | |
| <h3 class="text-2xl font-bold mt-1">142</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-blue-50 text-blue-600"> | |
| <i data-feather="credit-card"></i> | |
| </div> | |
| </div> | |
| <p class="text-green-500 text-sm mt-2 flex items-center"> | |
| <i data-feather="trending-up" class="mr-1 w-4 h-4"></i> 12.5% from last period | |
| </p> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Total Volume</p> | |
| <h3 class="text-2xl font-bold mt-1">$1,204.87</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-purple-50 text-purple-600"> | |
| <i data-feather="dollar-sign"></i> | |
| </div> | |
| </div> | |
| <p class="text-green-500 text-sm mt-2 flex items-center"> | |
| <i data-feather="trending-up" class="mr-1 w-4 h-4"></i> 8.3% from last period | |
| </p> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Avg. Transaction</p> | |
| <h3 class="text-2xl font-bold mt-1">$8.49</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-green-50 text-green-600"> | |
| <i data-feather="activity"></i> | |
| </div> | |
| </div> | |
| <p class="text-red-500 text-sm mt-2 flex items-center"> | |
| <i data-feather="trending-down" class="mr-1 w-4 h-4"></i> 2.1% from last period | |
| </p> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-gray-500">Success Rate</p> | |
| <h3 class="text-2xl font-bold mt-1">100%</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-yellow-50 text-yellow-600"> | |
| <i data-feather="check-circle"></i> | |
| </div> | |
| </div> | |
| <p class="text-green-500 text-sm mt-2 flex items-center"> | |
| <i data-feather="trending-up" class="mr-1 w-4 h-4"></i> 1.2% from last period | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Main Charts --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"> | |
| <!-- Volume by Network --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold">Volume by Network</h2> | |
| <div class="relative"> | |
| <select class="asset-select appearance-none bg-white border border-gray-300 rounded-lg px-3 py-1 pr-6 text-sm focus:outline-none focus:ring-1 focus:ring-blue-500"> | |
| <option>USDC</option> | |
| <option>ETH</option> | |
| <option>MATIC</option> | |
| </select> | |
| <i data-feather="chevron-down" class="absolute right-2 top-1.5 text-gray-500 w-3 h-3"></i> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="networkChart"></canvas> | |
| </div> | |
| </div> | |
| <!-- Transactions Over Time --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold">Transactions Over Time</h2> | |
| <div class="flex space-x-1"> | |
| <button class="px-2 py-1 text-xs bg-gray-100 rounded">Day</button> | |
| <button class="px-2 py-1 text-xs bg-blue-600 text-white rounded">Week</button> | |
| <button class="px-2 py-1 text-xs bg-gray-100 rounded">Month</button> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="timelineChart"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Transaction Table --> | |
| <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden mb-8"> | |
| <div class="p-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="text-lg font-semibold">Recent Transactions</h2> | |
| <div class="flex items-center space-x-2"> | |
| <div class="relative"> | |
| <i data-feather="search" class="absolute left-3 top-2 text-gray-400"></i> | |
| <input type="text" placeholder="Search transactions..." class="pl-10 pr-4 py-1.5 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-1 focus:ring-blue-500"> | |
| </div> | |
| <button class="filter-btn p-1.5 rounded-lg border border-gray-300 hover:bg-gray-50"> | |
| <i data-feather="filter" class="w-4 h-4 text-gray-500"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Network</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Asset</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200" id="transactionTableBody"> | |
| <!-- Transactions will be populated by JavaScript --> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-200 flex items-center justify-between"> | |
| <div class="text-sm text-gray-500"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">10</span> of <span class="font-medium">142</span> transactions | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="pagination-btn px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="pagination-btn px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-white bg-blue-600 hover:bg-blue-700"> | |
| 1 | |
| </button> | |
| <button class="pagination-btn px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="pagination-btn px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <!-- Scripts --> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| // Vanta.js background effect | |
| VANTA.NET({ | |
| el: "body", | |
| color: 0x3b82f6, | |
| backgroundColor: 0xf9fafb, | |
| points: 12, | |
| maxDistance: 20, | |
| spacing: 15 | |
| }); | |
| </script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |