put playlist on mobile

master
Aevann 2024-04-18 20:44:58 +02:00
parent cf5eb36933
commit c4e4ff984a
1 changed files with 31 additions and 29 deletions

View File

@ -513,37 +513,12 @@
</ul>
{% endif %}
<div class="mx-2 pb-5">
<div class="mx-2">
<h5 class="mt-3 mb-1">Users Online (<span class="chat-count"></span>)</h5>
<div id="online3" class="col text-left d-lg-none bg-white mb-4 pb-2" style="max-width:300px"></div>
{% if (orgies)|length > 1 %}
<h5>Orgy Playlist</h5>
<table class="mt-3">
<thead>
<tr>
<th>Title</th>
<th>Starts on</th>
<th>Ends on</th>
</tr>
</thead>
{% for orgy in orgies %}
<tr>
<td>{{orgy.title}}</td>
{% if orgy.started %}
<td>Started</td>
{% else %}
<td data-time="{{orgy.start_utc}}"></td>
{% endif %}
<td {% if orgy.end_utc %}data-time="{{orgy.end_utc}}"{% endif %}></td>
</tr>
{% endfor %}
</table>
{% endif %}
</div>
<br><br><br><br><br><br><br><br>
{% elif request.path.startswith('/chat/') %}
<div class="mx-2 pb-5">
<div class="mx-2">
<h5 class="mt-3 mb-1">Members ({{sorted_memberships|length}})</h5>
<ul class="col text-left d-lg-none bg-white mb-4 pb-2" style="max-width:300px;list-style-type:none">
{% for membership in sorted_memberships %}
@ -570,14 +545,41 @@
{% endfor %}
</ul>
</div>
<br><br><br><br><br><br><br><br>
{% elif has_sidebar %}
{% include "sidebar_" ~ SITE_NAME ~ ".html" %}
{% if SITE_NAME == 'WPD' %}
<script defer src="{{'js/deaths_today.js' | asset}}"></script>
{% endif %}
{% endif %}
{% if request.path.startswith('/chat/') %}
{% if (orgies)|length > 1 %}
<div class="mx-2 pt-2">
<h5>Orgy Playlist</h5>
<table class="mt-3">
<thead>
<tr>
<th>Title</th>
<th>Starts on</th>
<th>Ends on</th>
</tr>
</thead>
{% for orgy in orgies %}
<tr>
<td>{{orgy.title}}</td>
{% if orgy.started %}
<td>Started</td>
{% else %}
<td data-time="{{orgy.start_utc}}"></td>
{% endif %}
<td {% if orgy.end_utc %}data-time="{{orgy.end_utc}}"{% endif %}></td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
{% endif %}
</li>
</ul>
</div>