This commit is contained in:
parent
db9279ea2a
commit
d4bcfa7b8f
@ -1,43 +1,41 @@
|
|||||||
{% if postos | length > 0 %}
|
{% if postos | length > 0 %}
|
||||||
<div class="row" >
|
{% for posto in postos %}
|
||||||
{% for posto in postos %}
|
<div class="row" id="post-{{ posto._key }}">
|
||||||
<div class="row" id="post-{{ posto._key }}">
|
{% if posto.root_post %}
|
||||||
{% if posto.root_post %}
|
<div class="card deep-orange accent-4 darken-1">
|
||||||
<div class="card deep-orange accent-4 darken-1">
|
{% else %}
|
||||||
{% else %}
|
<div class="card blue-grey darken-1">
|
||||||
<div class="card blue-grey darken-1">
|
{% endif %}
|
||||||
{% endif %}
|
<div class="col s4">
|
||||||
<div class="col s4">
|
<div class="card-image">
|
||||||
<div class="card-image">
|
<div class="hex-main">
|
||||||
<div class="hex-main">
|
<div class="hex-container">
|
||||||
<div class="hex-container">
|
<a href="https://loremflickr.com/g/320/240/paris" target="_blank" ">
|
||||||
<a href="https://loremflickr.com/g/320/240/paris" target="_blank" ">
|
<img src="https://loremflickr.com/g/320/240/paris">
|
||||||
<img src="https://loremflickr.com/g/320/240/paris">
|
</a>
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col s8">
|
</div>
|
||||||
<div class="card-content white-text">
|
<div class="col s8">
|
||||||
<span class="card-title">#{{ posto._key }}
|
<div class="card-content white-text">
|
||||||
<span class="new badge blue" data-badge-caption="">Ответов: {{ posto.answers_num }}</span>
|
<span class="card-title">#{{ posto._key }}
|
||||||
<span class="new badge red" data-badge-caption="">Длина треда: {{ posto.children_num }}</span>
|
<span class="new badge blue" data-badge-caption="">Ответов: {{ posto.answers_num }}</span>
|
||||||
</span>
|
<span class="new badge red" data-badge-caption="">Длина треда: {{ posto.children_num }}</span>
|
||||||
|
</span>
|
||||||
|
|
||||||
{% if posto.parent_post %}
|
{% if posto.parent_post %}
|
||||||
<a class="card-action" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a>
|
<a class="card-action" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>{{ posto.texto }}</p>
|
<p>{{ posto.texto }}</p>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col s12">
|
</div>
|
||||||
<div class="card-action right">
|
<div class="col s12">
|
||||||
<a href="#" hx-post="/post_my_post/{{ posto._key }}" hx-target="#neu-posts" >Answer me!</a>
|
<div class="card-action right">
|
||||||
</div>
|
<a href="#" hx-post="/post_my_post/{{ posto._key }}" hx-target="#neu-posts" >Answer me!</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
</div>
|
||||||
</div>
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
Loading…
Reference in New Issue
Block a user