|
|
@ -97,7 +97,7 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
<span className="text-sm mr-2">چک لیست ها</span> |
|
|
|
<span className="text-sm mr-2">چک لیست ها</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* progress bar */} |
|
|
|
{/* progress bar */} |
|
|
|
<div className="flex flex-row items-center mt-3"> |
|
|
|
<div className="flex flex-row items-center my-3"> |
|
|
|
<div className="bg-[#DBDBDB77] h-2 w-full rounded"> |
|
|
|
<div className="bg-[#DBDBDB77] h-2 w-full rounded"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="bg-[#06BACE] h-2 rounded transition delay-150" |
|
|
|
className="bg-[#06BACE] h-2 rounded transition delay-150" |
|
|
@ -116,22 +116,24 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
borderClassname={`border-2 border-[#06BACE] `} |
|
|
|
borderClassname={`border-2 border-[#06BACE] `} |
|
|
|
inputClassname={`px-4 py-2 text-[#0F0543] focus:bg-white`} |
|
|
|
inputClassname={`px-4 py-2 text-[#0F0543] focus:bg-white`} |
|
|
|
activePlaceholderClass={"text-[#06BACE] bg-white"} |
|
|
|
activePlaceholderClass={"text-[#06BACE] bg-white"} |
|
|
|
/>{" "} |
|
|
|
/> |
|
|
|
{selectedChecklist.slice(0, 3).map((item, index) => ( |
|
|
|
<div className="mt-3"> |
|
|
|
<div key={index} className=""> |
|
|
|
{selectedChecklist.slice(0, 3).map((item, index) => ( |
|
|
|
<input |
|
|
|
<div key={index} className=""> |
|
|
|
disabled={checklist >= 100} |
|
|
|
<input |
|
|
|
type="checkbox" |
|
|
|
disabled={checklist >= 100} |
|
|
|
className="form-checkbox text-blue-500" |
|
|
|
type="checkbox" |
|
|
|
onClick={(e) => |
|
|
|
className="form-checkbox text-blue-500" |
|
|
|
e.target.checked |
|
|
|
onClick={(e) => |
|
|
|
? setChecklist(checklist + 10) |
|
|
|
e.target.checked |
|
|
|
: setChecklist(checklist - 10) |
|
|
|
? setChecklist(checklist + 10) |
|
|
|
} |
|
|
|
: setChecklist(checklist - 10) |
|
|
|
/> |
|
|
|
} |
|
|
|
<span className="text-sm mr-2">{item.title}</span> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<span className="text-sm mr-2">{item.title}</span> |
|
|
|
))} |
|
|
|
</div> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* left */} |
|
|
|
{/* left */} |
|
|
@ -169,10 +171,13 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* divider */} |
|
|
|
{/* divider */} |
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5 w-full"></div> |
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5 w-full"></div> |
|
|
|
<span className="text-xs text-[#B3B3B3] mb-3 text-light "> |
|
|
|
<TitleSubtitle |
|
|
|
پیوست ها |
|
|
|
title={false} |
|
|
|
</span> |
|
|
|
subTitle={"پیوست ها"} |
|
|
|
<div className="relative flex flex-row items-center justify-around border-2 border-dashed border-[#65A9FF] w-full p-4 rounded-md"> |
|
|
|
subtitleBorderClassName={""} |
|
|
|
|
|
|
|
subtitleClassName={"text-[#B3B3B3]"} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<div className="mt-3 relative flex flex-row items-center justify-around border-2 border-dashed border-[#65A9FF] w-full p-4 rounded-md"> |
|
|
|
<img src={documentCloud} alt="" /> |
|
|
|
<img src={documentCloud} alt="" /> |
|
|
|
<input |
|
|
|
<input |
|
|
|
type="file" |
|
|
|
type="file" |
|
|
@ -186,8 +191,6 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* divider */} |
|
|
|
|
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5 w-full"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|