Added links site table

This commit is contained in:
Nicolai Ort 2021-08-16 16:29:22 +02:00
parent a7e4a98b2b
commit d80986d60e
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 41 additions and 34 deletions

View File

@ -3,37 +3,44 @@
</script> </script>
<h2 class="text-3xl font-bold text-gray-800 dark:text-gray-100 pb-6">Manage all links</h2> <h2 class="text-3xl font-bold text-gray-800 dark:text-gray-100 pb-6">Manage all links</h2>
<div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> <div class="rounded-xl">
<Statscard title="Links created"> <table class="min-w-full divide-y divide-gray-200">
<svg <thead class="bg-gray-50 dark:bg-gray-900 text-gray-800 dark:text-gray-100">
xmlns="http://www.w3.org/2000/svg" <tr>
class="h-6 w-6" <th
fill="none" scope="col"
viewBox="0 0 24 24" class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider"
stroke="currentColor" >
> Shortcode
<path </th>
stroke-linecap="round" <th
stroke-linejoin="round" scope="col"
stroke-width="2" class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider"
d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1" >
/> Target
</svg> </th>
</Statscard> <th
<Statscard title="Visits"> scope="col"
<svg class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider"
xmlns="http://www.w3.org/2000/svg" >
class="h-6 w-6" Visits
fill="none" </th>
viewBox="0 0 24 24" <th scope="col" class="relative px-6 py-3">
stroke="currentColor" <span class="sr-only">Edit</span>
> </th>
<path </tr>
stroke-linecap="round" </thead>
stroke-linejoin="round" <tbody class="bg-white dark:bg-gray-700 divide-y divide-gray-200 dark:text-gray-100" x-max="1">
stroke-width="2" <tr>
d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 dark:text-gray-200"> TODO </td>
/> <td class="px-6 py-4 whitespace-nowrap text-sm">
</svg> <a href="https://sthsth">https://sthsth</a>
</Statscard> </td>
</div> <td class="px-6 py-4 whitespace-nowrap text-sm"> 69 </td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a href="#" class="text-indigo-600 dark:text-red-600 hover:text-indigo-900 dark:hover:text-red-900">Delete</a>
</td>
</tr>
</tbody>
</table>
</div>