You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailwind-ai/application_ui/lists/tables/with_hidden_headings.html

327 lines
18 KiB
HTML

<div>
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<h2
class="mx-auto max-w-2xl text-base font-semibold text-gray-900 lg:mx-0 lg:max-w-none"
>
Recent activity
</h2>
</div>
<div class="mt-6 overflow-hidden border-t border-gray-100">
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div class="mx-auto max-w-2xl lg:mx-0 lg:max-w-none">
<table class="w-full text-left">
<thead class="sr-only">
<tr>
<th>Amount</th>
<th class="hidden sm:table-cell">Client</th>
<th>More details</th>
</tr>
</thead>
<tbody>
<tr class="text-sm/6 text-gray-900">
<th
scope="colgroup"
colspan="3"
class="relative isolate py-2 font-semibold"
>
<time datetime="2023-03-22">Today</time>
<div
class="absolute inset-y-0 right-full -z-10 w-screen border-b border-gray-200 bg-gray-50"
></div>
<div
class="absolute inset-y-0 left-0 -z-10 w-screen border-b border-gray-200 bg-gray-50"
></div>
</th>
</tr>
<tr>
<td class="relative py-5 pr-6">
<div class="flex gap-x-6">
<svg
viewBox="0 0 20 20"
fill="currentColor"
data-slot="icon"
aria-hidden="true"
class="hidden h-6 w-5 flex-none text-gray-400 sm:block"
>
<path
d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z"
clip-rule="evenodd"
fill-rule="evenodd"
/>
</svg>
<div class="flex-auto">
<div class="flex items-start gap-x-3">
<div
class="text-sm/6 font-medium text-gray-900"
>
$7,600.00 USD
</div>
<div
class="rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 ring-1 ring-green-600/20 ring-inset"
>
Paid
</div>
</div>
<div
class="mt-1 text-xs/5 text-gray-500"
>
$500.00 tax
</div>
</div>
</div>
<div
class="absolute right-full bottom-0 h-px w-screen bg-gray-100"
></div>
<div
class="absolute bottom-0 left-0 h-px w-screen bg-gray-100"
></div>
</td>
<td class="hidden py-5 pr-6 sm:table-cell">
<div class="text-sm/6 text-gray-900">
Reform
</div>
<div class="mt-1 text-xs/5 text-gray-500">
Website redesign
</div>
</td>
<td class="py-5 text-right">
<div class="flex justify-end">
<a
href="#"
class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500"
>View<span class="hidden sm:inline">
transaction</span
><span class="sr-only"
>, invoice #00012, Reform</span
></a
>
</div>
<div class="mt-1 text-xs/5 text-gray-500">
Invoice
<span class="text-gray-900">#00012</span>
</div>
</td>
</tr>
<tr>
<td class="relative py-5 pr-6">
<div class="flex gap-x-6">
<svg
viewBox="0 0 20 20"
fill="currentColor"
data-slot="icon"
aria-hidden="true"
class="hidden h-6 w-5 flex-none text-gray-400 sm:block"
>
<path
d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z"
clip-rule="evenodd"
fill-rule="evenodd"
/>
</svg>
<div class="flex-auto">
<div class="flex items-start gap-x-3">
<div
class="text-sm/6 font-medium text-gray-900"
>
$10,000.00 USD
</div>
<div
class="rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-500/10 ring-inset"
>
Withdraw
</div>
</div>
</div>
</div>
<div
class="absolute right-full bottom-0 h-px w-screen bg-gray-100"
></div>
<div
class="absolute bottom-0 left-0 h-px w-screen bg-gray-100"
></div>
</td>
<td class="hidden py-5 pr-6 sm:table-cell">
<div class="text-sm/6 text-gray-900">
Tom Cook
</div>
<div class="mt-1 text-xs/5 text-gray-500">
Salary
</div>
</td>
<td class="py-5 text-right">
<div class="flex justify-end">
<a
href="#"
class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500"
>View<span class="hidden sm:inline">
transaction</span
><span class="sr-only"
>, invoice #00011, Tom Cook</span
></a
>
</div>
<div class="mt-1 text-xs/5 text-gray-500">
Invoice
<span class="text-gray-900">#00011</span>
</div>
</td>
</tr>
<tr>
<td class="relative py-5 pr-6">
<div class="flex gap-x-6">
<svg
viewBox="0 0 20 20"
fill="currentColor"
data-slot="icon"
aria-hidden="true"
class="hidden h-6 w-5 flex-none text-gray-400 sm:block"
>
<path
d="M15.312 11.424a5.5 5.5 0 0 1-9.201 2.466l-.312-.311h2.433a.75.75 0 0 0 0-1.5H3.989a.75.75 0 0 0-.75.75v4.242a.75.75 0 0 0 1.5 0v-2.43l.31.31a7 7 0 0 0 11.712-3.138.75.75 0 0 0-1.449-.39Zm1.23-3.723a.75.75 0 0 0 .219-.53V2.929a.75.75 0 0 0-1.5 0V5.36l-.31-.31A7 7 0 0 0 3.239 8.188a.75.75 0 1 0 1.448.389A5.5 5.5 0 0 1 13.89 6.11l.311.31h-2.432a.75.75 0 0 0 0 1.5h4.243a.75.75 0 0 0 .53-.219Z"
clip-rule="evenodd"
fill-rule="evenodd"
/>
</svg>
<div class="flex-auto">
<div class="flex items-start gap-x-3">
<div
class="text-sm/6 font-medium text-gray-900"
>
$2,000.00 USD
</div>
<div
class="rounded-md bg-red-50 px-2 py-1 text-xs font-medium text-red-700 ring-1 ring-red-600/10 ring-inset"
>
Overdue
</div>
</div>
<div
class="mt-1 text-xs/5 text-gray-500"
>
$130.00 tax
</div>
</div>
</div>
<div
class="absolute right-full bottom-0 h-px w-screen bg-gray-100"
></div>
<div
class="absolute bottom-0 left-0 h-px w-screen bg-gray-100"
></div>
</td>
<td class="hidden py-5 pr-6 sm:table-cell">
<div class="text-sm/6 text-gray-900">Tuple</div>
<div class="mt-1 text-xs/5 text-gray-500">
Logo design
</div>
</td>
<td class="py-5 text-right">
<div class="flex justify-end">
<a
href="#"
class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500"
>View<span class="hidden sm:inline">
transaction</span
><span class="sr-only"
>, invoice #00009, Tuple</span
></a
>
</div>
<div class="mt-1 text-xs/5 text-gray-500">
Invoice
<span class="text-gray-900">#00009</span>
</div>
</td>
</tr>
<tr class="text-sm/6 text-gray-900">
<th
scope="colgroup"
colspan="3"
class="relative isolate py-2 font-semibold"
>
<time datetime="2023-03-21">Yesterday</time>
<div
class="absolute inset-y-0 right-full -z-10 w-screen border-b border-gray-200 bg-gray-50"
></div>
<div
class="absolute inset-y-0 left-0 -z-10 w-screen border-b border-gray-200 bg-gray-50"
></div>
</th>
</tr>
<tr>
<td class="relative py-5 pr-6">
<div class="flex gap-x-6">
<svg
viewBox="0 0 20 20"
fill="currentColor"
data-slot="icon"
aria-hidden="true"
class="hidden h-6 w-5 flex-none text-gray-400 sm:block"
>
<path
d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z"
clip-rule="evenodd"
fill-rule="evenodd"
/>
</svg>
<div class="flex-auto">
<div class="flex items-start gap-x-3">
<div
class="text-sm/6 font-medium text-gray-900"
>
$14,000.00 USD
</div>
<div
class="rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 ring-1 ring-green-600/20 ring-inset"
>
Paid
</div>
</div>
<div
class="mt-1 text-xs/5 text-gray-500"
>
$900.00 tax
</div>
</div>
</div>
<div
class="absolute right-full bottom-0 h-px w-screen bg-gray-100"
></div>
<div
class="absolute bottom-0 left-0 h-px w-screen bg-gray-100"
></div>
</td>
<td class="hidden py-5 pr-6 sm:table-cell">
<div class="text-sm/6 text-gray-900">
SavvyCal
</div>
<div class="mt-1 text-xs/5 text-gray-500">
Website redesign
</div>
</td>
<td class="py-5 text-right">
<div class="flex justify-end">
<a
href="#"
class="text-sm/6 font-medium text-indigo-600 hover:text-indigo-500"
>View<span class="hidden sm:inline">
transaction</span
><span class="sr-only"
>, invoice #00010, SavvyCal</span
></a
>
</div>
<div class="mt-1 text-xs/5 text-gray-500">
Invoice
<span class="text-gray-900">#00010</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>