Edmilsontec/blaze-double-bot-automator
0
1<!DOCTYPE html>2<html lang="pt-BR">3<head>4 <meta charset="UTF-8">5 <meta name="viewport" content="width=device-width, initial-scale=1.0">6 <title>Histórico - Blaze Double Bot</title>7 <link rel="icon" type="image/x-icon" href="/static/favicon.ico">8 <link rel="stylesheet" href="style.css">9 <script src="https://cdn.tailwindcss.com"></script>10 <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>11 <script src="https://unpkg.com/feather-icons"></script>12</head>13<body class="bg-gray-900 text-white min-h-screen">14 <custom-navbar></custom-navbar>15 16 <main class="container mx-auto px-4 py-8">17 <div class="max-w-6xl mx-auto">18 <!-- Header Section -->19 <div class="text-center mb-12">20 <h1 class="text-4xl font-bold mb-4 bg-gradient-to-r from-purple-500 to-blue-500 bg-clip-text text-transparent">21 📊 Histórico Detalhado22 </h1>23 <p class="text-gray-400 text-lg">Analise seu desempenho e resultados</p>24 </div>25 26 <!-- Statistics Overview -->27 <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">28 <div class="bg-gray-800 rounded-lg p-6 text-center">29 <i data-feather="trending-up" class="w-8 h-8 mx-auto mb-2 text-green-400"></i>30 <h3 class="text-lg font-semibold">Taxa de Acerto</h3>31 <p class="text-green-400 text-xl font-bold">65%</p>32 </div>33 <div class="bg-gray-800 rounded-lg p-6 text-center">34 <i data-feather="dollar-sign" class="w-8 h-8 mx-auto mb-2 text-yellow-400"></i>35 <h3 class="text-lg font-semibold">Lucro Total</h3>36 <p class="text-yellow-400 text-xl font-bold">R$ 245,50</p>37 </div>38 <div class="bg-gray-800 rounded-lg p-6 text-center">39 <i data-feather="award" class="w-8 h-8 mx-auto mb-2 text-blue-400"></i>40 <h3 class="text-lg font-semibold">Melhor Sequência</h3>41 <p class="text-blue-400 text-xl font-bold">8 Wins</p>42 </div>43 <div class="bg-gray-800 rounded-lg p-6 text-center">44 <i data-feather="clock" class="w-8 h-8 mx-auto mb-2 text-purple-400"></i>45 <h3 class="text-lg font-semibold">Tempo Ativo</h3>46 <p class="text-purple-400 text-xl font-bold">2h 45m</p>47 </div>48 </div>49 50 <!-- Detailed History -->51 <div class="bg-gray-800 rounded-xl p-8">52 <h2 class="text-2xl font-bold mb-6">📈 Histórico Completo</h2>53 <div class="overflow-x-auto">54 <table class="w-full">55 <thead>56 <tr class="border-b border-gray-700">57 <th class="py-3 text-left">Data/Hora</th>58 <th class="py-3 text-left">Cor</th>59 <th class="py-3 text-left">Valor</th>60 <th class="py-3 text-left">Resultado</th>61 <th class="py-3 text-left">Lucro/Prejuízo</th>62 </tr>63 </thead>64 <tbody id="detailedHistory">65 <!-- Histórico será populado aqui -->66 </tbody>67 </table>68 </div>69 </div>70 </div>71 </main>72 73 <custom-footer></custom-footer>74 75 <!-- Component Scripts -->76 <script src="components/navbar.js"></script>77 <script src="components/footer.js"></script>78 79 <script src="script.js"></script>80 <script>81 feather.replace();82 83 // Simular dados do histórico84 document.addEventListener('DOMContentLoaded', function() {85 const historyData = [86 { time: '14:30:25', color: 'Vermelho', amount: 'R$ 5,00', result: 'WIN', profit: 'R$ 5,00' },87 { time: '14:29:10', color: 'Preto', amount: 'R$ 5,00', result: 'LOSS', profit: '-R$ 5,00' },88 { time: '14:28:45', color: 'Vermelho', amount: 'R$ 10,00', result: 'WIN', profit: 'R$ 10,00' },89 { time: '14:27:30', color: 'Branco', amount: 'R$ 2,00', result: 'WIN', profit: 'R$ 26,00' },90 { time: '14:26:15', color: 'Preto', amount: 'R$ 5,00', result: 'LOSS', profit: '-R$ 5,00' }91 ];92 93 const tableBody = document.getElementById('detailedHistory');94 historyData.forEach(entry => {95 const row = document.createElement('tr');96 row.className = 'border-b border-gray-700 hover:bg-gray-700 transition duration-200';97 row.innerHTML = `98 <td class="py-3">${entry.time}</td>99 <td class="py-3">${entry.color}</td>100 <td class="py-3">${entry.amount}</td>101 <td class="py-3 ${entry.result === 'WIN' ? 'text-green-400' : 'text-red-400'}">${entry.result}</td>102 <td class="py-3 ${entry.profit.includes('-') ? 'text-red-400' : 'text-green-400'}">${entry.profit}</td>103 `;104 tableBody.appendChild(row);105 });106 });107 </script>108</body>109</html>