projekt_paradygmaty_lidia_w.../todo_list.html
Lidia Wojciechowska 7397020d64 Dodano nowe pliki
2024-06-17 10:52:23 +02:00

19 lines
624 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>TODO List</title>
<link rel="stylesheet" type="text/css" href="/abcd.css">
</head>
<body>
<h1>TODO List</h1>
<a href="/add" class="button">Add Task</a>
<a href="/search" class="button">Search Tasks</a>
<a href="/long" class="button">Show Long Tasks</a> <!-- Nowy przycisk -->
<ul class="task-list">
{% for task in tasks %}
<li>{{ task.description }} <a href="/edit/{{ task.id }}" class="button">Edit</a> <a href="/delete/{{ task.id }}" class="button delete">Delete</a></li>
{% endfor %}
</ul>
</body>
</html>