1
0
mirror of synced 2025-12-27 23:23:24 +00:00

index demo page

This commit is contained in:
Valentin
2023-11-17 09:25:14 +01:00
parent bd4fe95215
commit b409f20d41
4 changed files with 192 additions and 4 deletions

26
templates/index.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calendar settings</title>
</head>
<body>
<h2>Your Teams:</h2>
<ul>
{% for team in userTeams %}
<li><a>{{ getTeamName(team.idTeam) }}</a> <a href="/del/{{ team.idTeam }}">Delete</a></li>
{% endfor %}
</ul>
<h2>Total Teams:</h2>
<ul>
{% for team in otherTeams %}
<li><a>{{ getTeamName(team) }}</a> <a href="/add/{{ team }}">Add</a></li>
{% endfor %}
</ul>
<a href="{{ url_for('download_ical') }}">Download iCal Calendar</a>
</body>
</html>