modified: app.py

modified:   templates/index.html
This commit is contained in:
SimolZimol
2024-09-03 13:23:04 +02:00
parent b680b5af21
commit 71b3c3e8e5
2 changed files with 32 additions and 4 deletions

View File

@@ -24,12 +24,13 @@
<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('logs') }}" class="btn btn-secondary btn-block">Logs</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>
<h5 class="card-title">Bot Statistics</h5>
<p class="card-text">Total Messages Processed: {{ total_messages }}</p>
<p class="card-text">Most Used Command: {{ most_used_command }}</p>
</div>
<h5 class="card-title">Bot Statistics</h5>
<p class="card-text">Total Messages Processed: {{ total_messages }}</p>
<p class="card-text">Most Used Command: {{ most_used_command }}</p>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>