1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +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"> <div class="box-wrap">
<fieldset> <fieldset>
<legend>Boards</legend> <legend>Boards</legend>
<ul> <ul style="columns: 2;">
{% for board in boards %} {% for board in boards %}
<li class="boardlinksurl"> <li class="boardlinksurl">
<a href="{{ config.board_path|sprintf(board.uri) }}"> <a href="{{ config.board_path|sprintf(board.uri) }}">
@ -34,17 +34,28 @@
</ul> </ul>
</fieldset> </fieldset>
<br> <br>
<div class="mainBox"> {% if settings.description or settings.imageofnow or settings.quoteofnow or settings.videoofnow %}
<br> <div class="mainBox">
<div class="description">{{ settings.description }}</div> <br>
<br> {% if settings.description %}
<img class="imageofnow" src="{{ settings.imageofnow }}"> <div class="description">{{ settings.description }}</div>
<br> <br>
<div class="quoteofnow">{{ settings.quoteofnow }}</div> {% endif %}
<br> {% if settings.imageofnow %}
<iframe class ="videoofnow" width="560" height="315" src="{{ settings.videoofnow }}"></iframe> <img class="imageofnow" src="{{ settings.imageofnow }}">
<br> <br>
</div> {% 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"> <div class="ban">
{% if news|length == 0 %} {% if news|length == 0 %}
<p style="text-align:center" class="unimportant">(No news to show.)</p> <p style="text-align:center" class="unimportant">(No news to show.)</p>