modified: app.py

modified:   templates/server_selection.html
This commit is contained in:
SimolZimol
2024-10-23 11:08:52 +02:00
parent 3300a8d426
commit 43258f6980
2 changed files with 57 additions and 99 deletions

View File

@@ -4,13 +4,18 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Server Selection</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
</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>
<div class="container">
<h1 class="mt-5">Wähle einen Server</h1>
<ul class="list-group mt-3">
{% for guild in guilds %}
<li class="list-group-item">
<a href="{{ url_for('user_dashboard', guild_id=guild['id']) }}">{{ guild['name'] }}</a>
</li>
{% endfor %}
</ul>
</div>
</body>
</html>