Upload admin.html with huggingface_hub
Browse files- admin.html +33 -33
admin.html
CHANGED
|
@@ -165,43 +165,43 @@
|
|
| 165 |
<button class="voice-btn" id="voice-btn" onclick="toggleVoice()">π€ Voice On</button>
|
| 166 |
<button class="voice-btn" onclick="clearChat()">π Clear</button>
|
| 167 |
<button class="voice-btn" onclick="showBrainStats()">π§ Stats</button>
|
| 168 |
-
|
| 169 |
-
</div>
|
| 170 |
-
<div class="tab-panel" id="tab-wallet">
|
| 171 |
-
<div class="stats-panel" id="wallet-stats">
|
| 172 |
-
<div class="stat-row"><span>KSH Balance:</span> <span id="stat-ksh-balance">0.00 KSH</span></div>
|
| 173 |
-
<div class="stat-row"><span>Total Trades:</span> <span id="stat-trades">0</span></div>
|
| 174 |
-
<div class="stat-row"><span>Zero-Cost Profits:</span> <span id="stat-zero-profit">0.00 KSH</span></div>
|
| 175 |
-
<div class="stat-row"><span>Anonymous Earnings:</span> <span id="stat-anonymous">0.00 KSH</span></div>
|
| 176 |
</div>
|
| 177 |
-
<div
|
| 178 |
-
<
|
| 179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
</div>
|
| 181 |
-
<div
|
| 182 |
-
<
|
| 183 |
-
|
| 184 |
-
<
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
</
|
| 188 |
-
<
|
|
|
|
| 189 |
</div>
|
| 190 |
-
<div class="output" id="wallet-output" style="min-height:60px; margin-top:10px;"></div>
|
| 191 |
</div>
|
| 192 |
-
<div class="tab-panel" id="tab-
|
| 193 |
-
<div class="sub-panel-head">
|
| 194 |
-
<h2 style="margin:0;">Subscriptions</h2>
|
| 195 |
-
<button onclick="toggleAdmin()" style="width:auto; padding:8px 14px; background:var(--accent-purple);">π Toggle Admin (unlock all)</button>
|
| 196 |
-
</div>
|
| 197 |
-
<div class="admin-badge" id="admin-badge" style="display:none;">π ADMIN MODE β ALL FEATURES UNLOCKED ON EVERY PLAN</div>
|
| 198 |
-
<div class="sub-current" id="sub-current">Current plan: <b>Free</b></div>
|
| 199 |
-
<div class="plan-grid" id="plan-grid"></div>
|
| 200 |
-
<div class="output" id="sub-output" style="min-height:40px; margin-top:12px;"></div>
|
| 201 |
-
</div>
|
| 202 |
-
</div>
|
| 203 |
-
</div>
|
| 204 |
-
<div class="tab-panel" id="tab-knowledge">
|
| 205 |
<div class="section-title">π Knowledge Domains</div>
|
| 206 |
<div class="knowledge-grid">
|
| 207 |
<button class="knowledge-btn" onclick="askDomain('novel')">π Novels</button>
|
|
|
|
| 165 |
<button class="voice-btn" id="voice-btn" onclick="toggleVoice()">π€ Voice On</button>
|
| 166 |
<button class="voice-btn" onclick="clearChat()">π Clear</button>
|
| 167 |
<button class="voice-btn" onclick="showBrainStats()">π§ Stats</button>
|
| 168 |
+
<button class="voice-btn" onclick="generateApiKey()" style="background:var(--accent-purple);">π API Key</button>
|
| 169 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
</div>
|
| 171 |
+
<div class="tab-panel" id="tab-wallet">
|
| 172 |
+
<div class="stats-panel" id="wallet-stats">
|
| 173 |
+
<div class="stat-row"><span>KSH Balance:</span> <span id="stat-ksh-balance">0.00 KSH</span></div>
|
| 174 |
+
<div class="stat-row"><span>Total Trades:</span> <span id="stat-trades">0</span></div>
|
| 175 |
+
<div class="stat-row"><span>Zero-Cost Profits:</span> <span id="stat-zero-profit">0.00 KSH</span></div>
|
| 176 |
+
<div class="stat-row"><span>Anonymous Earnings:</span> <span id="stat-anonymous">0.00 KSH</span></div>
|
| 177 |
+
</div>
|
| 178 |
+
<div style="display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px;">
|
| 179 |
+
<button onclick="walletTrade()" style="background:var(--accent);">π Trade</button>
|
| 180 |
+
<button onclick="walletProfit()" style="background:var(--accent-green);">πΈ Profit</button>
|
| 181 |
+
</div>
|
| 182 |
+
<div style="margin-top:12px; display:flex; gap:8px;">
|
| 183 |
+
<input type="number" id="convert-amount" placeholder="Amount" value="100" style="flex:2;">
|
| 184 |
+
<select id="convert-currency" style="flex:1;">
|
| 185 |
+
<option value="USD">USD</option>
|
| 186 |
+
<option value="EUR">EUR</option>
|
| 187 |
+
<option value="GBP">GBP</option>
|
| 188 |
+
</select>
|
| 189 |
+
<button onclick="walletConvert()" style="flex:1;">β</button>
|
| 190 |
+
</div>
|
| 191 |
+
<div class="output" id="wallet-output" style="min-height:60px; margin-top:10px;"></div>
|
| 192 |
</div>
|
| 193 |
+
<div class="tab-panel" id="tab-subscription">
|
| 194 |
+
<div class="sub-panel-head">
|
| 195 |
+
<h2 style="margin:0;">Subscriptions</h2>
|
| 196 |
+
<button onclick="toggleAdmin()" style="width:auto; padding:8px 14px; background:var(--accent-purple);">π Toggle Admin (unlock all)</button>
|
| 197 |
+
</div>
|
| 198 |
+
<div class="admin-badge" id="admin-badge" style="display:none;">π ADMIN MODE β ALL FEATURES UNLOCKED ON EVERY PLAN</div>
|
| 199 |
+
<div class="sub-current" id="sub-current">Current plan: <b>Free</b></div>
|
| 200 |
+
<div class="plan-grid" id="plan-grid"></div>
|
| 201 |
+
<div class="output" id="sub-output" style="min-height:40px; margin-top:12px;"></div>
|
| 202 |
</div>
|
|
|
|
| 203 |
</div>
|
| 204 |
+
<div class="tab-panel active" id="tab-knowledge">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
<div class="section-title">π Knowledge Domains</div>
|
| 206 |
<div class="knowledge-grid">
|
| 207 |
<button class="knowledge-btn" onclick="askDomain('novel')">π Novels</button>
|