Spaces:
Running
Running
File size: 17,559 Bytes
2d08b43 |
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 |
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TradeFlow Pro Nexus - EA Control</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#10b981'
}
}
}
}
</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; }
.glass-effect { backdrop-filter: blur(16px) saturate(180%); background: rgba(17, 25, 40, 0.75); }
.gradient-bg { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); }
.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; }
@media (min-width: 1024px) {
.mobile-bottom-nav { display: none; }
}
.status-active { background: linear-gradient(90deg, #10b98120, #10b98110); border-left: 4px solid #10b981; }
.status-paused { background: linear-gradient(90deg, #f59e0b20, #f59e0b10); border-left: 4px solid #f59e0b; }
.status-error { background: linear-gradient(90deg, #ef444420, #ef444410); border-left: 4px solid #ef4444; }
</style>
</head>
<body class="gradient-bg min-h-screen text-white">
<!-- Desktop Navigation -->
<nav class="hidden lg:flex glass-effect border-b border-gray-700 p-4">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="trending-up" class="text-primary"></i>
<span class="text-xl font-bold">TradeFlow Pro</span>
</div>
<div class="flex space-x-6">
<a href="index.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="bar-chart-2"></i>
<span>Dashboard</span>
</a>
<a href="ea-control.html" class="flex items-center space-x-1 text-primary border-b-2 border-primary pb-1">
<i data-feather="cpu"></i>
<span>EA Control</span>
</a>
<a href="trading.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="activity"></i>
<span>Trading</span>
</a>
<a href="protection.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="shield"></i>
<span>Protection</span>
</a>
<a href="analytics.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="pie-chart"></i>
<span>Analytics</span>
</a>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<i data-feather="bell" class="cursor-pointer"></i>
<span class="absolute -top-1 -right-1 bg-red-500 text-xs rounded-full w-4 h-4 flex items-center justify-center">2</span>
</div>
<div class="flex items-center space-x-2">
<div class="w-8 h-8 bg-primary rounded-full flex items-center justify-center">
<i data-feather="user" class="w-4 h-4"></i>
</div>
<span>Trader</span>
</div>
</div>
</div>
</nav>
<!-- Mobile Bottom Navigation -->
<nav class="mobile-bottom-nav glass-effect border-t border-gray-700 lg:hidden">
<div class="flex justify-around items-center py-3">
<a href="index.html" class="flex flex-col items-center text-gray-400">
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
<span class="text-xs mt-1">Dashboard</span>
</a>
<a href="ea-control.html" class="flex flex-col items-center text-primary">
<i data-feather="cpu" class="w-5 h-5"></i>
<span class="text-xs mt-1">EAs</span>
</a>
<a href="trading.html" class="flex flex-col items-center text-gray-400">
<i data-feather="activity" class="w-5 h-5"></i>
<span class="text-xs mt-1">Trade</span>
</a>
<a href="protection.html" class="flex flex-col items-center text-gray-400">
<i data-feather="shield" class="w-5 h-5"></i>
<span class="text-xs mt-1">Shield</span>
</a>
<a href="analytics.html" class="flex flex-col items-center text-gray-400">
<i data-feather="pie-chart" class="w-5 h-5"></i>
<span class="text-xs mt-1">Stats</span>
</a>
</div>
</nav>
<!-- Main Content -->
<main class="container mx-auto px-4 py-6 lg:py-8 pb-20 lg:pb-8">
<!-- Header -->
<div class="glass-effect rounded-xl p-6 mb-6">
<div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
<div>
<h1 class="text-2xl font-bold mb-2">Expert Advisor Control Center</h1>
<p class="text-gray-400">Monitor and manage all your automated trading strategies in real-time</p>
</div>
<div class="flex space-x-3 mt-4 lg:mt-0">
<button class="bg-primary hover:bg-primary/80 px-4 py-2 rounded-lg flex items-center space-x-2">
<i data-feather="plus" class="w-4 h-4"></i>
<span>Add EA</span>
</button>
<button class="bg-gray-700 hover:bg-gray-600 px-4 py-2 rounded-lg flex items-center space-x-2">
<i data-feather="settings" class="w-4 h-4"></i>
<span>Settings</span>
</button>
</div>
</div>
</div>
<!-- EA Dashboard -->
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6 mb-6">
<div class="glass-effect rounded-xl p-6 text-center">
<div class="text-3xl font-bold text-primary mb-2">8</div>
<div class="text-gray-400">Total EAs</div>
</div>
<div class="glass-effect rounded-xl p-6 text-center">
<div class="text-3xl font-bold text-green-500 mb-2">5</div>
<div class="text-gray-400">Active</div>
</div>
<div class="glass-effect rounded-xl p-6 text-center">
<div class="text-3xl font-bold text-yellow-500 mb-2">2</div>
<div class="text-gray-400">Paused</div>
</div>
<div class="glass-effect rounded-xl p-6 text-center">
<div class="text-3xl font-bold text-red-500 mb-2">1</div>
<div class="text-gray-400">Errors</div>
</div>
</div>
<!-- EA List -->
<div class="glass-effect rounded-xl p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-lg font-semibold">Managed Expert Advisors</h2>
<div class="flex space-x-2">
<div class="relative">
<input type="text" placeholder="Search EAs..." class="bg-gray-800 border border-gray-600 rounded-lg pl-10 pr-4 py-2 text-sm w-64">
<i data-feather="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"></i>
</div>
<button class="bg-gray-700 hover:bg-gray-600 px-3 py-2 rounded-lg">
<i data-feather="filter" class="w-4 h-4"></i>
</button>
</div>
</div>
<!-- EA Items -->
<div class="space-y-4">
<!-- EA 1 -->
<div class="status-active rounded-lg p-4">
<div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
<div class="flex items-center space-x-4 mb-3 lg:mb-0">
<div class="w-12 h-12 bg-green-500/20 rounded-lg flex items-center justify-center">
<i data-feather="trending-up" class="w-6 h-6 text-green-500"></i>
</div>
<div>
<div class="font-semibold">TrendMaster Pro</div>
<div class="text-sm text-gray-400">EUR/USD - M15 | Risk: Medium</div>
</div>
</div>
<div class="flex items-center space-x-6">
<div class="text-center">
<div class="text-green-500 font-mono text-lg">+$324.50</div>
<div class="text-xs text-gray-400">Current P&L</div>
</div>
<div class="text-center">
<div class="font-mono text-lg">12</div>
<div class="text-xs text-gray-400">Active Trades</div>
</div>
<div class="flex space-x-2">
<button class="bg-red-500/20 hover:bg-red-500/30 text-red-500 px-3 py-2 rounded-lg flex items-center space-x-1">
<i data-feather="pause" class="w-4 h-4"></i>
<span class="hidden lg:block">Stop</span>
</button>
<button class="bg-blue-500/20 hover:bg-blue-500/30 text-blue-500 px-3 py-2 rounded-lg flex items-center space-x-1">
<i data-feather="settings" class="w-4 h-4"></i>
<span class="hidden lg:block">Config</span>
</button>
<button class="bg-gray-700 hover:bg-gray-600 px-3 py-2 rounded-lg flex items-center space-x-1">
<i data-feather="bar-chart-2" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
<!-- EA 2 -->
<div class="status-paused rounded-lg p-4">
<div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
<div class="flex items-center space-x-4 mb-3 lg:mb-0">
<div class="w-12 h-12 bg-yellow-500/20 rounded-lg flex items-center justify-center">
<i data-feather="zap" class="w-6 h-6 text-yellow-500"></i>
</div>
<div>
<div class="font-semibold">ScalperX Ultra</div>
<div class="text-sm text-gray-400">GBP/USD - M5 | Risk: High</div>
</div>
</div>
<div class="flex items-center space-x-6">
<div class="text-center">
<div class="text-red-500 font-mono text-lg">-$87.30</div>
<div class="text-xs text-gray-400">Current P&L</div>
</div>
<div class="text-center">
<div class="font-mono text-lg">3</div>
<div class="text-xs text-gray-400">Active Trades</div>
</div>
<div class="flex space-x-2">
<button class="bg-green-500/20 hover:bg-green-500/30 text-green-500 px-3 py-2 rounded-lg flex items-center space-x-1">
<i data-feather="play" class="w-4 h-4"></i>
<span class="hidden lg:block">Start</span>
</button>
<button class="bg-blue-500/20 hover:bg-blue-500/30 text-blue-500 px-3 py-2 rounded-lg flex items-center space-x-1">
<i data-feather="settings" class="w-4 h-4"></i>
<span class="hidden lg:block">Config</span>
</button>
<button class="bg-gray-700 hover:bg-gray-600 px-3 py-2 rounded-lg flex items-center space-x-1">
<i data-feather="bar-chart-2" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
<!-- EA 3 -->
<div class="status-error rounded-lg p-4">
<div class="flex flex-col lg:flex-row lg:items-center lg:justify-between">
<div class="flex items-center space-x-4 mb-3 lg:mb-0">
<div class="w-12 h-12 bg-red-500/20 rounded-lg flex items-center justify-center">
<i data-feather="alert-triangle" class="w-6 h-6 text-red-500"></i>
</div>
<div>
<div class="font-semibold">GridMaster 2.0</div>
<div class="text-sm text-gray-400">XAU/USD - H1 | Risk: Low</div>
<div class="text-xs text-red-400 mt-1">Connection lost - Retrying...</div>
</div>
</div>
<div class="flex items-center space-x-6">
<div class="text-center">
<div class="font-mono text-lg">$0.00</div>
<div class="text-xs text-gray-400">Current P&L</div>
</div>
<div class="text-center">
<div class="font-mono text-lg">0</div>
<div class="text-xs text-gray-400">Active Trades</div>
</div>
<div class="flex space-x-2">
<button class="bg-gray-700 hover:bg-gray-600 px-3 py-2 rounded-lg flex items-center space-x-1 text-gray-400" disabled>
<i data-feather="refresh-cw" class="w-4 h-4"></i>
<span class="hidden lg:block">Retry</span>
</button>
<button class="bg-blue-500/20 hover:bg-blue-500/30 text-blue-500 px-3 py-2 rounded-lg flex items-center space-x-1">
<i data-feather="settings" class="w-4 h-4"></i>
<span class="hidden lg:block">Config</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Performance Charts -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mt-6">
<div class="glass-effect rounded-xl p-6">
<h3 class="font-semibold mb-4">EA Performance Overview</h3>
<div class="h-64 bg-gray-900 rounded-lg flex items-center justify-center">
<div class="text-center text-gray-400">
<i data-feather="bar-chart-2" class="w-12 h-12 mx-auto mb-2"></i>
<p>Performance Analytics</p>
</div>
</div>
</div>
<div class="glass-effect rounded-xl p-6">
<h3 class="font-semibold mb-4">Risk Distribution</h3>
<div class="h-64 bg-gray-900 rounded-lg flex items-center justify-center">
<div class="text-center text-gray-400">
<i data-feather="pie-chart" class="w-12 h-12 mx-auto mb-2"></i>
<p>Risk Management Dashboard</p>
</div>
</div>
</div>
</div>
</main>
<script>
feather.replace();
// Simulate EA status updates
setInterval(() => {
const eaStatuses = document.querySelectorAll('[class*="status-"]');
eaStatuses.forEach(status => {
if (Math.random() > 0.95) {
const classes = status.className.split(' ');
const statusClass = classes.find(c => c.startsWith('status-'));
if (statusClass) {
const newStatus = Math.random() > 0.5 ? 'status-active' : 'status-paused';
status.className = classes.filter(c => !c.startsWith('status-')).join(' ') + ' ' + newStatus;
}
}
});
}, 3000);
</script>
</body>
</html>
|