some styling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-05 22:00:36 +10:00
parent 68972b334a
commit 3c8681c192
2 changed files with 65 additions and 0 deletions

View File

@ -57,4 +57,9 @@
</tbody>
</table>
<li>
{% include 'posts.html' %}
{% endblock content %}

60
templates/posts.html Normal file
View File

@ -0,0 +1,60 @@
{% if board_threads|length>0 %}
{% for thread in board_threads %}
<div class="post post_type_reply post_withimg" id="post-15135655" data-num="15135655">
<div class="post__details" id="post-details-15135655">
<input type="checkbox" name="delete" class="turnmeoff" value="15135655">
<span class="post__detailpart">
<span class="post__anon">Аноним</span>
</span>
<span class="post__detailpart">
<span class="post__time">05/07/23 Срд 14:53:58</span>
</span>
<span class="post__detailpart">
<a href="/news/res/15135633.html#15135655" id="15135655" class="post__reflink"></a>
<a href="/news/res/15135633.html#15135655" class="js-post-reply-btn post__reflink" data-num="15135655">15135655</a>
<span class="post__number">2</span></span>
<span class="post__detailpart">
<svg xmlns="http://www.w3.org/2000/svg" class="post__btn post__btn_type_menu icon desktop" data-num="15135655"><use xlink:href="#icon__addmenu"></use></svg>
<span data-num="15135655" onclick="addAdminMenu(this); return false;" onmouseout="removeAdminMenu(event); return false;" style="display: flex;">
<svg xmlns="http://www.w3.org/2000/svg" class="post__btn post__btn_type_adm icon"><use xlink:href="#icon__report"></use></svg>
</span>
</span>
<div id="like-div15135655" class="post__detailpart post__rate post__rate_type_like" title="Мне это нравится">
<svg xmlns="http://www.w3.org/2000/svg" class="post__rate-icon icon"><use xlink:href="#icon__thunder"></use></svg>
<span id="like-count15135655">0</span>
</div>
<div id="dislike-div15135655" class="post__detailpart post__rate post__rate_type_dislike" title="Это говно">
<svg xmlns="http://www.w3.org/2000/svg" class="post__rate-icon icon"><use xlink:href="#icon__thumbdown"></use></svg>
<span id="dislike-count15135655">0</span>
</div>
</div>
<div class="post__images post__images_type_multi">
<figure class="post__image">
<figcaption class="post__file-attr">
<a class="desktop" target="_blank" href="/news/src/15135633/16885580392680.png" title="image.png"> image.png</a>
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-findimg desktop"><use xlink:href="#icon__findimg"></use></svg>
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-saveimg desktop" data-url="/news/src/15135633/16885580392680.png" data-name="image.png"><use xlink:href="#icon__saveimg"></use></svg>
<span class="post__filezise">901Кб, 1200x1200</span>
</figcaption>
<a href="/news/src/15135633/16885580392680.png" class="post__image-link" target="_blank" onclick="return false;">
<img src="/news/thumb/15135633/16885580392680s.jpg" alt="1200x1200" id="img-15135655-745dd20a9d7a40b701022cc7c194da31" class="post__file-preview " data-type="2" data-title="image.png" data-width="1200" data-height="1200" data-md5="15135655-745dd20a9d7a40b701022cc7c194da31" data-src="/news/src/15135633/16885580392680.png" width="170" height="170">
</a>
</figure><figure class="post__image">
<figcaption class="post__file-attr">
<a class="desktop" target="_blank" href="/news/src/15135633/16885580392721.png" title="image.png"> image.png</a>
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-findimg desktop"><use xlink:href="#icon__findimg"></use></svg>
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-saveimg desktop" data-url="/news/src/15135633/16885580392721.png" data-name="image.png"><use xlink:href="#icon__saveimg"></use></svg>
<span class="post__filezise">623Кб, 954x960</span>
</figcaption>
<a href="/news/src/15135633/16885580392721.png" class="post__image-link" target="_blank" onclick="return false;">
<img src="/news/thumb/15135633/16885580392721s.jpg" alt="954x960" id="img-15135655-d39bd5b1ed6c40e9a1d1eb2971a57584" class="post__file-preview " data-type="2" data-title="image.png" data-width="954" data-height="960" data-md5="15135655-d39bd5b1ed6c40e9a1d1eb2971a57584" data-src="/news/src/15135633/16885580392721.png" width="168" height="170">
</a>
</figure>
</div>
<article id="m15135655" class="post__message ">
<a href="/news/res/15135633.html#15135633" class="post-reply-link" data-thread="15135633" data-num="15135633">&gt;&gt;15135633 (OP)</a><br>Меняй КДПВ нахой.
</article>
<div id="refmap-15135655" class="post__refmap" style="display: none;"></div>
</div>
{% endfor %}
{% endif %}