modified: app.py

modified:   templates/index.html
	new file:   templates/user.html
This commit is contained in:
SimolZimol
2024-09-03 10:18:23 +02:00
parent 8a2245a61b
commit 12f90728eb
3 changed files with 85 additions and 1 deletions

View File

@@ -1,4 +1,3 @@
<!-- web_panel/templates/index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
@@ -21,6 +20,7 @@
<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>