Skip to content

Commit

Permalink
Reordered table columns
Browse files Browse the repository at this point in the history
  • Loading branch information
daku-de committed Jul 16, 2024
1 parent 52647f8 commit e94fbb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/frontend/app/dashboard/download/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ const DownloadPage: React.FC = () => {
<tbody className="bg-white divide-y divide-gray-200">
{catalogItems.map((item) => (
<tr key={item.id}>
<td className="px-6 py-4 text-sm font-medium text-gray-900 break-words">{item.name}</td>
<td className="px-6 py-4 text-sm text-gray-900 break-words">{item.title}</td>
<td className="px-6 py-4 text-sm font-medium text-gray-500 break-words">{item.name}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.size}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.title}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.date}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.author}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.contenttype}</td>
Expand Down Expand Up @@ -188,9 +188,9 @@ const DownloadPage: React.FC = () => {
<tbody className="bg-white divide-y divide-gray-200">
{negotiatedContracts.map((item) => (
<tr key={item.id}>
<td className="px-6 py-4 text-sm font-medium text-gray-900 break-words">{item.fileName}</td>
<td className="px-6 py-4 text-sm text-gray-900 break-words">{item.title}</td>
<td className="px-6 py-4 text-sm font-medium text-gray-500 break-words">{item.fileName}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.fileSize}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.title}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.date}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.author}</td>
<td className="px-6 py-4 text-sm text-gray-500">{item.contenttype}</td>
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/app/dashboard/upload/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ const UploadPage: React.FC = () => {
const policy = getPolicyFromContract("contract-" + file.id);
return (
<tr key={file.id}>
<td className="px-6 py-4 text-sm font-medium text-gray-900 break-words">{file.name}</td>
<td className="px-6 py-4 text-sm text-gray-900 break-words">{file.title}</td>
<td className="px-6 py-4 text-sm font-medium text-gray-500 break-words">{file.name}</td>
<td className="px-6 py-4 text-sm text-gray-500">{file.size}</td>
<td className="px-6 py-4 text-sm text-gray-500">{file.title}</td>
<td className="px-6 py-4 text-sm text-gray-500">{file.date}</td>
<td className="px-6 py-4 text-sm text-gray-500">{file.author}</td>
<td className="px-6 py-4 text-sm text-gray-500">{file.contenttype}</td>
Expand Down

0 comments on commit e94fbb4

Please sign in to comment.