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:
parent
d23d1526e8
commit
409f571955
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user