|
|
@ -11,52 +11,31 @@ const EditRow = ({ row }) => { |
|
|
|
${openModal ? "opacity-90" : "opacity-0 pointer-events-none"}`}
|
|
|
|
${openModal ? "opacity-90" : "opacity-0 pointer-events-none"}`}
|
|
|
|
> |
|
|
|
> |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="absolute w-fit bg-white p-4 rounded flex flex-row items-center space-x-10" |
|
|
|
className="top-[10%] absolute w-fit bg-white p-4 rounded flex flex-row items-center space-x-10" |
|
|
|
style={{ top: "10%" }} |
|
|
|
|
|
|
|
onClick={(e) => e.stopPropagation()} |
|
|
|
onClick={(e) => e.stopPropagation()} |
|
|
|
> |
|
|
|
> |
|
|
|
<img src={row.original.filePic} alt="" className="w-20" /> |
|
|
|
<img src={row.original.filePic} alt="" className="w-20" /> |
|
|
|
<span |
|
|
|
<span |
|
|
|
role="textbox" |
|
|
|
role="textbox" |
|
|
|
style={{ |
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
|
|
|
color: "#00253A", |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
{row.original.fileName} |
|
|
|
{row.original.fileName} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
<span |
|
|
|
role="textbox" |
|
|
|
role="textbox" |
|
|
|
style={{ |
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
|
|
|
color: "#00253A", |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
{row.original.fileType} |
|
|
|
{row.original.fileType} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
<span |
|
|
|
role="textbox" |
|
|
|
role="textbox" |
|
|
|
style={{ |
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
|
|
|
color: "#00253A", |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
{row.original.fileSize} |
|
|
|
{row.original.fileSize} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span |
|
|
|
<span |
|
|
|
role="textbox" |
|
|
|
role="textbox" |
|
|
|
style={{ |
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
|
|
|
color: "#00253A", |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
{row.original.fileDate} |
|
|
|
{row.original.fileDate} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|