svitvojimilioni 2721d2a524 Izmenjen templates folder tako da bude modularniji
- dodati folderi layouts, includes, pages
- dodate base layout koji koriste ostale stranice
- dodat header.html i footer.html i includes koji koriste ostale stranice
- sav html refaktorisan tako da koristi base.html layout i header i footer iz includes
2024-01-19 10:53:12 -05:00

22 lines
471 B
HTML

{% extends "layouts/base.html" %}
{% block content %}
<main class="container page page-index">
<section>
<div class="btn">
<a href="/addtask">Add new task</a>
</div>
<div class="tasks-wrap">
<h1>Tasks</h1>
{% for task in tasks %}
<div class="task">
<a href="/projects/{{task.id}}">
<div>{{task.id}}.</div>
<div>{{task.name}}</div>
</a>
</div>
{% endfor %}
</div>
</section>
</main>
{% endblock content %}