Spaces:
Runtime error
Runtime error
Update admin.html
Browse files- admin.html +24 -0
admin.html
CHANGED
|
@@ -85,6 +85,30 @@
|
|
| 85 |
<tr><td colspan="7" class="p-12 text-center text-slate-400 text-sm">请在右上角输入 Token 并进入指挥室</td></tr>
|
| 86 |
</tbody>
|
| 87 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
<div class="flex justify-center gap-3 mt-4">
|
| 89 |
<button onclick="currentPage=1;loadUsers()" class="px-4 py-2 bg-slate-100 rounded-lg text-sm hover:bg-slate-200">首页</button>
|
| 90 |
<button onclick="if(currentPage>1){currentPage--;loadUsers()}" class="px-4 py-2 bg-slate-100 rounded-lg text-sm hover:bg-slate-200">上一页</button>
|
|
|
|
| 85 |
<tr><td colspan="7" class="p-12 text-center text-slate-400 text-sm">请在右上角输入 Token 并进入指挥室</td></tr>
|
| 86 |
</tbody>
|
| 87 |
</table>
|
| 88 |
+
<div class="mt-8 bg-white rounded-xl shadow-sm border border-slate-200">
|
| 89 |
+
<button onclick="this.nextElementSibling.classList.toggle('hidden')" class="w-full p-4 text-left font-bold text-slate-700 hover:bg-slate-50 rounded-xl transition flex items-center gap-2">
|
| 90 |
+
📋 退信管理 <span id="bouncedTotal" class="text-sm text-slate-400 font-normal ml-2"></span>
|
| 91 |
+
<span class="ml-auto text-slate-400 text-xs">点击展开/收起</span>
|
| 92 |
+
</button>
|
| 93 |
+
<div class="hidden p-6 border-t border-slate-100">
|
| 94 |
+
<div class="flex gap-3 mb-4">
|
| 95 |
+
<input type="text" id="bouncedSearch" placeholder="搜索邮箱..." oninput="filterBouncedTable()" class="px-4 py-2 border border-slate-300 rounded-lg text-sm">
|
| 96 |
+
<button onclick="exportBouncedCsv()" class="px-4 py-2 bg-emerald-50 text-emerald-700 rounded-lg text-sm font-semibold hover:bg-emerald-100 transition">📥 导出 CSV</button>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="overflow-x-auto max-h-96 overflow-y-auto">
|
| 99 |
+
<table class="w-full text-left border-collapse">
|
| 100 |
+
<thead class="bg-slate-50 sticky top-0">
|
| 101 |
+
<tr>
|
| 102 |
+
<th class="p-3 font-semibold text-sm text-slate-600">邮箱</th>
|
| 103 |
+
<th class="p-3 font-semibold text-sm text-slate-600">退信时间</th>
|
| 104 |
+
<th class="p-3 font-semibold text-sm text-slate-600 text-right">操作</th>
|
| 105 |
+
</tr>
|
| 106 |
+
</thead>
|
| 107 |
+
<tbody id="bouncedTableBody" class="divide-y divide-slate-100"></tbody>
|
| 108 |
+
</table>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
<div class="flex justify-center gap-3 mt-4">
|
| 113 |
<button onclick="currentPage=1;loadUsers()" class="px-4 py-2 bg-slate-100 rounded-lg text-sm hover:bg-slate-200">首页</button>
|
| 114 |
<button onclick="if(currentPage>1){currentPage--;loadUsers()}" class="px-4 py-2 bg-slate-100 rounded-lg text-sm hover:bg-slate-200">上一页</button>
|