striped tabled

This commit is contained in:
Philipp Dormann 2023-04-26 22:51:57 +02:00
parent 46d076af9d
commit 5e82638f35
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
15 changed files with 24 additions and 24 deletions

View File

@ -265,7 +265,7 @@
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<thead class="border-b border-gray-400">
{#each $table.getHeaderGroups() as headerGroup}
<tr class="select-none">
<th class="inset-y-0 left-0 px-4 py-2 text-left w-px">
@ -284,7 +284,7 @@
</thead>
<tbody>
{#each $table.getRowModel().rows as row}
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td class="inset-y-0 left-0 px-4 py-2 text-center w-px">
<InputElement
type="checkbox"

View File

@ -39,7 +39,7 @@
>
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"

View File

@ -233,7 +233,7 @@
class="shadow border-b border-gray-200 sm:rounded-lg overflow-x-scroll"
>
<table class="w-full">
<thead>
<thead class="border-b border-gray-400">
{#each $table.getHeaderGroups() as headerGroup}
<tr class="select-none">
<th class="inset-y-0 left-0 px-4 py-2 text-left w-px">
@ -252,7 +252,7 @@
</thead>
<tbody>
{#each $table.getRowModel().rows as row}
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td class="inset-y-0 left-0 px-4 py-2 text-center w-px">
<InputElement
type="checkbox"

View File

@ -207,7 +207,7 @@
class="shadow border-b border-gray-200 sm:rounded-lg overflow-x-scroll"
>
<table class="w-full">
<thead>
<thead class="border-b border-gray-400">
{#each $table.getHeaderGroups() as headerGroup}
<tr class="select-none">
<th class="inset-y-0 left-0 px-4 py-2 text-left w-px">
@ -226,7 +226,7 @@
</thead>
<tbody>
{#each $table.getRowModel().rows as row}
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td class="inset-y-0 left-0 px-4 py-2 text-center w-px">
<InputElement
type="checkbox"

View File

@ -131,8 +131,8 @@
<p class="text-center w-full">{$_("licenses-are-being-loaded")}</p>
{:then}
<table>
<thead>
<tr>
<thead class="border-b border-gray-400">
<tr class="odd:bg-white even:bg-gray-100">
<th>{$_("dependency_name")}</th>
<th>{$_("license")}</th>
<th>{$_("repo_link")}</th>
@ -142,7 +142,7 @@
</thead>
<tbody>
{#each licenses as l}
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td>{l.name}</td>
<td>
{l.license || "?"}<br /><span

View File

@ -38,7 +38,7 @@
>
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"

View File

@ -73,7 +73,7 @@
>
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"

View File

@ -7,7 +7,7 @@
>
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
@ -38,7 +38,7 @@
</tr>
</thead>
<tbody class="divide-y divide-gray-200">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">

View File

@ -315,7 +315,7 @@
<div class="w-full overflow-x-auto">
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
@ -350,7 +350,7 @@
.toString()
.toLowerCase()
.includes(searchvalue)}
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td class="px-6 py-4 whitespace-nowrap">
{runner[`${$_("csv_import__firstname")}`]}
</td>

View File

@ -213,7 +213,7 @@
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<thead class="border-b border-gray-400">
{#each $table.getHeaderGroups() as headerGroup}
<tr class="select-none">
<th class="inset-y-0 left-0 px-4 py-2 text-left w-px">
@ -232,7 +232,7 @@
</thead>
<tbody>
{#each $table.getRowModel().rows as row}
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td class="inset-y-0 left-0 px-4 py-2 text-center w-px">
<InputElement
type="checkbox"

View File

@ -253,7 +253,7 @@
{/if}
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<thead class="border-b border-gray-400">
{#each $table.getHeaderGroups() as headerGroup}
<tr class="select-none">
<th class="inset-y-0 left-0 px-4 py-2 text-left w-px">
@ -272,7 +272,7 @@
</thead>
<tbody>
{#each $table.getRowModel().rows as row}
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<td class="inset-y-0 left-0 px-4 py-2 text-center w-px">
<InputElement
type="checkbox"

View File

@ -50,7 +50,7 @@
>
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"

View File

@ -50,7 +50,7 @@
>
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"

View File

@ -72,7 +72,7 @@
>
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"

View File

@ -55,7 +55,7 @@
>
<table class="divide-y divide-gray-200 w-full">
<thead class="bg-gray-50">
<tr>
<tr class="odd:bg-white even:bg-gray-100">
<th
scope="col"
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"