wip 9
This commit is contained in:
@@ -14,22 +14,22 @@ export default function AdminImportResultsPage() {
|
||||
<div className="overflow-x-auto">
|
||||
<div className="inline-block min-w-full overflow-hidden rounded shadow">
|
||||
<table
|
||||
className="min-w-full leading-normal bg-white dark:bg-gray-700 text-sm"
|
||||
className="min-w-full bg-white text-sm leading-normal dark:bg-gray-700"
|
||||
>
|
||||
<thead className="text-gray-800 dark:text-gray-400">
|
||||
<tr>
|
||||
<th
|
||||
className="p-3 font-normal text-left uppercase border-b border-gray-200 dark:border-gray-800"
|
||||
className="border-b border-gray-200 p-3 text-left font-normal uppercase dark:border-gray-800"
|
||||
>
|
||||
Document
|
||||
</th>
|
||||
<th
|
||||
className="p-3 font-normal text-left uppercase border-b border-gray-200 dark:border-gray-800"
|
||||
className="border-b border-gray-200 p-3 text-left font-normal uppercase dark:border-gray-800"
|
||||
>
|
||||
Status
|
||||
</th>
|
||||
<th
|
||||
className="p-3 font-normal text-left uppercase border-b border-gray-200 dark:border-gray-800"
|
||||
className="border-b border-gray-200 p-3 text-left font-normal uppercase dark:border-gray-800"
|
||||
>
|
||||
Error
|
||||
</th>
|
||||
@@ -38,13 +38,13 @@ export default function AdminImportResultsPage() {
|
||||
<tbody className="text-black dark:text-white">
|
||||
{results.length === 0 ? (
|
||||
<tr>
|
||||
<td className="text-center p-3" colSpan={3}>No Results</td>
|
||||
<td className="p-3 text-center" colSpan={3}>No Results</td>
|
||||
</tr>
|
||||
) : (
|
||||
results.map((result: ImportResult, index: number) => (
|
||||
<tr key={index}>
|
||||
<td
|
||||
className="p-3 border-b border-gray-200 grid"
|
||||
className="grid border-b border-gray-200 p-3"
|
||||
style={{ gridTemplateColumns: '4rem auto' }}
|
||||
>
|
||||
<span className="text-gray-800 dark:text-gray-400">Name:</span>
|
||||
@@ -56,10 +56,10 @@ export default function AdminImportResultsPage() {
|
||||
<span className="text-gray-800 dark:text-gray-400">File:</span>
|
||||
<span>{result.path}</span>
|
||||
</td>
|
||||
<td className="p-3 border-b border-gray-200">
|
||||
<td className="border-b border-gray-200 p-3">
|
||||
<p>{result.status}</p>
|
||||
</td>
|
||||
<td className="p-3 border-b border-gray-200">
|
||||
<td className="border-b border-gray-200 p-3">
|
||||
<p>{result.error || ''}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user