flask-htmx-board1/templates/i-posts.html

34 lines
1.2 KiB
HTML
Raw Normal View History

2023-07-13 19:59:56 +10:00
{% if postos | length > 0 %}
2023-07-13 20:09:26 +10:00
{% for posto in postos %}
<div class="row">
<div class="col s12 m6">
2023-07-13 20:18:12 +10:00
<div class="card blue-red darken-1">
2023-07-13 20:09:26 +10:00
<div class="card-content white-text">
2023-07-13 20:13:33 +10:00
<span class="card-title">#{{ posto._key }}</span>
2023-07-13 20:09:26 +10:00
<p>{{ posto.texto }}</p>
</div>
<div class="card-action">
2023-07-13 20:12:11 +10:00
<a href="#">Answer me!</a>
2023-07-13 20:09:26 +10:00
</div>
</div>
</div>
2023-07-13 20:19:57 +10:00
</div>
<div class="col s12 m7">
<h2 class="header">Horizontal Card</h2>
<div class="card horizontal">
<div class="card-image">
<img src="https://lorempixel.com/100/190/nature/6">
</div>
<div class="card-stacked">
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
2023-07-13 19:50:45 +10:00
{% endfor %}
{% endif %}