link to website

This commit is contained in:
2025-12-02 11:38:27 -08:00
parent 74f7ea0aa5
commit 8c973d35cb
3 changed files with 42 additions and 0 deletions

21
templates/event.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Event - {{ title }}</title>
</head>
<body>
<h1>{{ title }}</h1>
<p>{{ time }}</p>
<table>
<tr>
<th>User</th>
</tr>
{% for user_id, user_name in users %}
<tr>
<td><a href="{{ url_for('users', user_id=user_id, _external=True) }}">{{ user_name }}</a></td>
<td>{{ event_date }}</td>
</tr>
{% endfor %}
</table>
</body>
</html>

21
templates/tournament.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Tournament - {{ title }}</title>
</head>
<body>
<h1>{{ title }}</h1>
<table>
<tr>
<th>Event</th>
<th>Time</th>
</tr>
{% for event_id, event_name, event_date in event_ids %}
<tr>
<a href="{{ url_for('events', event_id=event_id) }}">{{ event_name }}</a>
<td>{{ event_date }}</td>
</tr>
{% endfor %}
</table>
</body>
</html>

0
templates/user.html Normal file
View File