Staging test mode (Marty's rule: test apps never touch real people): TANK_MODE=iap with DRAFT_LIVE not 1 reads the pool + statuses from InstantAdPay but every pick (5 instant picks on a purchase, the Monday draft) and release is a preview kept here: no tank.adopt(), no sponsor change, no email. Yellow 'TEST MODE, nobody is adopted' strip on every page (/api/config testMode). Admin view: testMode, previewPicks, adoptionMailsSkipped. iap-tank 35/35 (new section 6 against the real draftpartner.js), unit 62/62, smoke 156/156. common.js/fx.css ?v=3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body data-page="admin">
|
||||
<main class="wrap">
|
||||
@@ -28,7 +28,7 @@
|
||||
<section class="panel"><h3>Best Coach pot (last week)</h3><pre id="potOut" class="kit-pre"></pre></section>
|
||||
<section class="panel"><h3>Old-link map (JSON {"oldrefs": {"old": "network username"}})</h3><input type="file" id="oldFile" accept="application/json"><pre id="oldOut" class="kit-pre"></pre></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/misc.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/misc.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -29,6 +29,9 @@ window.FX = (function () {
|
||||
+ links.map(l => '<a href="' + l[0] + '"' + (l[0] === active ? ' class="on" aria-current="page"' : '') + '>' + l[1] + '</a>').join('') + '</div></div>';
|
||||
document.body.prepend(nav);
|
||||
if (week) setWeek(week);
|
||||
// staging test mode (DRAFT_LIVE not 1): say so on every page, plainly
|
||||
getConfig().then(c => { if (!c || !c.testMode || $('testMode')) return; const b = document.createElement('div'); b.id = 'testMode'; b.className = 'testmode'; b.setAttribute('role', 'status');
|
||||
b.innerHTML = '<div class="wrap"><b>TEST MODE, nobody is adopted.</b> Picks on this site are previews: no one gets a new sponsor and no email is sent.</div>'; nav.after(b); }).catch(() => {});
|
||||
}
|
||||
// ISO-ish week number of a Monday date (the mockup's "DRAFT WEEK 46")
|
||||
function weekNo(monday) { const d = new Date(monday + 'T12:00:00Z'); const t = new Date(Date.UTC(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate() + 3)); const y = new Date(Date.UTC(t.getUTCFullYear(), 0, 4)); return 1 + Math.round(((t - y) / 86400000 - 3 + ((y.getUTCDay() + 6) % 7)) / 7); }
|
||||
|
||||
@@ -217,3 +217,7 @@ footer.foot p{margin:4px 0}footer.foot a{color:var(--gold)}footer.foot .here{col
|
||||
.kit-pre{white-space:pre-wrap;font:inherit;font-size:14px;color:var(--muted);margin:0;background:var(--bar);padding:12px}
|
||||
.ccard .l .kvr{color:var(--muted)}.ccard .l .kvr span{color:var(--muted)}.ccard .l .kvr b{font-family:var(--text);font-size:15px;color:#fff;word-break:normal}
|
||||
.splitbar div{font-size:11px;padding:0 4px}
|
||||
|
||||
/* staging test mode strip (DRAFT_LIVE not 1) */
|
||||
.testmode{background:#ffc93c;color:#0b1530;font-size:14px;padding:8px 0;border-bottom:2px solid #0b1530}
|
||||
.testmode b{letter-spacing:.04em}
|
||||
|
||||
+4
-4
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body data-page="builder">
|
||||
<main class="wrap">
|
||||
@@ -28,8 +28,8 @@
|
||||
<p id="status" class="note" hidden></p>
|
||||
<section class="panel" id="bList"></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/wallet.js?v=2"></script>
|
||||
<script src="/assets/misc.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/wallet.js?v=3"></script>
|
||||
<script src="/assets/misc.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -28,7 +28,7 @@
|
||||
<section style="display:flex;flex-direction:column;gap:12px"><h2>The five tiers</h2><div class="cards" id="tiers"></div>
|
||||
<p class="small">Rookie when drafted, Starter when they link a wallet, Pro when they switch on payouts, All-Star at their first purchase, Hall of Fame when they hold a position of their own and coach a team. Tap a card to flip it for the stats on the back.</p></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/cards.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/cards.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="r"><h3>The team</h3><p class="small" style="color:#4a587e">Milestones only. Every Monday this coach drafts people who joined the network without a sponsor and helps them get started.</p><div class="row"><a class="btn-gold" id="cJoin" href="https://instantadpay.com/">Join the network free</a><a class="btn" href="/join">Coach a team of your own</a></div></div></section>
|
||||
<section class="cards" id="cTeam"></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/coach.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/coach.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
<section><p class="kicker">CONTRACT</p><h1 style="font-size:44px">Check the contract yourself</h1><p class="muted">Read live from Polygon. No owner withdraw, no proxy, the split fixed in the code.</p></section>
|
||||
<section class="panel"><div class="tbl"><table id="facts"></table></div></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/contract.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body data-page="legal">
|
||||
<main class="wrap legal">
|
||||
@@ -30,7 +30,7 @@
|
||||
<section class="card"><h2>Prices and taxes</h2><p>Positions are priced in US dollars and paid in POL, whose price moves. You are responsible for any taxes on what you receive where you live.</p></section>
|
||||
<section class="card"><h2>Who to ask</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>.</p></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/misc.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/misc.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -15,4 +15,4 @@ h1{margin:0;font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:108px
|
||||
</style></head><body data-page="draftday"><div class="dd"><img class="spot" src="/art/dd/spotlight.jpg" alt=""><img class="conf" src="/art/dd/confetti.png" alt=""><div class="top"><span class="wm">5X<b>YOUR</b>TEAM</span><span class="wk" id="ddWeek"></span></div>
|
||||
<h1>DRAFT DAY<br><span>RESULTS</span></h1><div class="rows" id="ddRows"></div>
|
||||
<div class="ft"><div><span id="ddStats"></span><span class="p" id="ddPot"></span></div><span class="url">5xyourteam.com</span></div></div>
|
||||
<script src="/assets/common.js?v=2"></script><script src="/assets/misc.js?v=2"></script></body></html>
|
||||
<script src="/assets/common.js?v=3"></script><script src="/assets/misc.js?v=3"></script></body></html>
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -53,7 +53,7 @@
|
||||
<p class="small">A position buys a draft spot and coaching tools, not income. Nothing is promised.</p></div>
|
||||
</section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/board.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/board.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+4
-4
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -34,8 +34,8 @@
|
||||
<p class="small">Your sponsor gets 25% and levels 2 to 5 of your network sponsor line get 5% each. Only people who hold a position can receive a share: anyone in your line who does not is passed over and the share goes up to the next person who does. 10% goes to the weekly Best Coach pot and 45% to 5xYourTeam. The contract keeps nothing. Check it on the <a href="/contract">contract page</a> and every payment on the <a href="/ledger">ledger</a>.</p>
|
||||
<p class="small">A position buys a draft spot and coaching tools, not income. Nothing is promised.</p></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/wallet.js?v=2"></script>
|
||||
<script src="/assets/join.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/wallet.js?v=3"></script>
|
||||
<script src="/assets/join.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -28,7 +28,7 @@
|
||||
<section class="panel"><div class="tbl"><table id="rows"><thead><tr><th>WHEN</th><th>POSITION</th><th>PAID IN THE SAME TRANSACTION</th><th></th></tr></thead><tbody></tbody></table></div></section>
|
||||
<section class="panel"><h3 style="font-size:24px">Best Coach payouts</h3><div class="tbl"><table id="payouts"><thead><tr><th>WEEK</th><th>COACH</th><th>POL</th><th></th></tr></thead><tbody></tbody></table></div></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/ledger.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/ledger.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body data-page="legal">
|
||||
<main class="wrap legal">
|
||||
@@ -32,7 +32,7 @@
|
||||
<section class="card"><h2>Your choices</h2><p>You can ask us to remove your account and messages here. Records on the blockchain cannot be removed by anyone.</p></section>
|
||||
<section class="card"><h2>Contact</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>. Last updated November 15, 2026.</p></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/misc.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/misc.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+4
-4
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body data-page="promote">
|
||||
<main class="wrap">
|
||||
@@ -28,8 +28,8 @@
|
||||
<p id="status" class="note" hidden></p>
|
||||
<div id="kit" style="display:flex;flex-direction:column;gap:16px"></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/kitpage.js?v=2"></script>
|
||||
<script src="/assets/misc.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/kitpage.js?v=3"></script>
|
||||
<script src="/assets/misc.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+4
-4
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
@@ -52,8 +52,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/wallet.js?v=2"></script>
|
||||
<script src="/assets/team.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/wallet.js?v=3"></script>
|
||||
<script src="/assets/team.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=2">
|
||||
<link rel="stylesheet" href="/assets/fx.css?v=3">
|
||||
</head>
|
||||
<body data-page="legal">
|
||||
<main class="wrap legal">
|
||||
@@ -37,7 +37,7 @@
|
||||
<section class="card"><h2>The service</h2><p>The site is provided as it is. We work to keep it running but cannot promise it will always be available or free of errors. The smart contract runs on Polygon on its own; its rules are public on the <a href="/contract">contract page</a>. We may change features, draft settings, the price of future positions or these terms; changes apply from the date they are posted here. As far as the law allows, our total responsibility to you is limited to what you paid for the purchase in question. These terms are governed by the laws of the State of Alabama, USA.</p></section>
|
||||
<section class="card"><h2>Contact</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>. Last updated November 15, 2026.</p></section>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=2"></script>
|
||||
<script src="/assets/misc.js?v=2"></script>
|
||||
<script src="/assets/common.js?v=3"></script>
|
||||
<script src="/assets/misc.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user