flask-htmx-board1/templates/main-page.html
Simple_Not a84da0a6f9
All checks were successful
continuous-integration/drone/push Build is passing
re ans-post
2024-01-30 01:49:36 +10:00

33 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% block content %}
{% include 'navbar.html' %}
<div class="container">
<div class="row">
<div class="col s4 center">
<div class="card">
<div class="card-image">
<img class="img-responsive" src="https://static.guaranteedstruggle.host/test-public/sin.jpg" height="400px" width="320px">
</div>
<div class="card-content">
<p> Dobro pozhalovat. AGAIN. </p>
</div>
</div>
</div>
<div class="col s4 ">
<div class="card">
<div class="card-content">
{% if boards[0] | length > 0 %}
<p>Доски:</p>
{% for board in boards[0] %}
<a href="/db_posts" class="lime-text red collection-item" style="padding: 2px 2px;">board</a>
{% endfor %}
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endblock content %}