1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-13 18:40:49 +01:00

switch to columns of two. Make it optional for a video and other things.

This commit is contained in:
Lorenzo Yario 2024-07-14 04:21:21 -07:00 committed by GitHub
parent d23d1526e8
commit 409f571955
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@
<div class="box-wrap">
<fieldset>
<legend>Boards</legend>
<ul>
<ul style="columns: 2;">
{% for board in boards %}
<li class="boardlinksurl">
<a href="{{ config.board_path|sprintf(board.uri) }}">
@ -34,17 +34,28 @@
</ul>
</fieldset>
<br>
<div class="mainBox">
<br>
<div class="description">{{ settings.description }}</div>
<br>
<img class="imageofnow" src="{{ settings.imageofnow }}">
<br>
<div class="quoteofnow">{{ settings.quoteofnow }}</div>
<br>
<iframe class ="videoofnow" width="560" height="315" src="{{ settings.videoofnow }}"></iframe>
<br>
</div>
{% if settings.description or settings.imageofnow or settings.quoteofnow or settings.videoofnow %}
<div class="mainBox">
<br>
{% if settings.description %}
<div class="description">{{ settings.description }}</div>
<br>
{% endif %}
{% if settings.imageofnow %}
<img class="imageofnow" src="{{ settings.imageofnow }}">
<br>
{% endif %}
{% if settings.quoteofnow %}
<div class="quoteofnow">{{ settings.quoteofnow }}</div>
<br>
{% endif %}
{% if settings.videoofnow %}
<iframe class="videoofnow" width="560" height="315" src="{{ settings.videoofnow }}"></iframe>
<br>
{% endif %}
</div>
{% endif %}
<div class="ban">
{% if news|length == 0 %}
<p style="text-align:center" class="unimportant">(No news to show.)</p>