forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-31 16:24:31 -06:00
parent 6089b4e6cf
commit 915aa010f5
1 changed files with 18 additions and 16 deletions

View File

@ -31,21 +31,23 @@
{% block content %} {% block content %}
<div class="col-span-full my-4 px-2.5 md:px-0"> <div class="col-span-full my-4 px-2.5 md:px-0">
<table class="w-full table mb-5"> <div class="rounded shadow-inset-t-white-10 overflow-x-auto">
<thead class="bg-primary text-white"> <table class="w-full table mb-5">
<tr> <thead class="bg-primary text-white">
<th scope="col" class="p-2.5">Statistic</th> <tr>
<th scope="col" class="p-2.5">Value</th> <th scope="col" class="p-2.5">Statistic</th>
</tr> <th scope="col" class="p-2.5">Value</th>
</thead> </tr>
<tbody> </thead>
{% for entry in data %} <tbody>
<tr class="h-16 odd:bg-gray-300 dark:odd:bg-white/[.05] hover:bg-gray-400 dark:hover:bg-white/10"> {% for entry in data %}
<td class="px-2.5">{{entry}}</td> <tr class="h-16 odd:bg-gray-300 dark:odd:bg-white/[.05] hover:bg-gray-400 dark:hover:bg-white/10">
<td class="px-2.5 font-bold">{{data[entry]}}</td> <td class="px-2.5">{{entry}}</td>
</tr> <td class="px-2.5 font-bold">{{data[entry]}}</td>
{% endfor %} </tr>
</tbody> {% endfor %}
</table> </tbody>
</table>
</div>
</div> </div>
{% endblock %} {% endblock %}