Skip to content

Commit

Permalink
Fix packages and builder table
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Nov 16, 2024
1 parent 0d253f3 commit c99f8d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
16 changes: 2 additions & 14 deletions src/components/builder-table.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ type Package = {
id: number;
documentId: string;
package_name: string;
repository: string;
status_i686: string;
status_i686_version: string;
status_x86_64: string;
status_x86_64_version: string;
status_i686: string;
status_i686_version: string;
status_ARMv6h: string;
status_ARMv6h_version: string;
Status_ARMv7h: string;
Expand Down Expand Up @@ -67,11 +66,6 @@ let totalPackages = apiResponse.meta.pagination.total;
class="whitespace-nowrap py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-0"
>Package Name</th
>
<th
scope="col"
class="whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900"
>Repository</th
>
<th
scope="col"
class="whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900"
Expand Down Expand Up @@ -120,9 +114,6 @@ let totalPackages = apiResponse.meta.pagination.total;
</span>
</div>
</td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900 dark:text-gray-300">
{row.repository ?? ""}
</td>
<td class="whitespace-nowrap px-2 py-2 text-sm text-gray-900">
<a
href={row.log_link}
Expand Down Expand Up @@ -266,9 +257,6 @@ let totalPackages = apiResponse.meta.pagination.total;
</span>
</div>
</td>
<td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900 dark:text-gray-300">
${row.repository ?? ""}
</td>
<td class="whitespace-nowrap px-2 py-2 text-sm text-gray-900">
<a
href=${row.log_link}
Expand Down
12 changes: 0 additions & 12 deletions src/components/package-table.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ type Package = {
version: string;
category: string;
description: string;
repository: string;
createdAt: string;
updatedAt: string;
publishedAt: string;
Expand Down Expand Up @@ -67,11 +66,6 @@ let totalPackages = apiResponse.meta.pagination.total;
class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900 dark:text-gray-100"
>Description</th
>
<th
scope="col"
class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900 dark:text-gray-100"
>Repository</th
>
</tr>
</thead>
<tbody class="" id="dataRows">
Expand All @@ -90,9 +84,6 @@ let totalPackages = apiResponse.meta.pagination.total;
<td class="whitespace-wrap px-3 py-4 text-sm text-gray-500 dark:text-gray-300">
{p.description}
</td>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500 dark:text-gray-400">
{p.repository}
</td>
</tr>
))
}
Expand Down Expand Up @@ -153,9 +144,6 @@ let totalPackages = apiResponse.meta.pagination.total;
<td class="whitespace-wrap px-3 py-4 text-sm text-gray-500 dark:text-gray-300">
${p.description}
</td>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500 dark:text-gray-400">
${p.repository}
</td>
`;
dataRows.appendChild(tr);
});
Expand Down

0 comments on commit c99f8d3

Please sign in to comment.