-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
87 lines (79 loc) · 3.35 KB
/
index.html
File metadata and controls
87 lines (79 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Brainrot Manager</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<h1>Brainrot Manager</h1>
<div class="filters">
<input type="text" id="searchName" placeholder="Buscar Brainrot o cuenta">
<select id="filterAccount">
<option value="">Todas las cuentas</option>
</select>
<select id="filterRareza">
<option value="">Todas las rarezas</option>
<option value="Brainrot God">Brainrot God</option>
<option value="Secret">Secret</option>
</select>
</div>
<div id="brainrotCount" style="margin-bottom:10px; color:#f5f5f5; text-align:right;"></div>
<div id="tableContainer">
<table>
<thead>
<tr>
<th>Cuenta</th>
<th>Brainrot</th>
<th>Rareza</th>
<th>Mutación</th>
<th>$/s</th>
<th>Precio</th>
<th>Estado</th>
</tr>
</thead>
<tbody id="tableBody"></tbody>
</table>
</div>
<!-- Botón para abrir modal -->
<div style="text-align:center; margin:20px 0;">
<button id="openFormBtn" class="add-btn">Añadir Brainrot</button>
</div>
<!-- Modal -->
<div id="addModal" class="modal">
<div class="modal-content">
<span class="close-btn">×</span>
<h2>Añadir Brainrot</h2>
<input type="text" id="newCuenta" placeholder="Cuenta">
<input type="text" id="newBrainrot" placeholder="Brainrot">
<select id="newRareza">
<option value="Brainrot God">Brainrot God</option>
<option value="Secret">Secret</option>
</select>
<select id="newMutacion">
<option value="Normal">Normal</option>
<option value="Oro">Oro</option>
<option value="Diamante">Diamante</option>
<option value="Lava">Lava</option>
<option value="Rainbow">Rainbow</option>
<option value="Candy">Candy</option>
<option value="Bloodrot">Bloodrot</option>
</select>
<input type="number" id="newDineroSeg" placeholder="Dinero por segundo">
<input type="number" id="newPrecio" placeholder="Precio">
<select id="newEstado">
<option value="Disponible">Disponible</option>
<option value="Vendido">Vendido</option>
<option value="Reservado">Reservado</option>
</select>
<button id="saveBrainrotBtn" class="add-btn">Guardar</button>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/9.23.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.23.0/firebase-database-compat.js"></script>
<script src="script.js"></script>
</body>
</html>