pyquantflow / index.html
luluUCD's picture
the header (navibar) and footer are broken, try to fix them for me
e64f1fb verified
Raw History Blame Contribute Delete
14.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PyQuantFlow Dashboard - Python SDK智能量化服务平台</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#ef4444',
secondary: '#f43f5e'
}
}
}
}
</script>
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Navigation Component -->
<script src="components/navigation.js" defer></script>
<custom-navigation></custom-navigation>
<main class="container mx-auto px-4 py-8">
<!-- Hero Section -->
<section class="mb-12 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-4 text-primary">
PyQuantFlow <span class="text-secondary">智控面板</span>
</h1>
<p class="text-xl text-gray-600 mb-8 max-w-3xl mx-auto">
Python SDK智能量化服务平台 - 可视化跟踪完整流程,规划路线图与实验设置
</p>
<div class="flex flex-wrap justify-center gap-4">
<a href="#tracker" class="bg-primary hover:bg-red-600 text-white px-6 py-3 rounded-lg font-semibold shadow-lg transition duration-300 flex items-center">
<i data-feather="database" class="mr-2"></i> 流程跟踪器
</a>
<a href="#roadmap" class="bg-secondary hover:bg-rose-600 text-white px-6 py-3 rounded-lg font-semibold shadow-lg transition duration-300 flex items-center">
<i data-feather="calendar" class="mr-2"></i> 路线图规划
</a>
<a href="#experiments" class="bg-gray-800 hover:bg-gray-900 text-white px-6 py-3 rounded-lg font-semibold shadow-lg transition duration-300 flex items-center">
<i data-feather="flask" class="mr-2"></i> 实验设置
</a>
</div>
</section>
<!-- Dashboard Stats -->
<section class="mb-12">
<h2 class="text-2xl font-bold mb-6 text-gray-800 flex items-center">
<i data-feather="activity" class="mr-2 text-primary"></i> 项目概览
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<div class="bg-white p-6 rounded-xl shadow-lg border-l-4 border-primary">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">已完成任务</p>
<p class="text-3xl font-bold text-gray-800">24</p>
</div>
<i data-feather="check-circle" class="text-green-500 w-8 h-8"></i>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-lg border-l-4 border-secondary">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">进行中实验</p>
<p class="text-3xl font-bold text-gray-800">8</p>
</div>
<i data-feather="zap" class="text-yellow-500 w-8 h-8"></i>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-lg border-l-4 border-primary">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">团队成员</p>
<p class="text-3xl font-bold text-gray-800">12</p>
</div>
<i data-feather="users" class="text-blue-500 w-8 h-8"></i>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-lg border-l-4 border-secondary">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">下周截止</p>
<p class="text-3xl font-bold text-gray-800">5</p>
</div>
<i data-feather="clock" class="text-red-500 w-8 h-8"></i>
</div>
</div>
</div>
</section>
<!-- Main Content Grid -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Column: Excel-like Database Tracker -->
<div class="lg:col-span-2 space-y-8">
<!-- Excel-like Tracker -->
<section id="tracker" class="bg-white rounded-2xl shadow-xl p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800 flex items-center">
<i data-feather="database" class="mr-2 text-primary"></i> 流程跟踪数据库
</h2>
<button id="addRowBtn" class="bg-primary hover:bg-red-600 text-white px-4 py-2 rounded-lg flex items-center transition duration-300">
<i data-feather="plus" class="mr-2"></i> 添加记录
</button>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead>
<tr class="bg-gray-50">
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ID</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">任务名称</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">状态</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">负责人</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">截止日期</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">进度</th>
</tr>
</thead>
<tbody id="trackerTable" class="bg-white divide-y divide-gray-200">
<!-- Rows will be populated by JavaScript -->
</tbody>
</table>
</div>
</section>
<!-- Experimental Setup -->
<section id="experiments" class="bg-white rounded-2xl shadow-xl p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-6 flex items-center">
<i data-feather="flask" class="mr-2 text-secondary"></i> 实验设置面板
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="space-y-4">
<div class="flex items-center justify-between">
<h3 class="font-semibold text-gray-700">算法测试</h3>
<span class="px-3 py-1 bg-green-100 text-green-800 rounded-full text-sm">运行中</span>
</div>
<div class="h-48 bg-gradient-to-br from-gray-50 to-gray-100 rounded-lg flex items-center justify-center">
<div class="text-center">
<i data-feather="cpu" class="w-12 h-12 mx-auto text-gray-400 mb-2"></i>
<p class="text-gray-500">实时算法性能监控</p>
</div>
</div>
</div>
<div class="space-y-4">
<div class="flex items-center justify-between">
<h3 class="font-semibold text-gray-700">数据验证</h3>
<span class="px-3 py-1 bg-blue-100 text-blue-800 rounded-full text-sm">待验证</span>
</div>
<div class="h-48 bg-gradient-to-br from-rose-50 to-rose-100 rounded-lg flex items-center justify-center">
<div class="text-center">
<i data-feather="bar-chart-2" class="w-12 h-12 mx-auto text-secondary mb-2"></i>
<p class="text-gray-500">数据集质量分析</p>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Right Column: Roadmap & Quick Actions -->
<div class="space-y-8">
<!-- Roadmap Schedule -->
<section id="roadmap" class="bg-white rounded-2xl shadow-xl p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-6 flex items-center">
<i data-feather="calendar" class="mr-2 text-primary"></i> 路线图规划
</h2>
<div class="space-y-4">
<div class="border-l-4 border-primary pl-4 py-2">
<div class="flex justify-between">
<h3 class="font-semibold">SDK v1.0 发布</h3>
<span class="text-sm text-gray-500">Q1 2024</span>
</div>
<p class="text-gray-600 text-sm mt-1">核心量化算法集成</p>
</div>
<div class="border-l-4 border-secondary pl-4 py-2">
<div class="flex justify-between">
<h3 class="font-semibold">多平台支持</h3>
<span class="text-sm text-gray-500">Q2 2024</span>
</div>
<p class="text-gray-600 text-sm mt-1">Windows, macOS, Linux</p>
</div>
<div class="border-l-4 border-primary pl-4 py-2">
<div class="flex justify-between">
<h3 class="font-semibold">高级功能模块</h3>
<span class="text-sm text-gray-500">Q3 2024</span>
</div>
<p class="text-gray-600 text-sm mt-1">实时数据流处理</p>
</div>
</div>
</section>
<!-- Quick Actions -->
<section class="bg-gradient-to-br from-primary to-secondary rounded-2xl shadow-xl p-6 text-white">
<h2 class="text-2xl font-bold mb-6 flex items-center">
<i data-feather="zap" class="mr-2"></i> 快速操作
</h2>
<div class="space-y-4">
<a href="roadmap.html" class="block bg-white/20 hover:bg-white/30 p-4 rounded-lg transition duration-300">
<div class="flex items-center">
<i data-feather="target" class="mr-3"></i>
<span>查看详细路线图</span>
</div>
</a>
<a href="experiments.html" class="block bg-white/20 hover:bg-white/30 p-4 rounded-lg transition duration-300">
<div class="flex items-center">
<i data-feather="settings" class="mr-3"></i>
<span>配置实验参数</span>
</div>
</a>
<a href="team.html" class="block bg-white/20 hover:bg-white/30 p-4 rounded-lg transition duration-300">
<div class="flex items-center">
<i data-feather="user-plus" class="mr-3"></i>
<span>邀请团队成员</span>
</div>
</a>
</div>
</section>
<!-- Team Activity -->
<section class="bg-white rounded-2xl shadow-xl p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-6 flex items-center">
<i data-feather="users" class="mr-2 text-secondary"></i> 团队动态
</h2>
<div class="space-y-4">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/1" alt="Team Member" class="w-10 h-10 rounded-full mr-3">
<div>
<p class="font-medium">张明</p>
<p class="text-sm text-gray-500">更新了算法文档</p>
</div>
<span class="ml-auto text-xs text-gray-400">2小时前</span>
</div>
<div class="flex items-center">
<img src="http://static.photos/people/200x200/2" alt="Team Member" class="w-10 h-10 rounded-full mr-3">
<div>
<p class="font-medium">李华</p>
<p class="text-sm text-gray-500">完成了数据验证测试</p>
</div>
<span class="ml-auto text-xs text-gray-400">5小时前</span>
</div>
</div>
</section>
</div>
</div>
</main>
<!-- Footer Component -->
<script src="components/footer.js" defer></script>
<custom-footer></custom-footer>
<!-- Component Scripts -->
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>