This commit is contained in:
parent
1d9b88be59
commit
00fc6f0f3f
@ -35,17 +35,17 @@
|
|||||||
{% for thread in board_threads %}
|
{% for thread in board_threads %}
|
||||||
<tr class="">
|
<tr class="">
|
||||||
<td class="">
|
<td class="">
|
||||||
<a href="https://static.vdk2ch.ru/thread-pics/{{thread.pic_link}}" target=”_blank”>
|
<a href="https://static.vdk2ch.ru/thread-pics/{{thread.pic_links}}" target=”_blank”>
|
||||||
<svg viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
<svg viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
<defs>
|
<defs>
|
||||||
<pattern id="img-{{thread.post_num}}" patternUnits="userSpaceOnUse" width="100" height="100">
|
<pattern id="img-{{thread.post_num}}" patternUnits="userSpaceOnUse" width="100" height="100">
|
||||||
<image xlink:href="https://static.vdk2ch.ru/thread-pics/{{thread.pic_link}}" x="-25" width="150" height="100" />
|
<image xlink:href="https://static.vdk2ch.ru/thread-pics/{{thread.pic_links}}" x="-25" width="150" height="100" />
|
||||||
</pattern>
|
</pattern>
|
||||||
</defs>
|
</defs>
|
||||||
<polygon points="50 1 95 25 95 75 50 99 5 75 5 25" fill="url(#img-{{thread.post_num}})"/>
|
<polygon points="50 1 95 25 95 75 50 99 5 75 5 25" fill="url(#img-{{thread.post_num}})"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<!-- <img src="https://static.vdk2ch.ru/thread-pics/{{thread.pic_link}}" alt="" width="200" height="200"> -->
|
<!-- <img src="https://static.vdk2ch.ru/thread-pics/{{thread.pic_links}}" alt="" width="200" height="200"> -->
|
||||||
</td>
|
</td>
|
||||||
<td class="">{{thread.thread_num}}</td>
|
<td class="">{{thread.thread_num}}</td>
|
||||||
<td class="">{{thread.post_num}}</td>
|
<td class="">{{thread.post_num}}</td>
|
||||||
|
@ -19,37 +19,30 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" class="post__btn post__btn_type_adm icon"><use xlink:href="#icon__report"></use></svg>
|
<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>
|
||||||
</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>
|
||||||
<div class="post__images post__images_type_multi">
|
<div class="post__images post__images_type_multi">
|
||||||
<figure class="post__image">
|
{% for pic in thread.pic_links %}
|
||||||
<figcaption class="post__file-attr">
|
<figure class="post__image">
|
||||||
<a class="desktop" target="_blank" href="/news/src/15135633/16885580392680.png" title="image.png"> image.png</a>
|
<figcaption class="post__file-attr">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-findimg desktop"><use xlink:href="#icon__findimg"></use></svg>
|
<a class="desktop" target="_blank" href="https://static.vdk2ch.ru/thread-pics/{{pic}}" title="image.png"> image.png</a>
|
||||||
<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>
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-findimg desktop"><use xlink:href="#icon__findimg"></use></svg>
|
||||||
<span class="post__filezise">901Кб, 1200x1200</span>
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-saveimg desktop" data-url="https://static.vdk2ch.ru/thread-pics/{{pic}}" data-name="image.png"><use xlink:href="#icon__saveimg"></use></svg>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
<a href="/news/src/15135633/16885580392680.png" class="post__image-link" target="_blank" onclick="return false;">
|
<a href="/news/src/15135633/16885580392721.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 href="https://static.vdk2ch.ru/thread-pics/{{pic}}" target=”_blank”>
|
||||||
</a>
|
<svg viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
</figure><figure class="post__image">
|
<defs>
|
||||||
<figcaption class="post__file-attr">
|
<pattern id="img-{{thread.post_num}}" patternUnits="userSpaceOnUse" width="100" height="100">
|
||||||
<a class="desktop" target="_blank" href="/news/src/15135633/16885580392721.png" title="image.png"> image.png</a>
|
<image xlink:href="https://static.vdk2ch.ru/thread-pics/{{pic}}" x="-25" width="150" height="100" />
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon js-post-findimg desktop"><use xlink:href="#icon__findimg"></use></svg>
|
</pattern>
|
||||||
<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>
|
</defs>
|
||||||
<span class="post__filezise">623Кб, 954x960</span>
|
<polygon points="50 1 95 25 95 75 50 99 5 75 5 25" fill="url(#img-{{thread.post_num}})"/>
|
||||||
</figcaption>
|
</svg>
|
||||||
<a href="/news/src/15135633/16885580392721.png" class="post__image-link" target="_blank" onclick="return false;">
|
</a>
|
||||||
<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>
|
<!-- <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"> -->
|
||||||
</figure>
|
</a>
|
||||||
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
<article id="m15135655" class="post__message ">
|
<article id="m15135655" class="post__message ">
|
||||||
<a href="/news/res/15135633.html#15135633" class="post-reply-link" data-thread="15135633" data-num="15135633">>>15135633 (OP)</a><br>{{thread.txt}}
|
<a href="/news/res/15135633.html#15135633" class="post-reply-link" data-thread="15135633" data-num="15135633">>>15135633 (OP)</a><br>{{thread.txt}}
|
||||||
|
@ -1,44 +1,44 @@
|
|||||||
# <id>: {<post_num>, <pic_link>, <texto>, <name>}
|
# <id>: {<post_num>, <pic_links>, <texto>, <name>}
|
||||||
open_threads = {
|
open_threads = {
|
||||||
'123': {
|
'123': {
|
||||||
'thread_num': '123',
|
'thread_num': '123',
|
||||||
'post_num': '9999',
|
'post_num': '9999',
|
||||||
'pic_link': '16216445863900.jpg',
|
'pic_links': ['16216445863900.jpg'],
|
||||||
'txt': 'фыва',
|
'txt': 'фыва',
|
||||||
'name': 'anonius'
|
'name': 'anonius'
|
||||||
},
|
},
|
||||||
'124': {
|
'124': {
|
||||||
'thread_num': '124',
|
'thread_num': '124',
|
||||||
'post_num': '456',
|
'post_num': '456',
|
||||||
'pic_link': '16672846165910.png',
|
'pic_linkss': ['16672846165910.png'],
|
||||||
'txt': 'Test',
|
'txt': 'Test',
|
||||||
'name': 'anonius'
|
'name': 'anonius'
|
||||||
},
|
},
|
||||||
'1': {
|
'1': {
|
||||||
'thread_num': '123',
|
'thread_num': '123',
|
||||||
'post_num': '1',
|
'post_num': '1',
|
||||||
'pic_link': '16211265989190.jpg',
|
'pic_links': ['16211265989190.jpg'],
|
||||||
'txt': 'фыва',
|
'txt': 'фыва',
|
||||||
'name': 'anonius'
|
'name': 'anonius'
|
||||||
},
|
},
|
||||||
'44': {
|
'44': {
|
||||||
'thread_num': '44',
|
'thread_num': '44',
|
||||||
'post_num': '12',
|
'post_num': '12',
|
||||||
'pic_link': '15937598937440.png',
|
'pic_links': ['15937598937440.png'],
|
||||||
'txt': 'I hate my brother-nation..',
|
'txt': 'I hate my brother-nation..',
|
||||||
'name': 'Владимир Владимирович'
|
'name': 'Владимир Владимирович'
|
||||||
},
|
},
|
||||||
'99': {
|
'99': {
|
||||||
'thread_num': '99',
|
'thread_num': '99',
|
||||||
'post_num': '55',
|
'post_num': '55',
|
||||||
'pic_link': 'Экран-смерти.jpg',
|
'pic_links': ['Экран-смерти.jpg'],
|
||||||
'txt': 'фыва',
|
'txt': 'фыва',
|
||||||
'name': 'anonius'
|
'name': 'anonius'
|
||||||
},
|
},
|
||||||
'1230': {
|
'1230': {
|
||||||
'thread_num': '1230',
|
'thread_num': '1230',
|
||||||
'post_num': '1234',
|
'post_num': '1234',
|
||||||
'pic_link': '15906018690140.png',
|
'pic_links': ['15906018690140.png'],
|
||||||
'txt': '33333!',
|
'txt': '33333!',
|
||||||
'name': 'SIRNA'
|
'name': 'SIRNA'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user