flask-htmx-board1/templates/board.html

38 lines
767 B
HTML
Raw Normal View History

2023-07-03 23:18:37 +10:00
{% extends "base.html" %}
{% block content %}
<div class="content">
{{board_id}}
</div>
<nav>
<a routerLink = "/">Напоминание </a>
<br>
<a routerLink = "/about">О нас </a>
<br>
Доски:
<div class="boards">
<ul>
{% for board in boards %}
<li><a href="{{board}}">/{{board}}</a></li>
{% endfor %}
</ul>
</div>
</nav>
<table class="border-collapse w-small w-2/3 mx-auto">
<thead>
<tr>
<th class="p-3 font-bold uppercase bg-gray-200 text-gray-600 border border-gray-300 hidden lg:table-cell">#</th>
</tr>
</thead>
<tbody id="thread-results">
{% include 'thread.html' %}
</tbody>
</table>
{% endblock content %}