new file: .gitignore
new file: Dockerfile new file: README.md new file: app.py new file: asknotesintro.txt new file: background_data.txt new file: bot.py new file: introduction.txt new file: requirements.txt new file: run.py new file: start.bat new file: templates/index.html new file: templates/login.html new file: templates/settings.html
This commit is contained in:
17
templates/index.html
Normal file
17
templates/index.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- web_panel/templates/index.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Admin Panel</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Discord Bot Admin Panel</h1>
|
||||
<p>Bot Status: {{ "Running" if bot_running else "Stopped" }}</p>
|
||||
<a href="{{ url_for('start') }}">Start Bot</a>
|
||||
<a href="{{ url_for('stop') }}">Stop Bot</a>
|
||||
<a href="{{ url_for('settings') }}">Settings</a>
|
||||
<a href="{{ url_for('logout') }}">Logout</a>
|
||||
</body>
|
||||
</html>
|
||||
19
templates/login.html
Normal file
19
templates/login.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!-- web_panel/templates/login.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Login</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Admin Panel Login</h1>
|
||||
<form method="POST" action="{{ url_for('login') }}">
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
17
templates/settings.html
Normal file
17
templates/settings.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- web_panel/templates/settings.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Settings</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Bot Settings</h1>
|
||||
<form method="POST" action="{{ url_for('settings') }}">
|
||||
<!-- Hier kannst du Formulare für Bot-Einstellungen einfügen -->
|
||||
<button type="submit">Save Settings</button>
|
||||
</form>
|
||||
<a href="{{ url_for('index') }}">Back to Dashboard</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user