modified: app.py

modified:   templates/index.html
	modified:   templates/login.html
	modified:   templates/settings.html
This commit is contained in:
SimolZimol
2024-09-03 11:51:15 +02:00
parent e86271ab9a
commit 8cd9bfcb20
4 changed files with 11 additions and 34 deletions

View File

@@ -1,10 +1,11 @@
<!-- 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>
<link href="{{ url_for('static', filename='css/' + theme + '.css') }}" rel="stylesheet">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container mt-5">
@@ -20,7 +21,6 @@
<a href="{{ url_for('start') }}" class="btn btn-primary btn-block {{ 'disabled' if bot_running else '' }}">Start Bot</a>
<a href="{{ url_for('stop') }}" class="btn btn-danger btn-block {{ 'disabled' if not bot_running else '' }}">Stop Bot</a>
<a href="{{ url_for('settings') }}" class="btn btn-secondary btn-block">Settings</a>
<a href="{{ url_for('users') }}" class="btn btn-info btn-block">User Management</a>
<a href="{{ url_for('logout') }}" class="btn btn-outline-secondary btn-block">Logout</a>
</div>
</div>