Files
vbb/public/admin.html
T
martbost 3e0dee517d Network Weekend (Marty 2026-11-17): 2 free post credits a day Fri 11-27 00:00 CT to Tue 12-01 00:00 CT, live VBBShop SKU values on every page and in the chatbot, the network ribbon
weekend.js: the date gate (WEEKEND_NOW test clock), FREE_CREDITS_PER_DAY stays 1. chainskus.js: skus() read every 60 s, so the
$10 pack shows what the contract credits (50 once the owner signs setSku, 40 before or after). netdeals.js + /assets/netweekend.js:
/api/network-deals and the ribbon; the VBB line is built from live values and drops itself if there is nothing true to say.
chatcore render hook, chatbot FACTS/CANNED from live values with a dated weekend fact. qa/weekend.test.mjs 33 pass, chatbot 182, smoke 268.
common.js?v=10, my.js?v=6, packages.js?v=2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:26:05 -06:00

47 lines
3.9 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>Admin | Viral Banner Blitz</title>
<meta name="description" content="Viral Banner Blitz admin.">
<link rel="canonical" href="https://viralbannerblitz.com/admin">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Viral Banner Blitz">
<meta property="og:title" content="Admin | Viral Banner Blitz">
<meta property="og:description" content="Viral Banner Blitz admin.">
<meta property="og:url" content="https://viralbannerblitz.com/admin">
<meta property="og:image" content="https://viralbannerblitz.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Viral Banner Blitz: a community banner loop that moves with every verified visitor">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Admin | Viral Banner Blitz">
<meta name="twitter:description" content="Viral Banner Blitz admin.">
<meta name="twitter:image" content="https://viralbannerblitz.com/art/og-share.png">
<meta name="robots" content="noindex">
<meta name="theme-color" content="#ffd400">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
<link rel="stylesheet" href="/assets/vbb.css?v=8">
</head>
<body>
<main class="wrap">
<section class="hero"><h1>Admin</h1><p class="lead">Loop status, weekly prize payouts and the cycle reward ledger. Cycle rewards are recorded only; nothing is credited yet.</p></section>
<div class="card" id="tokCard"><div class="field"><label for="tok">Admin token</label><input id="tok" type="password" autocomplete="off"></div><button class="btn small" id="tokBtn">Open</button></div>
<div id="adm" hidden>
<div class="card"><h2>Status</h2><div class="stats" id="aStats"></div><pre class="mono small scroll" id="aRaw" style="white-space:pre-wrap;max-height:320px"></pre></div>
<div class="card" id="pzCard"><h2>Weekly prize payouts</h2><p class="muted small">Each Monday after midnight (Central) the app prepares last week's payout. Nothing is sent until you approve it here, and a week is paid once. Amounts in POL are quoted live and fixed when you approve.</p><div id="pzNow"></div><div id="pzWeeks"></div><div class="row"><button class="btn sec small" id="pzPrep">Prepare last week again</button></div></div>
<div class="card" id="bnCard"><h2>Banners: take down or restore</h2><p class="muted small">Find a banner by #id, wallet or username. A takedown hides it everywhere at once; its loop place stays (a house tile shows there) until it would have ridden out, so nobody else moves. It never cycles, never earns network views and never counts for prizes. The reason is shown to the owner. Every takedown and restore goes in the admin ledger below.</p>
<div class="share"><input id="bnQ" placeholder="#12, 0x... or username" autocomplete="off" aria-label="Find a banner"><button class="btn sec small" id="bnFind">Find</button></div><div id="bnList"></div></div>
<div class="card"><h2>Admin ledger (takedowns and restores)</h2><div class="scroll" id="aActions"></div></div>
<div class="card"><h2>Rewards by member</h2><div class="scroll" id="aMembers"></div></div>
<div class="card"><h2>Ledger (newest first)</h2><div class="scroll" id="aLedger"></div></div>
</div>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=10"></script>
<script src="/assets/admin.js?v=3"></script>
<script src="/assets/chat.js?v=2" defer></script>
</body>
</html>