Update public/index.html
Browse files- public/index.html +17 -37
public/index.html
CHANGED
|
@@ -13,21 +13,15 @@
|
|
| 13 |
<video autoplay muted loop id="funk-video">
|
| 14 |
<source src="" type="video/mp4">
|
| 15 |
</video>
|
| 16 |
-
<div id="video-overlay"></div>
|
| 17 |
</div>
|
| 18 |
|
| 19 |
<!-- Main Panel -->
|
| 20 |
<div class="panel">
|
| 21 |
-
|
| 22 |
-
<h1>π΅ FunkBot Panel</h1>
|
| 23 |
-
<div class="controls">
|
| 24 |
-
<button id="theme-toggle">π Dark Mode</button>
|
| 25 |
-
<button id="music-toggle">π Play Music</button>
|
| 26 |
-
</div>
|
| 27 |
-
</div>
|
| 28 |
-
|
| 29 |
-
<!-- Login/Register Section -->
|
| 30 |
<div id="auth-section">
|
|
|
|
|
|
|
|
|
|
| 31 |
<div class="tabs">
|
| 32 |
<button class="tab active" data-tab="login">Login</button>
|
| 33 |
<button class="tab" data-tab="register">Register</button>
|
|
@@ -49,45 +43,31 @@
|
|
| 49 |
</div>
|
| 50 |
</div>
|
| 51 |
|
| 52 |
-
<!-- Bot Control Section (
|
| 53 |
-
<div id="bot-section"
|
| 54 |
<div class="dashboard">
|
| 55 |
-
<div class="
|
| 56 |
-
<
|
| 57 |
-
|
| 58 |
-
<
|
| 59 |
-
|
| 60 |
-
<div class="stat-card">
|
| 61 |
-
<h3>π€ Bots</h3>
|
| 62 |
-
<p id="bot-count">0</p>
|
| 63 |
-
</div>
|
| 64 |
-
<div class="stat-card">
|
| 65 |
-
<h3>π₯ Users</h3>
|
| 66 |
-
<p id="user-count">0</p>
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
|
| 70 |
-
<div class="deploy-section">
|
| 71 |
-
<h2>π Deploy New Bot</h2>
|
| 72 |
-
<div class="form-row">
|
| 73 |
-
<input type="text" id="repo-url" placeholder="GitHub Repo URL" required>
|
| 74 |
-
<input type="text" id="entry-file" placeholder="Entry File (e.g., index.js)" value="index.js" required>
|
| 75 |
-
</div>
|
| 76 |
-
<button id="deploy-btn">Deploy Bot</button>
|
| 77 |
-
</div>
|
| 78 |
-
|
| 79 |
<div class="terminal">
|
| 80 |
-
<
|
| 81 |
-
<div id="output"></div>
|
| 82 |
<div class="input-group">
|
| 83 |
-
<input type="text" id="command-input" placeholder="Enter command...">
|
| 84 |
<button id="send-command">Send</button>
|
| 85 |
</div>
|
| 86 |
</div>
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
| 91 |
<script src="script.js"></script>
|
| 92 |
</body>
|
| 93 |
</html>
|
|
|
|
| 13 |
<video autoplay muted loop id="funk-video">
|
| 14 |
<source src="" type="video/mp4">
|
| 15 |
</video>
|
|
|
|
| 16 |
</div>
|
| 17 |
|
| 18 |
<!-- Main Panel -->
|
| 19 |
<div class="panel">
|
| 20 |
+
<!-- Auth Section (initially visible) -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
<div id="auth-section">
|
| 22 |
+
<div class="header">
|
| 23 |
+
<h1>π΅ FunkBot Panel</h1>
|
| 24 |
+
</div>
|
| 25 |
<div class="tabs">
|
| 26 |
<button class="tab active" data-tab="login">Login</button>
|
| 27 |
<button class="tab" data-tab="register">Register</button>
|
|
|
|
| 43 |
</div>
|
| 44 |
</div>
|
| 45 |
|
| 46 |
+
<!-- Bot Control Section (initially hidden but forced visible) -->
|
| 47 |
+
<div id="bot-section" style="display: none;">
|
| 48 |
<div class="dashboard">
|
| 49 |
+
<div class="header">
|
| 50 |
+
<h1>π΅ FunkBot Terminal</h1>
|
| 51 |
+
<div class="controls">
|
| 52 |
+
<button id="theme-toggle">π Dark Mode</button>
|
| 53 |
+
<button id="music-toggle">π Play Music</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
</div>
|
| 55 |
</div>
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
<div class="terminal">
|
| 58 |
+
<div id="output" style="display: block; height: 300px; overflow-y: auto;"></div>
|
|
|
|
| 59 |
<div class="input-group">
|
| 60 |
+
<input type="text" id="command-input" placeholder="Enter command..." style="display: block;">
|
| 61 |
<button id="send-command">Send</button>
|
| 62 |
</div>
|
| 63 |
</div>
|
| 64 |
</div>
|
| 65 |
</div>
|
| 66 |
</div>
|
| 67 |
+
|
| 68 |
+
<!-- Connection Status Indicator -->
|
| 69 |
+
<div id="connection-status"></div>
|
| 70 |
+
|
| 71 |
<script src="script.js"></script>
|
| 72 |
</body>
|
| 73 |
</html>
|