053a2188bc
- Dark OLED background (#0a0a0b) with surface/elevated layers - Inter font for UI, JetBrains Mono for code/data - Blue/green/orange/red semantic color system with subtle glow effects - Step indicators with colored circles showing state (running/completed/failed) - Animated status dot (pulse) for running state - Custom scrollbar, log line animations, step state transitions - Auto Run button with SVG icons and state changes - Console section with Clear button - Progress counter (0/9) - Respects prefers-reduced-motion
124 lines
5.6 KiB
HTML
124 lines
5.6 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>Multi-Page Automation</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="sidepanel.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="header-title">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/>
|
|
</svg>
|
|
<h1>MultiPage</h1>
|
|
</div>
|
|
<div class="header-btns">
|
|
<button id="btn-auto-run" class="btn btn-success" title="Run all steps automatically">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><polygon points="5 3 19 12 5 21 5 3"/></svg>
|
|
Auto
|
|
</button>
|
|
<button id="btn-reset" class="btn btn-ghost" title="Reset all steps">
|
|
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</header>
|
|
|
|
<section id="data-section">
|
|
<div class="data-card">
|
|
<div class="data-row">
|
|
<span class="data-label">OAuth</span>
|
|
<span id="display-oauth-url" class="data-value mono truncate">Waiting...</span>
|
|
</div>
|
|
<div class="data-row">
|
|
<span class="data-label">Email</span>
|
|
<input type="text" id="input-email" class="data-input" placeholder="Paste DuckDuckGo email" />
|
|
</div>
|
|
<div class="data-row">
|
|
<span class="data-label">Callback</span>
|
|
<span id="display-localhost-url" class="data-value mono truncate">Waiting...</span>
|
|
</div>
|
|
</div>
|
|
<div id="status-bar" class="status-bar">
|
|
<div class="status-dot"></div>
|
|
<span id="display-status">Ready</span>
|
|
</div>
|
|
<div id="auto-continue-bar" class="auto-continue-bar" style="display:none;">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
|
|
<span class="auto-hint">Paste email above, then continue</span>
|
|
<button id="btn-auto-continue" class="btn btn-primary btn-sm">Continue</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="steps-section">
|
|
<div class="steps-header">
|
|
<span class="section-label">Workflow</span>
|
|
<span id="steps-progress" class="steps-progress">0 / 9</span>
|
|
</div>
|
|
<div class="steps-list">
|
|
<div class="step-row" data-step="1">
|
|
<div class="step-indicator" data-step="1"><span class="step-num">1</span></div>
|
|
<button class="step-btn" data-step="1">Get OAuth Link</button>
|
|
<span class="step-status" data-step="1"></span>
|
|
</div>
|
|
<div class="step-row" data-step="2">
|
|
<div class="step-indicator" data-step="2"><span class="step-num">2</span></div>
|
|
<button class="step-btn" data-step="2">Open Signup</button>
|
|
<span class="step-status" data-step="2"></span>
|
|
</div>
|
|
<div class="step-row" data-step="3">
|
|
<div class="step-indicator" data-step="3"><span class="step-num">3</span></div>
|
|
<button class="step-btn" data-step="3">Fill Email / Password</button>
|
|
<span class="step-status" data-step="3"></span>
|
|
</div>
|
|
<div class="step-row" data-step="4">
|
|
<div class="step-indicator" data-step="4"><span class="step-num">4</span></div>
|
|
<button class="step-btn" data-step="4">Get Signup Code</button>
|
|
<span class="step-status" data-step="4"></span>
|
|
</div>
|
|
<div class="step-row" data-step="5">
|
|
<div class="step-indicator" data-step="5"><span class="step-num">5</span></div>
|
|
<button class="step-btn" data-step="5">Fill Name / Birthday</button>
|
|
<span class="step-status" data-step="5"></span>
|
|
</div>
|
|
<div class="step-row" data-step="6">
|
|
<div class="step-indicator" data-step="6"><span class="step-num">6</span></div>
|
|
<button class="step-btn" data-step="6">Login via OAuth</button>
|
|
<span class="step-status" data-step="6"></span>
|
|
</div>
|
|
<div class="step-row" data-step="7">
|
|
<div class="step-indicator" data-step="7"><span class="step-num">7</span></div>
|
|
<button class="step-btn" data-step="7">Get Login Code</button>
|
|
<span class="step-status" data-step="7"></span>
|
|
</div>
|
|
<div class="step-row" data-step="8">
|
|
<div class="step-indicator" data-step="8"><span class="step-num">8</span></div>
|
|
<button class="step-btn" data-step="8">Complete OAuth</button>
|
|
<span class="step-status" data-step="8"></span>
|
|
</div>
|
|
<div class="step-row" data-step="9">
|
|
<div class="step-indicator" data-step="9"><span class="step-num">9</span></div>
|
|
<button class="step-btn" data-step="9">VPS Verify</button>
|
|
<span class="step-status" data-step="9"></span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="log-section">
|
|
<div class="log-header">
|
|
<span class="section-label">Console</span>
|
|
<button id="btn-clear-log" class="btn btn-ghost btn-xs" title="Clear log">Clear</button>
|
|
</div>
|
|
<div id="log-area"></div>
|
|
</section>
|
|
|
|
<script src="sidepanel.js"></script>
|
|
</body>
|
|
</html>
|