Restore to commit 74e578279624c6045ca440a3459ebfa1f8d54191

This commit is contained in:
southseact-3d
2026-02-07 20:32:41 +00:00
commit ed67b7741b
252 changed files with 99814 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Admin - Affiliate Withdrawals</title>
<link rel="stylesheet" href="/styles.css" />
<!-- PostHog Analytics -->
<script src="/posthog.js"></script>
</head>
<body data-page="withdrawals">
<div class="sidebar-overlay"></div>
<div class="app-shell">
<aside class="sidebar">
<div class="brand">
<div class="brand-mark">A</div>
<div>
<div class="brand-title">Admin</div>
<div class="brand-sub">Site management</div>
</div>
<button id="close-sidebar" class="ghost" style="margin-left: auto; display: none;">&times;</button>
</div>
<div class="sidebar-section">
<div class="section-heading">Navigation</div>
<a class="ghost" href="/admin/build">Build models</a>
<a class="ghost" href="/admin/plan">Plan models</a>
<a class="ghost" href="/admin/plans">Plans</a>
<a class="ghost" href="/admin/accounts">Accounts</a>
<a class="ghost" href="/admin/affiliates">Affiliates</a>
<a class="ghost" href="/admin/withdrawals">Withdrawals</a>
<a class="ghost" href="/admin/tracking">Tracking</a>
<a class="ghost" href="/admin/resources">Resources</a>
<a class="ghost" href="/admin/contact-messages">Contact Messages</a>
<a class="ghost" href="/admin/login">Login</a>
</div>
</aside>
<main class="main">
<div class="admin-shell">
<div class="topbar" style="margin-bottom: 12px;">
<button id="menu-toggle">
<span></span><span></span><span></span>
</button>
<div>
<div class="pill">Admin</div>
<div class="title" style="margin-top: 6px;">Affiliate Withdrawals</div>
<div class="crumb">View and manage affiliate withdrawal requests.</div>
</div>
<div class="admin-actions">
<a class="ghost" href="/admin">Back to models</a>
<button id="admin-refresh" class="ghost">Refresh</button>
<button id="admin-logout" class="primary">Logout</button>
</div>
</div>
<div class="admin-card" style="overflow:auto;">
<header style="align-items:center;">
<div>
<h3>Withdrawal Requests</h3>
<p class="crumb" style="margin-top:4px;">Manage PayPal payouts and request status.</p>
</div>
<div class="pill" id="withdrawals-count">0 requests</div>
</header>
<div class="status-line" id="admin-status"></div>
<div class="admin-table">
<table style="width:100%; border-collapse:collapse; min-width:900px;">
<thead style="position:sticky; top:0; background:var(--panel); z-index:1;">
<tr
style="text-align:left; font-size:13px; color: var(--muted); border-bottom:2px solid var(--border);">
<th style="padding:12px 8px;">Date</th>
<th style="padding:12px 8px;">Affiliate</th>
<th style="padding:12px 8px;">PayPal Email</th>
<th style="padding:12px 8px;">Amount</th>
<th style="padding:12px 8px;">Currency</th>
<th style="padding:12px 8px;">Status</th>
<th style="padding:12px 8px;">Actions</th>
</tr>
</thead>
<tbody id="withdrawals-table">
</tbody>
</table>
</div>
</div>
</div>
</main>
</div>
<script src="/admin.js"></script>
</body>
</html>