Track all admin actions on the platform
+{log.description}
+Details:
+
+ {JSON.stringify(details, null, 2)}
+
+ {log.ip_address && (
+ IP: {log.ip_address}
+ )} ++ Page {page} of {totalPages} ({data?.total || 0} total logs) +
+Danger Zone
++ This action will permanently delete data from the database. Admin users and settings are preserved by default. +
+Users
+{wipePreview.users_count}
+Spread Bets
+{wipePreview.spread_bets_count}
+Events
+{wipePreview.events_count}
+Transactions
+{wipePreview.transactions_count}
++ Cooldown active. Please wait {wipePreview.cooldown_remaining_seconds} seconds before wiping again. +
++ Populate the database with test data for development and testing. +
+ ++ Simulate random user activity including creating users, placing bets, matching bets, and adding comments. +
+ + {status?.is_running && ( +Started By
+{status.started_by}
+Iterations
+{status.iterations_completed}
+Started At
++ {status.started_at ? new Date(status.started_at).toLocaleTimeString() : '-'} +
+Last Activity
+{status.last_activity || '-'}
+Enabled Actions:
+| User | +Status | +Balance | +Stats | +Joined | +Actions | +
|---|---|---|---|---|---|
|
+
+
+
+
+
+
+
+ {user.username}
+ {user.is_admin && (
+
+ {user.email} + |
+ + + {user.status} + + | +
+
+
+ ${Number(user.balance).toFixed(2)} + {Number(user.escrow) > 0 && ( ++ ${Number(user.escrow).toFixed(2)} escrow + )} + |
+
+
+
+ + {user.wins}W / {user.losses}L + +{(user.win_rate * 100).toFixed(0)}% win rate + |
+ + {new Date(user.created_at).toLocaleDateString()} + | +
+
+
+
+
+
+ |
+
+ Showing {(page - 1) * 20 + 1} to {Math.min(page * 20, data?.total || 0)} of {data?.total || 0} users +
+User: {selectedUser.username}
+Current Balance: ${Number(selectedUser.balance).toFixed(2)}
+Manage the H2H platform
+{settings.default_house_commission_percent}%
+Min Bet
+${settings.default_min_bet_amount}
+Max Bet
+${settings.default_max_bet_amount}
+Spread Range
++ {settings.default_min_spread} to {settings.default_max_spread} +
+{value}
+{subtitle}
+Manage sporting events and platform settings
-House Commission
-{settings.default_house_commission_percent}%
-Min Bet
-${settings.default_min_bet_amount}
-Max Bet
-${settings.default_max_bet_amount}
-Spread Range
-- {settings.default_min_spread} to {settings.default_max_spread} -
-