Spaces:
Running
Running
Create templates/admin.html
Browse files- templates/admin.html +23 -0
templates/admin.html
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>Admin Panel</title>
|
6 |
+
<link rel="stylesheet" href="/static/style.css">
|
7 |
+
</head>
|
8 |
+
<body>
|
9 |
+
<h1>Admin Panel</h1>
|
10 |
+
<h3>Add Credits to User Account</h3>
|
11 |
+
<form id="addCreditForm">
|
12 |
+
<label for="username">Username:</label>
|
13 |
+
<input type="text" id="username" name="username" required>
|
14 |
+
<br>
|
15 |
+
<label for="credits">Credits to Add:</label>
|
16 |
+
<input type="number" id="credits" name="credits" required>
|
17 |
+
<br>
|
18 |
+
<button type="submit">Add Credits</button>
|
19 |
+
</form>
|
20 |
+
<div id="result"></div>
|
21 |
+
<script src="/static/admin.js"></script>
|
22 |
+
</body>
|
23 |
+
</html>
|