some structure
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-03 23:22:11 +10:00
parent 5ca30b21ef
commit caefb042cd
2 changed files with 5 additions and 9 deletions

View File

@ -13,7 +13,6 @@
<div class="boards"> <div class="boards">
<ul> <ul>
{% for board in boards %} {% for board in boards %}
<li><a href="/boards/{{board}}">/{{board}}</a></li> <li><a href="/boards/{{board}}">/{{board}}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -28,7 +27,11 @@
</tr> </tr>
</thead> </thead>
<tbody id="thread-results"> <tbody id="thread-results">
{% include 'thread.html' %} {% for thread in threads %}
<tr class="bg-white lg:hover:bg-gray-100 flex lg:table-row flex-row lg:flex-row flex-wrap lg:flex-no-wrap mb-10 lg:mb-0">
<td class="w-full lg:w-auto p-3 text-gray-800 text-center border border-b block lg:table-cell relative lg:static">{{thread}}</td>
</tr>
{% endfor %}
</tbody> </tbody>
</table> </table>

View File

@ -1,7 +0,0 @@
{% if threads|length>0 %}
{% for thread in threads %}
<tr class="bg-white lg:hover:bg-gray-100 flex lg:table-row flex-row lg:flex-row flex-wrap lg:flex-no-wrap mb-10 lg:mb-0">
<td class="w-full lg:w-auto p-3 text-gray-800 text-center border border-b block lg:table-cell relative lg:static">{{thread}}</td>
</tr>
{% endfor %}
{% endif %}