wow, chrome-extension MUCH improved - websockets
This commit is contained in:
47
chrome-extension/popup.html
Normal file
47
chrome-extension/popup.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Jackbox Chat Tracker</title>
|
||||
<link rel="stylesheet" href="popup.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>🎮 Jackbox Chat Tracker</h1>
|
||||
<p class="subtitle">Track thisgame++ and thisgame-- votes</p>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<!-- Tracking Controls -->
|
||||
<section class="controls">
|
||||
<h2>Tracking</h2>
|
||||
<div class="tracking-status">
|
||||
<span class="status-indicator" id="statusIndicator"></span>
|
||||
<span id="statusText">Not Tracking</span>
|
||||
</div>
|
||||
<div class="button-group">
|
||||
<button id="startTracking" class="btn btn-primary">Start Tracking</button>
|
||||
<button id="stopTracking" class="btn btn-secondary" disabled>Stop Tracking</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Votes Display -->
|
||||
<section class="votes">
|
||||
<h2>Recorded Votes (<span id="voteCount">0</span>)</h2>
|
||||
<div id="votesDisplay" class="votes-list">
|
||||
<p class="empty-state">No votes recorded yet. Start tracking to begin!</p>
|
||||
</div>
|
||||
<div class="button-group">
|
||||
<button id="resetVotes" class="btn btn-sm btn-danger">Reset Votes</button>
|
||||
<button id="exportVotes" class="btn btn-sm btn-primary">Export JSON</button>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user