# This is a combination of 12 commits.

# This is the 1st commit message:

Initial commit
# This is the commit message #2:

added whole syswtem

becuz i forgot to keep up with the github

# This is the commit message #3:

hihi hiha

# This is the commit message #4:

added startServer.sh

# This is the commit message #5:

hihi hiha

# This is the commit message #6:

fixed some packages

# This is the commit message #7:

fixed every bug with the stupid oop

# This is the commit message #8:

Revert "fixed every bug with the stupid oop"

This reverts commit d2255863aa44e2504f9f2cec9e1ae5d1094cb9cd.

# This is the commit message #9:

added prevention of breaking the system by manually filling in the project id

# This is the commit message #10:

fixed bug when adding bot

# This is the commit message #11:

made user-id not just count up from 0

# This is the commit message #12:

fixed the issue where if you load project page it woulnt show the commands until you refresh the page
This commit is contained in:
Valentijn :)
2023-11-24 11:04:00 +01:00
committed by HerpieDerpie@example.com
commit 48a5a3576d
20 changed files with 3712 additions and 0 deletions

22
httpdocs/dashboard.html Executable file
View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard</title>
<link rel="stylesheet" href="/public.css">
<link rel="stylesheet" href="/dashboard.css">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="bots.js" defer></script>
</head>
<body>
<div id="main">
<div id="container">
<h1>Choose the bot you want to edit</h1>
<div id="grid" class="bot-list">
</div>
</div>
</div>
</body>
</html>

24
httpdocs/login.html Executable file
View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/login.css">
<link rel="stylesheet" href="/public.css">
<title>Login</title>
</head>
<body>
<div class="login-container">
<h2>Login to DiscordBotBuilder</h2>
<form action="/" method="POST">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<button type="submit">Login</button>
</form>
</div>
</body>
</html>

26
httpdocs/project.html Executable file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project</title>
<link rel="stylesheet" href="/public.css">
<link rel="stylesheet" href="/project.css">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="/project.js" defer></script>
</head>
<body>
<div id="main">
<div id="container" onload="loadData()">
<h1 id="title"></h1>
<button id="editProjectName" onclick="editProjectName()">Edit Name</button>
<button id="exportProject" onclick="exportProject()">Export Project</button>
<h2 id="description"></h2><br>
<h3 id="section-title">Commands:</h3>
<div id="grid" class="bot-list">
</div>
</div>
</div>
</body>
</html>