modified: app.py

new file:   templates/server_selection.html
This commit is contained in:
SimolZimol
2024-10-23 10:39:48 +02:00
parent 1955195b99
commit 3300a8d426
2 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Server Selection</title>
</head>
<body>
<h1>Select a Server</h1>
<ul>
{% for guild in session['discord_guilds'] %}
<li><a href="{{ url_for('user_dashboard', guild_id=guild['id']) }}">{{ guild['name'] }}</a></li>
{% endfor %}
</ul>
</body>
</html>