- 新增 memory.html 记忆设计文档 - 新增 plan.html 规划文档 - 添加新的项目截图 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
212 lines
12 KiB
HTML
212 lines
12 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>计划任务管理</title>
|
||
<script src="https://cdn.tailwindcss.com"></script>
|
||
<style>
|
||
/* 自定义滚动条 */
|
||
::-webkit-scrollbar {
|
||
width: 8px;
|
||
height: 8px;
|
||
}
|
||
::-webkit-scrollbar-track {
|
||
background: #1a1a1a;
|
||
}
|
||
::-webkit-scrollbar-thumb {
|
||
background: #333;
|
||
border-radius: 4px;
|
||
}
|
||
::-webkit-scrollbar-thumb:hover {
|
||
background: #444;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body class="bg-[#0f0f0f] text-gray-200 min-h-screen font-sans">
|
||
<!-- 顶部导航栏 -->
|
||
<header class="flex items-center justify-between px-4 py-2 border-b border-gray-800 bg-[#0a0a0a]">
|
||
<!-- 左侧状态区 -->
|
||
<div class="flex items-center space-x-3">
|
||
<span class="text-gray-300 font-medium">default</span>
|
||
<span class="flex items-center text-green-400 text-sm">
|
||
<span class="w-2 h-2 rounded-full bg-green-400 mr-1.5"></span>
|
||
运行中
|
||
</span>
|
||
<span class="bg-blue-600/20 text-blue-400 text-xs px-2 py-0.5 rounded">网页访问</span>
|
||
<span class="text-gray-400 text-sm">远程地址</span>
|
||
<span class="text-gray-400 text-sm">1 端点</span>
|
||
</div>
|
||
|
||
<!-- 右侧操作区 -->
|
||
<div class="flex items-center space-x-4">
|
||
<button class="flex items-center space-x-1 border border-blue-500 bg-[#0a0a0a] text-white px-3 py-1 rounded text-sm hover:bg-blue-900/20 transition">
|
||
<span>×</span>
|
||
<span>断开</span>
|
||
</button>
|
||
<button class="text-gray-400 hover:text-white transition">
|
||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"></path>
|
||
</svg>
|
||
</button>
|
||
<button class="text-gray-400 hover:text-white transition">
|
||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"></path>
|
||
</svg>
|
||
</button>
|
||
<button class="text-gray-400 hover:text-white transition">
|
||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"></path>
|
||
</svg>
|
||
</button>
|
||
<div class="flex items-center ml-4">
|
||
<span class="text-gray-400 mr-2 text-sm">计划任务 已启用</span>
|
||
<button class="w-10 h-5 bg-green-500 rounded-full relative">
|
||
<span class="absolute right-0.5 top-0.5 w-4 h-4 bg-white rounded-full"></span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
|
||
<!-- 主体内容区 -->
|
||
<main class="px-6 py-5">
|
||
<!-- 标题与操作栏 -->
|
||
<div class="flex justify-between items-start mb-5">
|
||
<!-- 标题+标签页 -->
|
||
<div>
|
||
<h1 class="text-xl font-bold text-white mb-3">计划任务</h1>
|
||
<div class="flex items-center space-x-6">
|
||
<button class="text-blue-400 border-b-2 border-blue-500 px-1 py-2 font-medium text-sm -mb-[1px]">进行中 3</button>
|
||
<button class="text-gray-400 hover:text-white px-1 py-2 text-sm transition">已完成 0</button>
|
||
<button class="text-gray-400 hover:text-white px-1 py-2 text-sm transition">全部 3</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 右侧操作+搜索区 -->
|
||
<div class="flex flex-col items-end space-y-2">
|
||
<div class="flex items-center space-x-3">
|
||
<button class="flex items-center space-x-1 text-gray-400 hover:text-white text-sm transition">
|
||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"></path>
|
||
</svg>
|
||
<span>刷新</span>
|
||
</button>
|
||
<button class="bg-blue-600 hover:bg-blue-700 text-white px-3 py-1.5 rounded text-sm flex items-center space-x-1 transition">
|
||
<span>+</span>
|
||
<span>新建任务</span>
|
||
</button>
|
||
</div>
|
||
<div class="relative">
|
||
<svg class="absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
||
</svg>
|
||
<input
|
||
type="text"
|
||
placeholder="搜索任务..."
|
||
class="w-full bg-[#0a0a0a] border border-gray-700 rounded-lg py-2 pl-10 pr-4 text-sm text-gray-200 focus:outline-none focus:border-gray-600"
|
||
>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 任务列表 -->
|
||
<div class="space-y-3">
|
||
<!-- 任务1:活人感心跳 -->
|
||
<div class="bg-[#1a1a1a] rounded-lg p-4 hover:bg-[#1e1e1e] transition">
|
||
<div class="flex items-center justify-between mb-2">
|
||
<div class="flex items-center space-x-2">
|
||
<span class="w-2 h-2 rounded-full bg-green-500"></span>
|
||
<span class="text-white font-medium">活人感心跳</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">系统任务</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">Agent 任务</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">间隔重复</span>
|
||
</div>
|
||
<div class="flex items-center space-x-1">
|
||
<button class="bg-gray-800 hover:bg-gray-700 text-gray-300 text-xs px-3 py-1 rounded transition">暂停</button>
|
||
<button class="text-gray-400 hover:text-white p-1 transition">
|
||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||
</svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-center flex-wrap gap-x-8 gap-y-1 text-xs text-gray-400 mb-2">
|
||
<span>状态: 已调度</span>
|
||
<span>触发方式: 间隔重复 30 分钟</span>
|
||
<span>下次执行: 2026/03/10 16:26</span>
|
||
<span>上次执行: 2026/03/10 15:56</span>
|
||
<span>通知通道: -</span>
|
||
<span>执行次数: 13</span>
|
||
</div>
|
||
<div class="text-sm text-gray-300">
|
||
检查是否需要发送主动消息 (问候/提醒/跟进)
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 任务2:记忆整理 -->
|
||
<div class="bg-[#1a1a1a] rounded-lg p-4 hover:bg-[#1e1e1e] transition">
|
||
<div class="flex items-center justify-between mb-2">
|
||
<div class="flex items-center space-x-2">
|
||
<span class="w-2 h-2 rounded-full bg-green-500"></span>
|
||
<span class="text-white font-medium">记忆整理</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">系统任务</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">Agent 任务</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">间隔重复</span>
|
||
</div>
|
||
<div class="flex items-center space-x-1">
|
||
<button class="bg-gray-800 hover:bg-gray-700 text-gray-300 text-xs px-3 py-1 rounded transition">暂停</button>
|
||
<button class="text-gray-400 hover:text-white p-1 transition">
|
||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||
</svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-center flex-wrap gap-x-8 gap-y-1 text-xs text-gray-400 mb-2">
|
||
<span>状态: 已调度</span>
|
||
<span>触发方式: 间隔重复 3 小时</span>
|
||
<span>下次执行: 2026/03/10 18:35</span>
|
||
<span>上次执行: 2026/03/10 15:35</span>
|
||
<span>通知通道: -</span>
|
||
<span>执行次数: 2</span>
|
||
</div>
|
||
<div class="text-sm text-gray-300">
|
||
执行记忆整理: 整理对话历史, 提取精华记忆, 刷新 MEMORY.md
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 任务3:系统自检 -->
|
||
<div class="bg-[#1a1a1a] rounded-lg p-4 hover:bg-[#1e1e1e] transition">
|
||
<div class="flex items-center justify-between mb-2">
|
||
<div class="flex items-center space-x-2">
|
||
<span class="w-2 h-2 rounded-full bg-green-500"></span>
|
||
<span class="text-white font-medium">系统自检</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">系统任务</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">Agent 任务</span>
|
||
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">每天</span>
|
||
</div>
|
||
<div class="flex items-center space-x-1">
|
||
<button class="bg-gray-800 hover:bg-gray-700 text-gray-300 text-xs px-3 py-1 rounded transition">暂停</button>
|
||
<button class="text-gray-400 hover:text-white p-1 transition">
|
||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||
</svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-center flex-wrap gap-x-8 gap-y-1 text-xs text-gray-400 mb-2">
|
||
<span>状态: 已调度</span>
|
||
<span>触发方式: 每天 04:00</span>
|
||
<span>下次执行: 2026/03/11 04:00</span>
|
||
<span>上次执行: 从未</span>
|
||
<span>通知通道: -</span>
|
||
<span>执行次数: 0</span>
|
||
</div>
|
||
<div class="text-sm text-gray-300">
|
||
执行系统自检: 分析 ERROR 日志, 尝试修复工具问题, 生成报告
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</body>
|
||
</html> |