mirror of
https://github.com/CoolnsX/my-website.git
synced 2025-12-20 15:25:19 +05:30
Feat:New blog weeb unlocked and new page anime
This commit is contained in:
20
templates/shortcodes/table.html
Normal file
20
templates/shortcodes/table.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="relative overflow-x-auto shadow-md sm:rounded-lg my-8">
|
||||
<table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400">
|
||||
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400">
|
||||
<tr>
|
||||
{% for head in heading %}
|
||||
<th scope="col" class="px-6 py-3">{{ head }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for row in rows %}
|
||||
<tr class="odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 border-b dark:border-gray-700 border-gray-200">
|
||||
{% for item in row %}
|
||||
<td class="px-6 py-4">{{ item }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user