forked from rDrama/rDrama
1
0
Fork 0

add padding to /live

master
Aevann1 2022-09-22 20:35:25 +02:00
parent ce30fa4064
commit 40cd38d052
1 changed files with 31 additions and 29 deletions

View File

@ -13,35 +13,37 @@
border-radius: 4px; border-radius: 4px;
} }
</style> </style>
<h1 class="py-3"><i class="fas fa-circle mr-3" style="color:red"></i>Live</h1> <div class="px-2">
<div class="overflow-x-auto"> <h1 class="py-3"><i class="fas fa-circle mr-3" style="color:red"></i>Live</h1>
<table class="table table-striped mb-5"> <div class="overflow-x-auto">
<tbody> <table class="table table-striped mb-5">
{% for link, thumb, name, title, viewers in live %} <tbody>
<tr onclick="window.open('{{link}}', '_blank')"> {% for link, thumb, name, title, viewers in live %}
<td width="48"><img class="thumb" src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td> <tr onclick="window.open('{{link}}', '_blank')">
<td>{{name}}</td> <td width="48"><img class="thumb" src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td>
<td>{{title}}</td> <td>{{name}}</td>
<td>{{viewers}}</td> <td>{{title}}</td>
</tr> <td>{{viewers}}</td>
{% endfor %} </tr>
</tbody> {% endfor %}
</table> </tbody>
</div> </table>
</div>
<h1 class="py-3"><i class="fas fa-circle mr-3" style="color:gray"></i>Offline</h1> <h1 class="py-3"><i class="fas fa-circle mr-3" style="color:gray"></i>Offline</h1>
<div class="overflow-x-auto"> <div class="overflow-x-auto">
<table class="table table-striped mb-5"> <table class="table table-striped mb-5">
<tbody> <tbody>
{% for link, thumb, name in offline %} {% for link, thumb, name in offline %}
<tr onclick="window.open('{{link}}', '_blank')"> <tr onclick="window.open('{{link}}', '_blank')">
<td width="48"><img class="thumb" src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td> <td width="48"><img class="thumb" src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td>
<td>{{name}}</td> <td>{{name}}</td>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
</div> </div>
{% endblock %} {% endblock %}