generated from Luis/nextjs-python-web-template
Entities] DLG Resolution View Table
- DLG DID Resolution table implemented
This commit is contained in:
13
pkgs/ui/src/app/distributed-ledger-gateway/page.tsx
Normal file
13
pkgs/ui/src/app/distributed-ledger-gateway/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
"use client";
|
||||
|
||||
import {RecentActivity} from "@/components/dashboard/activity";
|
||||
import {DLGResolutionDummyData, DLGResolutionTableConfig} from "@/mock/dlg/attachmentData";
|
||||
|
||||
export default function DLG() {
|
||||
return (
|
||||
<div>
|
||||
<RecentActivity title={"DID Resolution"} data={DLGResolutionDummyData}
|
||||
configuration={DLGResolutionTableConfig}/><br/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
34
pkgs/ui/src/mock/dlg/attachmentData.tsx
Normal file
34
pkgs/ui/src/mock/dlg/attachmentData.tsx
Normal file
@@ -0,0 +1,34 @@
|
||||
export const DLGResolutionDummyData = [
|
||||
{
|
||||
"requester_name": "C1",
|
||||
"requester_DID": "did:sov:test:1234",
|
||||
"DID_resolved": "did:sov:test:1234",
|
||||
"timestamp": "2023.11.01 17:05:45",
|
||||
},
|
||||
{
|
||||
"requester_name": "C2",
|
||||
"requester_DID": "did:sov:test:5678",
|
||||
"DID_resolved": "did:sov:test:5678",
|
||||
"timestamp": "2023.12.01 15:05:50",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
export const DLGResolutionTableConfig = [
|
||||
{
|
||||
key: "requester_name",
|
||||
label: "Requester name"
|
||||
},
|
||||
{
|
||||
key: "requester_DID",
|
||||
label: "Requester DID"
|
||||
},
|
||||
{
|
||||
key: "DID_resolved",
|
||||
label: "DID resolved"
|
||||
},
|
||||
{
|
||||
key: "timestamp",
|
||||
label: "Timestamp"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user