17 lines
649 B
HTML
17 lines
649 B
HTML
<tr class="odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 border-b [&_a]:underline [&_a]:underline-offset-4 [&_a]:decoration-2">
|
|
{% if slot %}
|
|
{{ slot }}
|
|
{% else %}
|
|
{% for td in data %}
|
|
{% if forloop.first %}
|
|
<th scope="row"
|
|
class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">{{ td }}</th>
|
|
{% else %}
|
|
<c-table-td>
|
|
{{ td }}
|
|
</c-table-td>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</tr>
|